- 26 Oct 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Get active Offers
- Updated on 26 Oct 2024
- 2 Minutes 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": "e7c14348-5d4a-473f-91d5-27503c93923f",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": [
{
"ProductName": "Dynamics 365 Field Service (Non-Profit Pricing)",
"ProviderOfferId": "NL:CFQ7TTC0LFNL:0015:P1M:Monthly",
"CategoryName": "OnlineServicesNCE",
"ProviderName": "Microsoft",
"BillingCycleName": "Monthly",
"CurrencyCode": "EUR",
"PriceforPartner": 26.5700,
"ProviderSellingPrice": 29.5200,
"Validity": 1,
"ValidityType": "Month(s)",
"ProviderCategory": "nonprofit",
"ProductSKUId": "c7d15985-e746-4f01-b113-20b575898250",
"UniqueProviderOfferId": "NL:CFQ7TTC0LFNL:0015:P1M:Monthly:nonprofit",
"MinimumQuantity": 1,
"MaximumQuantity": 10000000,
"PromotionalId": "39NFJQT1VD5M:004H:39NFJQT1Q5PC",
"PromotionDescription": "16.67% discount on nonprofit MTM offers for new customers and new subscriptions for existing customers ",
"PromotionStartDate": "2024-03-18T00:00:00",
"PromotionEndDate": "2024-12-31T00:00:00",
"PromotionAutoApplicable": true,
"PromotionDiscountType": "PercentDiscount",
"PromotionDiscount": 16.6700,
"MarketCode": "NL",
"EffectiveStartDate": "2024-10-01T00:00:00",
"EffectiveEndDate": "9999-11-30T00:00:00",
"ChangeType": "CHG",
"IsLatest": true,
"IsTrialOffer": false
},
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:
|