7.1

Table Of Contents
Table 32. JSON Template Value Table
JSON File Parameter Name Description of Value
workItemId Specifies the value of the corresponding work item ID obtained from the
work item list.
source-source-provider-
Cafe.Shim.VirtualMachine.NumberOfInstances value
Specifies the number of instances requested.
source-source-provider-VirtualMachine.Memory.Size Specifies the amount of memory requested in GB.
source-source-provider-VirtualMachine.CPU.Count Specifies the number of CPUs requested.
source-businessJustification Specifies the text description of reason for request.
source-source-provider-VirtualMachine.LeaseDays Specifies the number of days to lease.
workItemActionId To approve a request, include the approve statement, for example
com.mycompany.csp.core.approval.action.approve..
To reject a request, include the reject statement, for example
com.mycompany.csp.core.approval.action.reject.
Example: JSON Input File
Use the following JSON input file sample when constructing a file.
{
"@type": "CatalogItemRequest",
"catalogItemRef": {
"id": "65fbca06-a28e-46f3-bced-c6e5fb3a66f9"
},
"organization": {
"tenantRef": "MYCOMPANY",
"subtenantRef": "cccd7a7e-5283-416b-beb0-45eb4e924dcb"
},
"requestedFor": "fritz@example.mycompany.com",
"state": "SUBMITTED",
"requestNumber": 0,
"requestData": {
"entries": [{
"key": "provider-blueprintId",
"value": {
"type": "string",
"value": "e16edcf9-6a10-4bc7-98e2-a33361aeb857"
}
},
{
"key": "provider-provisioningGroupId",
"value": {
"type": "string",
"value": "cccd7a7e-5283-416b-beb0-45eb4e924dcb"
}
},
{
"key": "requestedFor",
"value": {
"type": "string",
Programming Guide
VMware, Inc. 71