Get Contract Using GET 1
Get a contract identified by the contract id.
Pre-authorized roles: Auto Report Operations, Operations, Read Only
Request
URI
GET
https://{api_host}//vcp.vmware.com/api/provider/v1/contracts/{contractId}
COPY
Path Parameters
string
contractId
Required
Contract id
contractId example
630c2f68-xxxx-xxxx-xxxx-61f8245eaca1
Responses
200
OK
Returns Contract of type(s) application/json
{
"id": "630c2f68-xxxx-xxxx-xxxx-61f8245eaca1",
"aggregator": {
"name": "Agg Corp",
"prmId": 2222222
},
"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"
}
string
id
Optional
id
string As date As date
eolDate
Optional
End date of the contract
string As date As date
bolDate
Optional
Begin date of the contract
string
status
Optional
status
Possible values are : DRAFT, CREATE_IN_PROCESS, ACTIVE, PENDING_EXPIRATION, PENDING_TERMINATION, REJECTED, EXPIRED, TERMINATED, DEACTIVATED,
string
contractReferenceNumber
Optional
contractReferenceNumber
string
contractNumber
Optional
contractNumber
string
region
Optional
Region of the cloud services provider
integer As int32 As int32
term
Optional
Term of the contract(in months)
integer As int32 As int32
graceTerm
Optional
Grace term(in months) when it's a PAY-GO contract
string
currency
Optional
currency
400
Bad Request
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Contract not found
Operation doesn't return any data structure