curl --request GET \
--url https://prod01.copilot.fabric.inc/data-subscription/v1/cancellation-reasons \
--header 'Authorization: Bearer <token>'
{
"responseStatus": "OK",
"message": "Request processed successfully",
"data": [
{
"_id": "<string>",
"createdAt": "2021-10-12T21:35:05.756Z",
"updatedAt": "2021-10-14T05:40:55.997Z",
"code": 99,
"reason": "Customer is not happy"
}
]
}
Get all cancellation reasons
curl --request GET \
--url https://prod01.copilot.fabric.inc/data-subscription/v1/cancellation-reasons \
--header 'Authorization: Bearer <token>'
{
"responseStatus": "OK",
"message": "Request processed successfully",
"data": [
{
"_id": "<string>",
"createdAt": "2021-10-12T21:35:05.756Z",
"updatedAt": "2021-10-14T05:40:55.997Z",
"code": 99,
"reason": "Customer is not happy"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Request processed successfully
Cancellation reason details
Was this page helpful?