cURL
curl --request GET \ --url https://api.sandbox.asapp.com/configuration/v1/structured-data-fields/{structuredDataFieldId} \ --header 'asapp-api-id: <api-key>' \ --header 'asapp-api-secret: <api-key>'
{ "id": "q_promotion_was_offered", "name": "Promotion was offered", "categoryId": "OUTCOME", "type": "QUESTION", "question": { "question": "Did the agent offer the correct promotion?" }, "active": true }
Get a specific structured data field specifying the id
Identifier of the structured data field
Successfully retrieved the structured data field.
The response is of type object.
object
Was this page helpful?