Topup Using POST
Top up a PRE-PAY contract identified by the contract id.
Pre-authorized roles: Operations
Contract id
630c2f68-xxxx-xxxx-xxxx-61f8245eaca1
Request to top up a contract
{
"prepayment": 240,
"term": 12,
"burnDownSchedule": [
20,
20,
20,
20,
20,
20,
20,
20,
20,
20,
20,
20
],
"comment": "top up by [email protected]",
"vmwarePurchaseOrder": "PO-100000"
}
Top-Up Amount
Term (in Months), must be greater than or equal to the contract term
Each element is a burndown schedule for each month. Only the burndown schedule since the current month can be changed. The length of the burndown schedule is the request term. Example: The contract burndown schedule is [10,10,10,10,10,10,10,10,10,10,10,10], start date is 2022-01-01, term is 12, and current date is 2022-03-01. Case 1: Request term is the same as original term, top up 20 from 2022-03 to 2022-12, then the burndown schedule is [10,10,20,20,20,20,20,20,20,20,20,20]. Case 2: Request to extend two months, top up 20 from 2022-03 to 2023-02, then the burndown schedule is [10,10,20,20,20,20,20,20,20,20,20,20,20,20].
comment
Purchase Order with VMware
OK
{
"id": "f8b83357-xxxx-xxxx-xxxx-8366e586c8f9",
"status": "PENDING_APPROVAL",
"requestType": "TOPUP",
"requestContractSKU": {
"code": "VSPP3-PREPAY-C",
"contractType": "PRE-PAY",
"productFamily": {
"name": "Rental Commercial",
"code": "RENTAL",
"type": "RENTAL"
}
},
"effectiveDate": "2023-03-01",
"createdTime": "2023-03-01T07:36:00.396Z",
"token": "C-100002-00012-2303-0000101",
"vmwarePurchaseOrder": "PO-100000",
"term": 12,
"prepayment": 240,
"burnDownSchedule": [
20,
20,
20,
20,
20,
20,
20,
20,
20,
20,
20,
20
]
}
Contract top up request id
Current status
Current request type
effectiveDate
createdTime
token
Purchase Order with VMware
term
Total prepaid
burnDownSchedule
Bad Request
Unauthorized
Forbidden