GET api/Assignment?userId={userId}&routeId={routeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

None.

routeId

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AssignmentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

JobId

integer

None.

JobType

JobType

None.

NanId

globally unique identifier

None.

Order

integer

None.

TaskType

AssignmentType

None.

TaskSubType

AssignmentSubType

None.

JobStatusName

string

None.

Name

string

None.

Title

string

None.

Description

string

None.

Hours

decimal number

None.

Scheduled

date

None.

Completed

date

None.

Confirmed

boolean

None.

SignedOff

boolean

None.

Flagged

boolean

None.

Added

date

None.

Updated

date

None.

Address

Address

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "JobId": 2,
    "JobType": 0,
    "NanId": "f584799c-67ca-4ae3-9231-fc030e14e719",
    "Order": 4,
    "TaskType": 0,
    "TaskSubType": 0,
    "JobStatusName": "sample string 5",
    "Name": "sample string 6",
    "Title": "sample string 7",
    "Description": "sample string 8",
    "Hours": 9.1,
    "Scheduled": "2025-01-09T08:11:49.5662686+00:00",
    "Completed": "2025-01-09T08:11:49.5662686+00:00",
    "Confirmed": true,
    "SignedOff": true,
    "Flagged": true,
    "Added": "2025-01-09T08:11:49.5662686+00:00",
    "Updated": "2025-01-09T08:11:49.5662686+00:00",
    "Address": {
      "Id": 1,
      "Address1": "sample string 2",
      "Address2": "sample string 3",
      "Address3": "sample string 4",
      "Town": "sample string 5",
      "County": "sample string 6",
      "Postcode": "sample string 7",
      "What3Words": "sample string 8",
      "Latitude": 1.1,
      "Longitude": 1.1
    }
  },
  {
    "Id": 1,
    "JobId": 2,
    "JobType": 0,
    "NanId": "f584799c-67ca-4ae3-9231-fc030e14e719",
    "Order": 4,
    "TaskType": 0,
    "TaskSubType": 0,
    "JobStatusName": "sample string 5",
    "Name": "sample string 6",
    "Title": "sample string 7",
    "Description": "sample string 8",
    "Hours": 9.1,
    "Scheduled": "2025-01-09T08:11:49.5662686+00:00",
    "Completed": "2025-01-09T08:11:49.5662686+00:00",
    "Confirmed": true,
    "SignedOff": true,
    "Flagged": true,
    "Added": "2025-01-09T08:11:49.5662686+00:00",
    "Updated": "2025-01-09T08:11:49.5662686+00:00",
    "Address": {
      "Id": 1,
      "Address1": "sample string 2",
      "Address2": "sample string 3",
      "Address3": "sample string 4",
      "Town": "sample string 5",
      "County": "sample string 6",
      "Postcode": "sample string 7",
      "What3Words": "sample string 8",
      "Latitude": 1.1,
      "Longitude": 1.1
    }
  }
]

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Collections.Generic.List`1[MBO_API.Models.AssignmentsDTO]
--MultipartDataMediaFormatterBoundary1q2w3e--