Get active Offers
    • 07 Sep 2023
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Get active Offers

    • Dark
      Light
    • PDF

    Article Summary

    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:

    Attribute

    Description

    ProductName

    name of the product/offer

    ProviderOfferId

    offer id of the product;Syntax : Market : Product ID : SKU ID : Term Duration : Billing Plan

    CategoryName

    category of the product like Online Service/Azure Plan/New Commerce Experience/Perpetual

    ProviderName


    BillingCycleName

    billing cycle of the offer like monthly/annual/onetime

    CurrencyCode

    Currency of the offer

    PriceforPartner

    Cost to partner/List Price

    ProviderSellingPrice

    Retail price of the offer/ERP Price

    Validity

    validity of the offer

    ValidityType

    months/years

    ProviderCategory

    Category of the product like Corporate/Academic/Non-profit/educational/Commercial

    ProductSKUId

    Unique Identifier for an offer in MS


    Was this article helpful?