Skip to main content

Get Assignment

GET/assignments/{id}

Summary

Returns one assignment by its id or internal nanoid, including its worker, trade, project, agency, dates, rates, status, and related references.

URL Parameters

NameTypeRequiredDescription
idstringYesAssignment identifier

Query Parameters

  • None

Request Example

curl -X GET 'https://api.requidex.com/api/open/v1/assignments/{id}' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields

FieldTypeDescription
activitiesarray[object]Assignment activity history.
Show child attributes
  • created string - Activity timestamp in ISO 8601 date-time format
  • activityType string - Activity type
  • user string - Activity user name
  • userId string - Activity user id
  • entity object - Related entity (id, name)
  • reason string - Activity reason
  • comments string - Activity comments
  • message string - Activity message
agencyobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
assignedByobjectReturned when attribution can be recovered from the assignment's audit history.
Show child attributes
  • id string - Responsible user id
  • name string - Responsible user name
cancellationobject
Show child attributes
  • reason string - Cancellation reason
  • date string - Cancellation timestamp in ISO 8601 date-time format
  • comments string - Cancellation comments
  • user object - Cancelling user (id, name)
cloneobjectReturned when the assignment was cloned.
Show child attributes
  • date string - Clone timestamp in ISO 8601 date-time format
  • original object - Source assignment (id, reference)
companyobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
competencyRequirementsarray[object]Returned when assignment-specific custom competency requirements are present.
Show child attributes
  • rule string - Requirement rule
  • items array[object] - Direct qualifications with name
  • groups array[object] - Qualification groups where each group contains items with name
completedDatestringCompletion timestamp in ISO 8601 date-time format
confirmationDatestringConfirmation timestamp in ISO 8601 date-time format, when the assignment has been confirmed
costCodeobject
Show child attributes
  • name string - Cost code name
  • description string - Cost code description
createdAtstringCreation timestamp in ISO 8601 date-time format
customDocumentsarray[object]Applicable custom document requirements merged with uploaded assignment documents.
Show child attributes
  • id string - Custom document requirement id
  • name string - Requirement name
  • description string - Requirement description
  • required boolean - Whether the requirement is mandatory
  • uploadPermissions object - Upload permissions (company, supplier)
  • attachment string - Uploaded document URL, or null when absent
  • uploadedBy string - Uploading user id, or null when absent
  • uploadedAt string - Upload timestamp in ISO 8601 date-time format, or null when absent
  • expiry string - Document expiry timestamp in ISO 8601 date-time format, or null when absent
  • inactive boolean - Present when the uploaded document belongs to an inactive requirement
endDatestringAssignment end date in ISO 8601 date-time format
endedobject
Show child attributes
  • reason string - End reason
  • date string - End timestamp in ISO 8601 date-time format
  • comments string - End comments
  • user object - Ending user (id, name)
enhancedUpliftsobjectReturned when enhanced uplifts are enabled.
Show child attributes
  • enabled boolean - Whether enhanced uplifts are enabled
  • mode string - Enhanced uplift calculation mode
  • weekly object - Weekly threshold settings
    Show child attributes
    • threshold number - Weekly hours threshold
    • enforce boolean - Whether the weekly threshold must be worked before weekday uplifts apply
    • reduce boolean - Whether authorised absences reduce the threshold
    • nightThreshold number - Weekly night-shift hours threshold
    • nightEnforce boolean - Whether the night-shift threshold must be worked before night-shift uplifts apply
    • backshiftThreshold number - Weekly backshift hours threshold
    • backshiftEnforce boolean - Whether the backshift threshold must be worked before backshift uplifts apply
    • blockThresholds object - Optional weekly threshold overrides keyed by uplift block index, with numeric hour values
    • nightBlockThresholds object - Optional night-shift threshold overrides keyed by uplift block index, with numeric hour values
    • backshiftBlockThresholds object - Optional backshift threshold overrides keyed by uplift block index, with numeric hour values
  • breakdown array[object] - Enhanced uplift breakdown rows
  • breakdown[].date string - Breakdown row date in ISO 8601 date-time format, where available
  • breakdown[].dayOfWeek string - Day of week
  • breakdown[].shiftType string - Shift type
  • breakdown[].blockStartHour number - Block start hour
  • breakdown[].blockEndHour number - Block end hour
  • breakdown[].blockHours number - Hours in the block
  • breakdown[].upliftPercentage number - Applied uplift percentage
  • breakdown[].chargeRate number - Charge rate for the block
  • breakdown[].chargeValue number - Charge value for the block
  • breakdown[].payRate number - Pay rate for the block
  • breakdown[].payValue number - Pay value for the block
