Create Contract Using POST
Create a contract. After creation, the status of the contract will be PENDING_APPROVAL if approval is required, otherwise it will be PENDING_EFFECTIVE_DATE. Request for different contract types. (All fields marked with * are required and fields marked with o are optional.)
| Properties | PAY-GO | PRE-PAY | CUSTOM |
| ------------ | ------ | ------- | ------ |
| term | | * | * |
| discount | | * | * |
| minCommits | | * | * |
| spf | | * | * |
| prepayment | | * | |
| triggerPoint | | o | |
Pre-authorized roles: Operations
Request to create a contract
{
"contractSKUId": "e4d8668b-xxxx-xxxx-xxxx-0ba60000002f",
"serviceProviderContact": "jamessmith@spcorp.com",
"licenseContact": "avabrown@spcorp.com",
"aggregatorContact": "bobjohnson@aggcorp.com",
"systemContact": "mariawilliams@vmware.com",
"serviceProviderId": "33f574a8-xxxx-xxxx-xxxx-b10700000008",
"bolDate": "2022-03-21",
"currency": "USD",
"billingOrderPreference": "string",
"vmwarePurchaseOrder": "PO-100000",
"fillPurchaseOrderInMBO": false,
"billToAccountId": "533ea6cb-xxxx-xxxx-xxxx-b10700000008",
"entitlementAccount": 111111,
"term": "Required for CUSTOM/PREPAY, ignored for PAY-GO",
"minCommits": [
"number"
],
"prepayment": "Required for PREPAY, ignored for PAY-GO/CUSTOM",
"triggerPoint": "Optional for PREPAY, ignored for PAY-GO/CUSTOM",
"discount": "Required for CUSTOM/PREPAY, ignored for PAY-GO",
"spf": "Required for CUSTOM/PREPAY, ignored for PAY-GO",
"comment": "created by harry@sample.com",
"threshold": 900
}
contractSKUId
Cloud service provider contact
Required for RENTAL, SOV and LPCAAS
aggregatorContact
VMware contact
Cloud service provider
Start date
currency
Order preference
Purchase Order with VMware
Autofill purchase order number into monthly billing order
Bill-to location
entitlementAccount
Term (in Months)
Minimum commits. Each element is the minimum commit for each month. If the request start date is the first day of the month, the length of minimum commits equals to term, otherwise the length of minimum commits equals to the term plus one. E.g. 1: Start date is 2022-03-01 and term is 12, then the minimum commits are [10,10,10,10,10,10,10,10,10,10,10,10]. E.g. 2: Start date is 2022-03-21 and term is 12, then the minimum commits are [3,10,10,10,10,10,10,10,10,10,10,10,7]. Minimum commits are not required for VELO.
Total prepaid, must be greater than or equal to the sum of minimum commits
Optional. Notify when balance is below trigger point
discount
spf
comment
Usage threshold, required for MSP contract
OK
{
"id": "630c2f68-xxxx-xxxx-xxxx-61f8245eaca1",
"serviceProvider": {
"name": "Sp Corp",
"prmId": 1111111
},
"aggregatorContact": {
"firstName": "Bob",
"lastName": "Johnson",
"email": "bobjohnson@aggcorp.com"
},
"serviceProviderContact": {
"firstName": "James",
"lastName": "Smith",
"email": "jamessmith@spcorp.com"
},
"systemContact": {
"firstName": "Maria",
"lastName": "Williams",
"email": "mariawilliams@vmware.com"
},
"licenseContact": {
"firstName": "Ava",
"lastName": "Brown",
"email": "avabrown@spcorp.com"
},
"eolDate": "2023-03-20",
"bolDate": "2022-03-21",
"status": "ACTIVE",
"contractReferenceNumber": "AMER1111RENTAL",
"contractSKU": {
"code": "VSPP3-1800-C",
"contractType": "PAY-GO",
"productFamily": {
"name": "Rental Commercial",
"code": "RENTAL",
"type": "RENTAL"
}
},
"contractNumber": 111111,
"region": "AMER",
"term": 12,
"graceTerm": 1,
"currency": "USD",
"contractId": 1111,
"discount": 20,
"spf": "SPF123",
"vmwarePurchaseOrder": "PO-100000",
"billingOrderPreference": "ONLINE",
"billToAccount": {
"accountNumber": 10001,
"location": "location-100010"
},
"entitlementAccount": 111111,
"sellingPricePerPoint": 0.88,
"fillPurchaseOrderInMBO": false
}
id
End date of the contract
Begin date of the contract
status
contractReferenceNumber
contractNumber
Region of the cloud services provider
Term of the contract(in months)
Grace term(in months) when it's a PAY-GO contract
currency
Contract id
discount
Contract SPF
Purchase order with VMware
Billing order preference
Entitlement account
Selling price per point
Autofill purchase order number into monthly billing orders
Bad Request
Unauthorized
Forbidden