1. Home
  2. ERPAG
  3. API Script
  4. Get Request for Quotation IDs

Get Request for Quotation IDs

By calling the URL endpoint with the GET method, this endpoint returns a list of all request for quotation IDs. If you want to get the ID of a specific request for quotation, you need to define the NUMBER parameter in the URL.

Examples:


1. Get all Request for quotation IDs (call URL https://api.erpag.com/requestquotations with GET method)

Result:


2. Get the ID for the Request for quotation whose NUMBER is RFQ-005231 (call URL https://api.erpag.com/requestquotations?number=RFQ-005231 with GET method)

Result:


Note: Access to this API endpoint is allowed only for selected API User account using the API key and API password in the request header with the key name “Authorization” and key value “Basic base64encoded(api_key:api_password)“, or URL parameters ApiKey and ApiSecret for example https://api.erpag.com/requestquotations?ApiKey=key_056a9spfg1qubg34e409ee233d&ApiSecret=sec_IKJ4Sc2G8jHfr3sHbxQwEfev-Az-1YaF

Blockly SCRIPT

URL parameter:numberrfq_numbernull= setrfq_numbertorfq_numberrfq_number =Is true OrNumberIsList of ID from Requests for quotationsWhereScope:AlldocumentsOrder by Numberascendingrfq_listResponseType:JSONCode:200 – OKsetrfq_listtoifdosetrfq_numberto

How can we help?