Get active Plan Offer Details
    • 16 Jul 2023
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Get active Plan Offer Details

    • Dark
      Light
    • PDF

    Article Summary

    Get list of offers inside a Plan

    URL

    GET https://contoso-prod-api.azurewebsites.net/api/plans/{{InternalPlanId}}/downloadplanoffersDetails

    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": "b8080e2f-3376-4408-847c-c8354634d190",
    
        "ErrorMessage": null,
    
        "ErrorDetail": null,
    
        "Data": [
    
            {
    
                "PlanName": "Nonprofit - Legacy Licensing - Discount 00.0%",
    
                "ProviderName": "Microsoft",
    
                "FriendlyOfferName": "Dynamics 365 Customer Insights Attach (Nonprofit Staff Pricing)",
    
                "OfferName": "Dynamics 365 Customer Insights Attach (Nonprofit Staff Pricing)",
    
                "Description": "Subscription that includes Dynamics 365 Customer Insights Attach",
    
                "ConsumptionType": "Quantity",
    
                "ProviderSettings": "{\"ProviderCategory\" :\"Charity\", \"MinimumQuantity\" : 1,\"MaximumQuantity\" : 10000000,\"IsTrail\" : \"FALSE\",\"HasAddOns\" : \"TRUE\",\"Limit\" : 0,\"LimitUnitOfMeasure\" :\"None\",\"IsAutoRenewable\" : \"TRUE\",\"IsAvailableForPurchase\" : \"TRUE\"}",
    
                "Settings": "{\"IsAddon\" : \"false\"}",
    
                "BillingCycle": "Monthly",
    
                "CurrencyCode": "USD",
    
                "CurrencySymbol": "$",
    
                "PriceforPartner": 225.0000,
    
                "RetailPrice": 250.000000000000,
    
                "SalePrice": 250.0000,
    
                "categoryname": "OnlineServices",
    
                "providerreferenceid": "8a0b610b-cf54-4188-980e-7492926b4c13",
    
                "isimmediateprovisioning": true,
    
                "onpurchasebillingaction": “Prorate”,
    
                "onreleasebillingaction": “Prorate”,
    
                "isactive": true,
    
                "isaddon": false,
    
                "billingtypename": "Price",
    
                "validity": “1 Year(s)”1,
    
                "macrovalue": 0.0000,
    
                "macroname": "Apply X% on Provider Selling Price",
    
                "Lastpricechangehappenedon": null
    
            },

    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

    PlanName

    Name of plan defined in C3

    ProviderName

    Microsoft or Partner

    FriendlyOfferName

    Friendly name defined inside plan for an offer which is visible on customer side

    OfferName

    Name of offer defined inside the plan coming from MS price list

    Description

    Description of the offer

    ConsumptionType

    Quantity or Usage

    ProviderSettings

    Offer’s attributes inherited from MS price list

    Settings

    Offer’s attributes

    BillingCycle

    Monthly/Annual/One-time

    CurrencyCode

    Invoice currency

    PriceforPartner

    Cost to partner for an offer

    RetailPrice

    Retail price for an offer

    SalePrice

    Sale Price defined by partner for an offer

    Categoryname

    Possible Values are:
    OnlineServices

    AzurePlan

    PerpetualSoftware

    OnlineServicesNCE

    SoftwareSubscriptions

    Azure

    Custom

    Bundles

    Providerreferenceid

    Offer Id of the product

    Isimmediateprovisioning

    If offer will get provisioned immediately after purchase

    Possible values : True/False

    Onpurchasebillingaction

    Possible billing action if in case of new license purchase change: Prorate/Full Charge

    Onreleasebillingaction

    Possible billing action if in case of license change: Prorate/Full Charge/No Refund

    Isactive

    If offer is still purchasable in Partner Center: True/False

    Isaddon

    True/False

    billingtypename

    Price/Percentage/Markup

    validity

    Validity of an offer

    macrovalue

    Value of Macro defined for a plan

    macroname

    Name of Macro applied on a plan

    Possible Values are :
    Copy Partner Price
    Copy Provider Selling Price

    Apply X% on Partner Price

    Apply X% on Provider Selling Price

    Apply X% on Margin

    Lastpricechangehappenedon

    Date of last price change, if any


    Was this article helpful?