- 07 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get active Offers
- Updated on 07 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get a list of all active Offers in C3
URL
GET https://contoso-prod-api.azurewebsites.net/api/ActiveOffers
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": "a98e8cc3-a3e0-439d-b4d4-b317c0d2fb92",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": [
{
"ProductName": "Dynamics 365 Customer Insights Attach (Nonprofit Staff Pricing)",
"ProviderOfferId": "8a0b610b-cf54-4188-980e-7492926b4c13",
"CategoryName": "OnlineServices",
"ProviderName": "Microsoft",
"BillingCycleName": "Monthly",
"CurrencyCode": "USD",
"PriceforPartner": 225.0000,
"ProviderSellingPrice": 250.0000,
"Validity": 1,
"ValidityType": "Year(s)",
"ProviderCategory": "Charity",
"ProductSKUId": "A3D0CD86-8068-4071-AD40-4DC5B5908C4B"
},
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:
|