idstringAssignment id
kidstringKID attachment URL
lodgeobjectReturned when lodge details are stored on the assignment.
Show child attributes
  • dailyAmountOverride number - Assignment-specific lodge daily amount; omitted when the project or company amount applies
  • address object - Lodge address
  • distanceMiles number - Distance from lodge to site in miles
  • travel object - Travel estimates with walkMinutes, busMinutes, carMinutes, trainMinutes, and calculatedAt
lodgeApplicablebooleanWhether lodge/accommodation is applicable
metaFieldsarray[object]Configured assignment meta fields with resolved values.
Show child attributes
  • id string - Meta field id
  • title string - Meta field title
  • type string - Meta field type (freeText or dynamicField)
  • value string - Resolved value
  • display array[string] - Configured display targets (ui, pdf)
payTypeenum(hourly, daily)Pay type
projectobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
purchaseOrderstringPurchase order reference
ratesobject
Show child attributes
  • pay number - Pay rate
  • charge number - Charge rate
rateTypeenum(cis, paye, psc)Rate type
rateUpliftsobjectReturned when enhanced uplifts are disabled.
Show child attributes
  • bh number - Bank holiday uplift percentage
  • bhNw number - Bank holiday night uplift percentage
  • wdOt number - Weekday overtime uplift percentage
  • sat number - Saturday uplift percentage
  • sun number - Sunday uplift percentage
  • wdNw number - Weekday night uplift percentage
  • weNw number - Weekend night uplift percentage
referencestringAssignment reference
regionobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
reinstatementobject
Show child attributes
  • reason string - Reinstatement reason
  • date string - Reinstatement timestamp in ISO 8601 date-time format
  • comments string - Reinstatement comments
  • user object - Reinstating user (id, name)
replacementobjectReturned when the assignment is linked to replacement data.
Show child attributes
  • replacedBy object - Replacement assignment (id, reference)
  • replacementFor object - Original assignment (id, reference)
  • requisition object - Replacement requisition (id, reference, nanoid)
  • reason string - Replacement reason
  • type string - Replacement type (temporary, permanent)
requisitionobject
Show child attributes
  • id string - Requisition id
  • reference string - Requisition reference
  • nanoid string - Short requisition id
sdcobject
Show child attributes
  • status string - SDC status
  • attachment string - SDC attachment URL
sdsobject
Show child attributes
  • status string - SDS status
  • attachment string - SDS attachment URL
sectorobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
shiftPatternobject
Show child attributes
  • m, t, w, th, f, s, su object - Daily shift definitions
  • Each day object includes start number - Shift start hour
  • Each day object includes end number - Shift end hour
  • Each day object includes active boolean - Whether the day is active
  • Each day object includes break number - Break duration in minutes
  • Each day object includes night boolean - Whether the shift is a night shift
siteobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
startDatestringAssignment start date in ISO 8601 date-time format
statusenum(pending, confirmed, cancelled, completed, ended)Assignment status
tagobject
Show child attributes
  • id string - Tag id
  • name string - Tag name
timesheetStartDatestringTimesheet start date in ISO 8601 date-time format
tradeobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
umbrellastringUmbrella company name
updatedAtstringLast update timestamp in ISO 8601 date-time format
valuesobject
Show child attributes
  • pay number - Pay value
  • charge number - Charge value
