Change a Project Budget Status
put
/api/restapi/projectBudget/project/{projectId}/changeBudgetStatus
Send a request to this endpoint to update the status of a project budget that meet the following requirements:
- The object is associated with a project with an ID value that matches the value of the {projectId} path parameter.
Request
Path Parameters
-
projectId(required): integer(int64)
Project Id whose project budget status has to be changed.
Supported Media Types
- application/json
Root Schema : ApiEntityStatusTransition
Type:
object
Title:
Show Source
ApiEntityStatusTransition
-
budgetStatus: string
Allowed Values:
[ "DRAFT", "PENDING", "REJECTED", "APPROVED" ]
The current status of a budget. -
comment: string
Maximum Length:
4000
Comments included by the user who modified the budget. -
userNames: array
userNames
The users associated with the project budget.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the Project 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.