GET
/
configuration
/
v1
/
structured-data-fields
/
{structuredDataFieldId}
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
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Path Parameters

structuredDataFieldId
string
required

Identifier of the structured data field

Response

200
application/json

Successfully retrieved the structured data field.

The response is of type object.