- 16 Jul 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get Product History
- Updated on 16 Jul 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get subscription history for products in last 90 days
URL
GET https://contoso-prod-api.azurewebsites.net/api/SubscriptionHistory/report
Request headers
Key | Value |
Authorization | Bearer <access_token> |
Content-Type | Application/json |
Request body
The request doesn’t require any parameters / body
Response body
An example response for the request to get active customers is as follows:
{
"OperationType": null,
"Status": "Success",
"RequestCorrelationID": "08deaa5f-b2b7-4087-a2bb-add8344e444e",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": [
{
"CustomerId": "656DF20A-3456-6788-BCCE-1D9D963E7979",
"CustomerName": "Contoso",
"TenantId": "1234F20A-3456-8765-BCCE-1D9D96F567899",
"EntityName": "Customer",
"LinkedTenantName": " Contoso ",
"ProductName": "Visio Plan 2",
"OldQuantity": 2,
"NewQuantity": 2,
"DateofChange": "2022-09-20T16:26:26.663",
"OldStatus": "Active",
"NewStatus": "Active",
"OldPrice": 15.0000,
"NewPrice": 15.0000,
"CreatedBy": "john.doe@contoso.com",
"OwnerName": " Contoso "
},
Here is the explanation for the properties in the response (JSON)
Property | Description | ||||||||||||||||||||||||||||||||
OperationType | Can be ignored | ||||||||||||||||||||||||||||||||
Status | Indicates the status of the request. Possible values – Success / Error | ||||||||||||||||||||||||||||||||
RequestCorrelationID | Internal ID generated by C3 for correspondence for troubleshooting issues, if any. | ||||||||||||||||||||||||||||||||
ErrorMessage | Message in case the request runs into an error during processing | ||||||||||||||||||||||||||||||||
ErrorDetail | Additional detail related to the error in case there is an error while processing the request | ||||||||||||||||||||||||||||||||
Data | Contains a list of customer objects represented by the following attributes:
|