weeksElapsedintegerFull weeks elapsed since confirmation or start
workActivitystringWork activity name
rateOverridesobjectAssignment-level rate overrides, when configured.
Show child attributes
  • markup object - active indicates whether the override is applied; value is the markup proportion, where 0.15 means 15%
  • employerCosts object - active indicates whether the override is applied; value is the absolute employer-cost amount per assignment pay unit
workerobject
Show child attributes
  • id string - Worker id
  • reference string - Worker reference
  • name string - Worker name
workerDistanceToSitenumberWorker distance to site, in miles
workerLodgeDistanceToSitenumberWorker lodge distance to site, in miles, when lodge travel distance is available

Response Example (200)

{
"success": true,
"data": {
"id": "67bc36db80a1616ec3f49001",
"reference": "A1044",
"status": "confirmed",
"payType": "hourly",
"rateType": "cis",
"confirmationDate": "2026-02-24T09:00:00.000Z",
"cancellation": null,
"reinstatement": {
"reason": "Worker returned",
"date": "2026-02-25T09:00:00.000Z",
"comments": "Assignment reopened",
"user": {
"id": "67bc36db80a1616ec3f49091",
"name": "Alex Carter"
}
},
"ended": {
"reason": "Assignment ended",
"date": "2026-03-20T17:00:00.000Z",
"comments": "Ended early",
"user": {
"id": "67bc36db80a1616ec3f49092",
"name": "Riley Moore"
}
},
"activities": [
{
"created": "2026-02-25T09:00:00.000Z",
"activityType": "assignmentReinstated",
"user": "Alex Carter",
"userId": "67bc36db80a1616ec3f49091",
"entity": {
"id": "67bc36db80a1616ec3f49001",
"name": "A1044"
},
"reason": "Worker returned",
"comments": "Assignment reopened",
"message": "Assignment reinstated by Alex C."
}
],
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"project": {
"id": "67bc36db80a1616ec3f47011",
"name": "Northern Rail Electrification"
},
"region": {
"id": "67bc36db80a1616ec3f47002",
"name": "North West"
},
"sector": {
"id": "67bc36db80a1616ec3f47003",
"name": "Rail"
},
"site": {
"id": "67bc36db80a1616ec3f47055",
"name": "Manchester Central"
},
"trade": {
"id": "67bc36db80a1616ec3f47077",
"name": "Electrician"
},
"tag": {
"id": "67bc36db80a1616ec3f47088",
"name": "Rail"
},
"agency": {
"id": "67bc36db80a1616ec3f47101",
"name": "Northline Labour Desk"
},
"umbrella": "UmbrellaCo",
"worker": {
"id": "67bc36db80a1616ec3f48999",
"reference": "WK-1044",
"name": "Jordan Smith"
},
"workerDistanceToSite": 12.4,
"workerLodgeDistanceToSite": 4.8,
"requisition": {
"id": "67bc36db80a1616ec3f48123",
"reference": "REQ-R1002",
"nanoid": "req01abcde"
},
"shiftPattern": {
"m": {
"start": 8,
"end": 17,
"active": true,
"break": 30,
"night": false
},
"t": {
"start": 8,
"end": 17,
"active": true,
"break": 30,
"night": false
},
"w": {
"start": 8,
"end": 17,
"active": true,
"break": 30,
"night": false
},
"th": {
"start": 8,
"end": 17,
"active": true,
"break": 30,
"night": false
},
"f": {
"start": 8,
"end": 17,
"active": true,
"break": 30,
"night": false
},
"s": {
"start": null,
"end": null,
"active": false,
"break": null,
"night": false
},
"su": {
"start": null,
"end": null,
"active": false,
"break": null,
"night": false
}
},
"costCode": {
"name": "CC-001",
"description": "Trackside installation"
},
"replacement": {
"replacedBy": {
"id": "67bc36db80a1616ec3f49002",
"reference": "A1045"
},
"replacementFor": {
"id": "67bc36db80a1616ec3f49003",
"reference": "A0999"
},
"requisition": {
"id": "67bc36db80a1616ec3f48124",
"reference": "REQ-R1003",
"nanoid": "req02abcde"
},
"reason": "Worker unavailable",
"type": "temporary"
},
"clone": {
"date": "2026-02-18T10:15:00.000Z",
"original": {
"id": "67bc36db80a1616ec3f49000",
"reference": "A1043"
}
},
"lodge": {
"dailyAmountOverride": 58.95,
"address": {
"lineOne": "2 Lodge Lane",
"city": "Manchester",
"country": "United Kingdom",
"code": "M1 2AB"
},
"distanceMiles": 4.8,
"travel": {
"walkMinutes": 18,
"busMinutes": 12,
"carMinutes": 7,
"trainMinutes": null,
"calculatedAt": "2026-02-25T08:45:00.000Z"
}
},
"workActivity": "Install containment",
"competencyRequirements": [
{
"rule": "mandatory",
"items": [{ "name": "CSCS Gold Card" }],
"groups": [
{
"items": [{ "name": "PASMA" }, { "name": "IPAF" }]
}
]
}
],
"rates": {
"pay": 21.5,
"charge": 28.75
},
"rateOverrides": {
"markup": { "active": false, "value": 0 },
"employerCosts": { "active": true, "value": 4.25 }
},
"values": {
"pay": 3440,
"charge": 4600
},
"rateUplifts": {
"bh": 100,
"bhNw": 125,
"wdOt": 50,
"sat": 50,
"sun": 100,
"wdNw": 25,
"weNw": 40
},
"lodgeApplicable": true,
"weeksElapsed": 6,
"purchaseOrder": "PO-44321",
"sds": null,
"sdc": {
"status": "confirmed",
"attachment": "https://files.requidex.com/sdc-confirmation.pdf"
},
"kid": "https://files.requidex.com/kid.pdf",
"customDocuments": [
{
"id": "67bc36db80a1616ec3f49051",
"name": "Passport copy",
"description": "Photo page",
"required": true,
"uploadPermissions": {
"company": true,
"supplier": false
},
"attachment": "https://files.requidex.com/passport-copy.pdf",
"uploadedBy": "67bc36db80a1616ec3f49091",
"uploadedAt": "2026-02-25T10:30:00.000Z",
"expiry": "2027-02-25T00:00:00.000Z"
}
],
"metaFields": [
{
"id": "meta-support",
"title": "Support email",
"type": "dynamicField",
"value": "support@project-alpha.test",
"display": ["ui"]
}
],
"startDate": "2026-03-01T00:00:00.000Z",
"endDate": "2026-03-31T23:59:59.999Z",
"timesheetStartDate": "2026-03-03T00:00:00.000Z",
"completedDate": null,
"createdAt": "2026-02-20T11:30:00.000Z",
"updatedAt": "2026-02-21T09:15:00.000Z"
}
}

MCP Tool

The MCP server exposes this operation as open_api_get_assignment with the input id.

Submission answers

Each returned record includes submissionAnswers (an empty array when there are no applicable answers), unless omitted by list response fields selection. It contains only answers configured to display on this entity. Requisitions expose the saved submission answers, including amendments made while pending; assignments and timesheets expose the saved assignment snapshot.

Agency-scoped callers receive only answers belonging to agencies in their authenticated API key scope, even when another agency submitted the same worker. Query filters and fields selection cannot expand that scope. Company-scoped callers receive answers within their existing company and project access. Existing endpoint read scopes apply; this is read-only access.

Each answer includes:

FieldDescription
fieldId, label, fieldType, valueField identifier, captured question and type, and answer value (text, date string, selected option array, or null)
answerScopesubmission for a whole-submission answer or worker for a per-worker answer
submissionId, workerIdsSubmission batch identifier and the workers covered by the answer
agency, workerIdentifier and name objects; worker is null for whole-submission answers
displayLocationsConfigured display locations captured with the answer
submittedAt, submittedByOriginal submission timestamp and submitter identifier/name
updatedAt, updatedByLatest amendment timestamp and editor identifier/name, or null