curl --request POST \
--url https://api.sandbox.asapp.com/metadata-ingestion/v1/single-agent-metadata \
--header 'Content-Type: application/json' \
--header 'asapp-api-id: <api-key>' \
--header 'asapp-api-secret: <api-key>' \
--data '{
"externalAgentId": "agent158",
"startTs": "2022-07-08T11:15:53.237517000Z",
"lobId": "1038",
"lobName": "manufacturing",
"groupId": "group5",
"groupName": "XYZ",
"agentName": "Jane Doe",
"agentLocation": "Northern-California",
"supervisorId": "3080",
"supervisorName": "Linda Lemon",
"languages": [
"en-us",
"zh-hans-hk"
],
"concurrency": 3,
"categoryLabel": "Tier-2-Escalation",
"accountAccessLevel": "High-Profile",
"ranking": 78,
"vendor": "Contracting",
"jobTitle": "Booking-Manager",
"jobRole": "booking",
"workShift": "afternoon",
"emailAddress": "jdoe@example.com",
"attributes": [
{
"name": "attr1_name",
"value": "attr1_value"
},
{
"name": "attr2_name",
"value": "attr2_value"
}
]
}'