Skip to main content

RequisitionModifiableFields

A Requisition represents a request for an assignment of a user (or team) to a particular PX Task. These are the fields that can be modified when creating or updating a Requisition.

id_projectstring

The internal ID of the Project that the Requisition is associated with. This can only be set at create time (POST) and cannot be updated.

Example: 20945205C94E4576B5FB798DA09B44DE
id_requesteestring

The internal ID of the user or team that the Requisition is requesting.

Example: 64BBA147B9AC41D9978062300826C89F
id_requestorstring

The internal ID of the user that is requesting the Requisition.

Example: 64BBA147B9AC41D9978062300826C89F
request_datenumber

The date that the Requisition was created. This is a Unix timestamp.

Example: 1681776000
response_datenumber

The date that the Requisition was responded to. This is a Unix timestamp.

Example: 1681796000
statestring

The current state of the Requisition. The options are:

  • open - the Requisition has been created and is awaiting a response
  • fulfilled - the Requisition has been accepted and the assignment has been created
  • declined - the Requisition has been declined
  • discussion - the Requisition is in discussion

Possible values: [open, fulfilled, declined, discussion]

Example: open
commentstring

A comment that can be added to the Requisition.

notify_requesteeboolean

If true, the requestee will be notified when the Requisition is created or updated.

notify_requestorboolean

If true, the requestor will be notified when the Requisition is responded to.

id_assignmentstring

The internal ID of the Assignment that was created from this Requisition. This is only set when the Requisition is fulfilled.

scheduled_endnumber

The scheduled end date of the assignment. This is a Unix timestamp.

Example: 1679616000
scheduled_startnumber

The scheduled start date of the assignment. This is a Unix timestamp.

Example: 1678060800
scheduled_worknumber

The scheduled work hours for the assignment.

Example: 40
RequisitionModifiableFields
{
"id_project": "20945205C94E4576B5FB798DA09B44DE",
"id_requestee": "64BBA147B9AC41D9978062300826C89F",
"id_requestor": "64BBA147B9AC41D9978062300826C89F",
"request_date": 1681776000,
"response_date": 1681796000,
"state": "open",
"comment": "string",
"notify_requestee": true,
"notify_requestor": true,
"id_assignment": "string",
"scheduled_end": 1679616000,
"scheduled_start": 1678060800,
"scheduled_work": 40
}