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

Download Distributor Discount Contracts

Description

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

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
orgId Required

ID of the partner organization in CSP


Request Body

Request Body

DistributorDiscountContractRequest of mimetype application/json Optional

Distributor 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 Distributor


sorter Optional

A sorter for discount contracts list for Distributor

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
404

Not Found - The requested resource does not exist


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/distributors/{orgId}/discount-contracts/download


Feedback

Was this page helpful?