Change a Project Budget Status
put
/primeapi/restapi/projectBudget/project/{id}/changeBudgetStatus
Send a request to this endpoint to update the status of a project budget that meet the following requirements:
- The object has a project with an ID value that matches the value of the {projectId} path parameter.
Request
Supported Media Types
- application/json
Path Parameters
-
id: integer(int64)
Project Budget Id whose status has to be changed.
Status Transition Object with new Status and userIds to be notified.
Root Schema : ApiEntityStatusTransition
Type:
Show Source
object
-
budgetStatus(optional):
string
Allowed Values:
[ "DRAFT", "PENDING", "REJECTED", "APPROVED" ]
The current status of a budget. -
comment(optional):
string
Comments included by the user who modified the budget.
-
userNames(optional):
array userNames
The users associated with the project budget.
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid input for the Budget Change service. Verify the request contains valid data, then resubmit the request.
404 Response
The requested project budget does not exist, or you do not have access to it.