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

Get Reseller Discount Contract Details

Description

Retrieves data about a specified discount contract within a Reseller organization.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
orgId Required

ID of the partner organization in CSP


string
billingEngineDiscountContractId Required

Billing Engine Discount Contract ID


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns ResellerDiscountContractDetails of type application/json
{
	"billingEngineDiscountContractId": "CBCID-001",
	"commitmentBreakup": {
		"currentYear": {
			"commitment": 150.8,
			"endDate": "1/20/2021",
			"overage": 0,
			"remaining": 30.3,
			"spent": 120.5,
			"startDate": "1/20/2020"
		},
		"term": [
			{
				"commitment": 150.8,
				"endDate": "1/20/2021",
				"overage": 0,
				"rank": 0,
				"remaining": 30.3,
				"spent": 120.5,
				"spentPercent": 0,
				"startDate": "1/20/2020"
			}
		],
		"totalYears": {
			"commitment": 150.8,
			"endDate": "1/20/2021",
			"overage": 0,
			"remaining": 30.3,
			"spent": 120.5,
			"spentPercent": 0,
			"startDate": "1/20/2020"
		}
	},
	"currency": "USD",
	"discountContractCustomerRef": {
		"cspOrgId": "ORG1",
		"cspOrgName": "Coke Org",
		"customerName": "Coke",
		"sfdcAccountId": "123456"
	},
	"discountContractTypeRef": {
		"contractType": "VMC",
		"contractTypeIcon": "string"
	},
	"endDate": "1/20/2021",
	"startDate": "1/20/2020",
	"status": "ACTIVE"
}
string
billingEngineDiscountContractId Optional

Billing Engine Discount Contract ID


commitmentBreakup Optional

Commitment breakup of Billing Engine Discount Contract


string
currency Optional

Currency of Billing Engine Discount Contract


discountContractCustomerRef Optional

Customer information for Billing Engine Discount Contract


discountContractTypeRef Optional

Type of Billing Engine Discount Contract such as VMC or VMC-U


string
endDate Optional

Commitment end date of Billing Engine Discount Contract


boolean
hasSubscriptions Optional

Indicates whether or not subscriptions are created against this discount contract Id


string
startDate Optional

Commitment start date of Billing Engine Discount Contract


string
status Optional

Status of Billing Engine Discount Contract

Possible values are: ACTIVEINACTIVE

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 https://console.navigator.vmware.com/cphub/api/seller/v1/resellers/{orgId}/discount-contracts/{billingEngineDiscountContractId}


Feedback

Was this page helpful?