November 2018
Intermediate to advanced
528 pages
13h 21m
English
When the buyer requests an LC from the issuing bank by signing the bank’s LC form, the letter's status is set to REQUEST_LC.
To check that, click on the BuyerRequestLC POST method and provide the following data:
{ "$class": "org.example.lc.BuyerRequestLC", "lc": "resource:org.example.lc.LetterOfCredit#LC-CA-501P10"}
Here, we pass two JSON variables, $class and lc. The former is the transaction function's name we defined in the model file—BuyerRequestLC appended to the file namespace org.example.lc—whereas the latter specifies the targeted resource with the following structure:
"resource:{model name space}.{asset}#{assetId}".
As you may remember, in the previous step, we set the LC assetid as LC-CA-501P10.
As a result, the Composer ...
Read now
Unlock full access