View a project budget by parent code
get
/primeapi/restapi/projectBudget/byParent?workspaceCode={workspaceCode}&projectCode={projectCode}
Send a request to this endpoint to view project budget under parent with codes matching the code fields in query parameters.
Request
Query Parameters
-
projectCode: string
Project code of the project budget to be found.
-
workspaceCode: string
Workspace code of the project budget to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : ApiEntityProjectBudget
Type:
Show Source
object
-
approveByUserId(optional):
integer(int64)
Read Only:
true
The user who approved the budget. -
approveDate(optional):
object TimezoneSensitiveDateTime
-
budgetStatus(optional):
string
Read Only:
true
Allowed Values:[ "DRAFT", "PENDING", "REJECTED", "APPROVED" ]
The status of the budget. -
lastModifiedById(optional):
integer(int64)
Read Only:
true
The unique identifier of the user who last modified the project budget. -
link(optional):
string(url)
Read Only:
true
-
projectBudgetId(optional):
integer(int64)
Read Only:
true
The ID of the project budget. This value should not be provided in create operation request data, however, it is required for update requests. -
projectId(optional):
integer(int64)
Read Only:
true
The unique identifier of a project. -
projectName(optional):
string
The name of a project.
-
rejectByUserId(optional):
integer(int64)
Read Only:
true
The user who rejected the budget. -
rejectDate(optional):
object TimezoneSensitiveDateTime
-
submitByUserId(optional):
integer(int64)
Read Only:
true
The user who submitted the budget for review. -
submitDate(optional):
object TimezoneSensitiveDateTime
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
withdrawApprovalByUserId(optional):
integer(int64)
Read Only:
true
The user who withdrew approval of the budget. -
withdrawApprovalDate(optional):
object TimezoneSensitiveDateTime
404 Response
The requested project budget does not exist, or you do not have access to it.