1. Home
  2. ERPAG
  3. API Script
  4. Get Quotation

Get Quotation

By calling the URL endpoint with the GET method, this endpoint returns a quotation JSON object for the specific ID defined in the URL parameter.

Example:


Get the JSON object for the Quotation whose ID is E918L8AX3QUJS89C (call URL https://api.erpag.com/quotation?id=E918L8AX3QUJS89C 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/quotation?ApiKey=key_056a9spfg1qubg34e409ee233d&ApiSecret=sec_IKJ4Sc2G8jHfr3sHbxQwEfev-Az-1YaF

BLOCKLY SCRIPT

URL parameter:idJSON {}qt_idnull= setqt_idtoqt_id qt_idJSONQuotationQuotation JSON modelID:setqt_objecttoqt_objectResponseType:JSONCode:200 – OKifdoifdosetqt_objecttosetqt_idto

How can we help?