View Contract Status Transition History
get
/primeapi/restapi/contract/{code}/project/{projectId}/history
This endpoint returns contract status transition histories that meet the following requirements:
- The object has a code that matches the value of the {code} path parameter.
- The object belongs to a project with an ID value that matches the value of the {projectId} path parameter.
Request
Path Parameters
-
code: string
The user-specified identifier of a contract.
-
projectId: integer(int64)
The system-generated identifier of a project.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityContractStatusTransitionHistory
Type:
Show Source
object
-
applicationUserId(optional):
integer(int64)
The user who changed the status of the record.
-
comment(optional):
string
Comments included by the user who changed the status of the record.
-
contractId(optional):
integer(int64)
The system-generated identifier of a contract.
-
contractStatusTransitionHistoryId(optional):
integer(int64)
A unique identifier for the change.
-
date(optional):
string(date-time)
The date the status of the record was changed.
-
link(optional):
string(url)
Read Only:
true
-
statusTransitionType(optional):
string
Allowed Values:
[ "SUBMIT", "APPROVE", "WITHDRAW_APPROVAL", "CLOSE", "REOPEN", "REJECT", "VOID", "WITHDRAW", "ANSWERED", "NONE" ]
The action that changed the status of the record. -
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.
204 Response
Successful operation with no content.
404 Response
The requested contract does not exist, or you do not have access to it.