- 27 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Get Plan Macro
- Updated on 27 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Get the list of Plan Macros used as parameters to define the sale price for offers during reseller plan creation
URL
https://contoso-prod-api.azurewebsites.net/api/ResellerPlan/DownloadDetails
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 plan macro is as follows:
{
"OperationType": null,
"Status": "Success",
"RequestCorrelationID": "7cc6756d-3a33-437e-8e59-69422b547889",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": [
{
"ID": 1,
"Name": "Copy Partner Price"
},
{
"ID": 2,
"Name": "Copy Provider Selling Price"
},
{
"ID": 3,
"Name": "Apply X% on Partner Price"
},
{
"ID": 4,
"Name": "Apply X% on Markup"
},
{
"ID": 5,
"Name": "Apply X% on Provider Selling Price"
}
]
}
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:
|