7.1

Table Of Contents
If a user who is not authorized to approve the request submits the request, the following error response is
received:
Command failed [Rest Error]: {Status code: 400}, {Error code: 12017} ,
{Error Source: null}, {Error Msg: User fritz@example.mycompany.com not authorized to
complete work item with ID 5e3e9519-78ea-4409-a52c-e4aa3bc56511.}, {System Msg:
User fritz@example.mycompany.com not authorized to complete Work item with id
5e3e9519-78ea-4409-a52c-e4aa3bc56511.}
Syntax for Updating Cost Information
You can use the composition service to update and display cost information for a deployment. The cost of
a deployment is based on which blueprint you request plus details of the specific request. For example, if
the blueprint allows for a range of CPU, memory, or storage values, the cost depends on the value
requested.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL
//$host/composition-
service/api/blueprints/$BlueprintId/costs/upfront
Method Post
$host Specifies the host name and fully qualified domain name or IP
address of the vRealize Automation identity server.
Programming Guide
VMware, Inc. 75