curl --request POST \
--url https://api-sandbox.synctera.com/v0/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"content": "Customer was frozen to investigate fraud.",
"metadata": {},
"related_resource_field": "/legal_address/city",
"related_resource_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"related_resource_type": "CUSTOMER",
"status": "RESOLVED",
"tenant": "abcdef_ghijkl",
"type": "NOTE"
}'
{
"author": "Jane Smith jane@example.com",
"content": "Customer was frozen to investigate fraud.",
"creation_time": "2010-05-06T12:23:34.321Z",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"last_updated_time": "2010-05-06T12:23:34.321Z",
"metadata": {},
"related_resource_field": "/legal_address/city",
"related_resource_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"related_resource_type": "CUSTOMER",
"status": "RESOLVED",
"tenant": "abcdef_ghijkl",
"type": "NOTE"
}
Create a note
curl --request POST \
--url https://api-sandbox.synctera.com/v0/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"content": "Customer was frozen to investigate fraud.",
"metadata": {},
"related_resource_field": "/legal_address/city",
"related_resource_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"related_resource_type": "CUSTOMER",
"status": "RESOLVED",
"tenant": "abcdef_ghijkl",
"type": "NOTE"
}'
{
"author": "Jane Smith jane@example.com",
"content": "Customer was frozen to investigate fraud.",
"creation_time": "2010-05-06T12:23:34.321Z",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"last_updated_time": "2010-05-06T12:23:34.321Z",
"metadata": {},
"related_resource_field": "/legal_address/city",
"related_resource_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"related_resource_type": "CUSTOMER",
"status": "RESOLVED",
"tenant": "abcdef_ghijkl",
"type": "NOTE"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
note to create
The body is of type object
.
Created note
The response is of type object
.
Was this page helpful?