[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Download Reseller Discount Contracts

Description

Downloads the discount contracts data of a specified Reseller organization as a XLSX file.

Request

Request

URL

URL


post
https://console.navigator.vmware.com/cphub/api/seller/v1/resellers/{orgId}/discount-contracts/download
Copy

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


sorter Optional

A sorter for discount contracts list for Reseller

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns string formatted as binary of type application/octet-stream
Errors

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

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


Feedback

Was this page helpful?