[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Download Reseller Discount Contracts
DescriptionDownloads the discount contracts data of a specified Reseller organization as a XLSX file.
Request
URLURL
https://console.navigator.vmware.com/cphub/api/seller/v1/resellers/{orgId}/discount-contracts/download
Path Parameters
Path Parameters
string
orgId
Required
ID of the partner organization in CSP
Request Body
Request Body
ResellerDiscountContractRequest
of mimetype application/json
Optional
Reseller discount contract download filters and sorter
{
"filters": {},
"sorter": {
"key": "CURRENT_SPENT",
"operator": "ASC"
}
}
array of
object
filters
Optional
A list of filters for discount contracts list for Reseller
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
string
formatted as binary
of type application/octet-stream
Errors
ErrorResponse
400
Bad Request - The request is either incomplete or incorrect
ErrorResponse
401
Unauthorized - The request requires user authentication
ErrorResponse
403
Forbidden - User does not have permission for this operation
ErrorResponse
500
Internal Server Error - Please contact support
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"filters":{},"sorter":{"key":"CURRENT_SPENT","operator":"ASC"}}' https://console.navigator.vmware.com/cphub/api/seller/v1/resellers/{orgId}/discount-contracts/download
[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator