question

Upvotes
Accepted
3 0 0 4

How would I return the PE Code and PDP code when I am using the API Playground for RIC Data Discovery?

Hi - using standard API playground and would like to include PE and PDP codes in my search response


"View": "Quotes",

"Query": "Lithium Carbonate",

"Top": 10000,

"Skip": 0


First hit:

 "BusinessEntity": "QUOTExCOMMODITY",
      "DocumentTitle": "MBI Lithium carbonate 99.5% Li2CO3 min battery Grade Spot Price range EXW Domestic China, Commodity Spot, Metal Bulletin",
      "PermID": "21710735003",
      "PI": "385549167",
      "RIC": "MB-LI-0036"

Would like to also receive PE and PDP code


thanks
Jason

#contententitlementspe-codepdp-codes
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
87.1k 294 53 79

@jason.koulouras

Thanks for reaching out to us.

You can use this endpoint (/discovery/search/v1/metadata/views/{view}) to list the properties available in a specified view, along with the capabilities they support.

1683607905288.png


However, I can't find the PE code and PDP code in the list.

You can use the snapshot endpoint (/data/pricing/snapshots/v1/) to get the PROD_PERM field.

1683607835088.png

I hope that this information is of help.


1683607905288.png (51.9 KiB)
1683607835088.png (49.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 0 4

Thank you, most appreciated - this is helpful as we work through specialist data on commodities and energy - all the best, Jason

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.