CommodityFullCode

 

The use of the double piped delimited CommodityFullCode in ITAS API has before now been limited to receiving them as a response in READ endpoints.  As of ITAS API v2.14 you can now use the CommodityFullCode in a uri

 

For the CommodityFullCode to work, a record has to exist in the database matching all the parts which make up your CommodityFullCode.  Below are some examples showing good and bad calls:

 

Database Records:

CommodityCodePart1 = "AA", CommodityCodePart2 = blank, CommodityCodePart3 = blank

CommodityCodePart1 = "AA", CommodityCodePart2 = "100", CommodityCodePart3 = "FAIRTR" 

 

Good Calls using the above database records would be:

- CommodityFullCode = AA

- CommodityFullCode = AA||100||FAIRTR

 

Bad Calls using the above database records would be:

- CommodityFullCode = AA||

- CommodityFullCode = AA||100

- CommodityFullCode = AA||100||FAIRTR||

- CommodityFullCode = AA||||FAIRTR

 

 

 


Was this helpful?
Thanks for your feedback

Recently viewed