GET api/Parts/{id}/Orders

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrderToClientDTO
NameDescriptionTypeAdditional information
Locations

Collection of LocationDTO

None.

Creator

UserWithDepartment

None.

CreatedOn

date

None.

Status

OrderStatus

None.

TotalOrderAmount

decimal number

None.

OrderDate

date

None.

DeadlineDate

date

None.

CreatorID

string

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

integer

None.

IsArchived

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Locations": [
      {
        "City": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "Zip": "sample string 4",
        "Country": "sample string 5",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d57344f8-ccd7-4041-92d9-f262318af694",
        "Description": "sample string 7",
        "CrmId": 8,
        "IsArchived": true
      },
      {
        "City": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "Zip": "sample string 4",
        "Country": "sample string 5",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d57344f8-ccd7-4041-92d9-f262318af694",
        "Description": "sample string 7",
        "CrmId": 8,
        "IsArchived": true
      }
    ],
    "Creator": {
      "DepartmentName": "sample string 1",
      "FullNameWDep": "sample string 4 sample string 5 (sample string 1)",
      "TeamName": "sample string 2",
      "Id": "sample string 3",
      "Country": "BE",
      "Language": "NL",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "FullName": "sample string 4 sample string 5",
      "Email": "sample string 6",
      "DepartmentID": "c7a8e3df-d921-469d-b285-c42cfeb0737a",
      "CrmId": 7,
      "CrmUserId": 8,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "2a24268f-abf7-46ac-bc52-83bd58fbf4c5",
      "MyTeamIDs": [
        "ddba4700-db54-49a9-aaa4-f2768e229481",
        "8ee8a578-f995-4ab9-85fd-48bd44829d65"
      ]
    },
    "CreatedOn": "2017-12-15T21:31:56.4764667+00:00",
    "Status": 0,
    "TotalOrderAmount": 2.0,
    "OrderDate": "2017-12-15T21:31:56.4764667+00:00",
    "DeadlineDate": "2017-12-15T21:31:56.4764667+00:00",
    "CreatorID": "sample string 3",
    "Id": "ab36cd8d-0819-4ea7-a782-f5f497e5e75e",
    "Description": "sample string 5",
    "CrmId": 6,
    "IsArchived": true
  },
  {
    "Locations": [
      {
        "City": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "Zip": "sample string 4",
        "Country": "sample string 5",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d57344f8-ccd7-4041-92d9-f262318af694",
        "Description": "sample string 7",
        "CrmId": 8,
        "IsArchived": true
      },
      {
        "City": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "Zip": "sample string 4",
        "Country": "sample string 5",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d57344f8-ccd7-4041-92d9-f262318af694",
        "Description": "sample string 7",
        "CrmId": 8,
        "IsArchived": true
      }
    ],
    "Creator": {
      "DepartmentName": "sample string 1",
      "FullNameWDep": "sample string 4 sample string 5 (sample string 1)",
      "TeamName": "sample string 2",
      "Id": "sample string 3",
      "Country": "BE",
      "Language": "NL",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "FullName": "sample string 4 sample string 5",
      "Email": "sample string 6",
      "DepartmentID": "c7a8e3df-d921-469d-b285-c42cfeb0737a",
      "CrmId": 7,
      "CrmUserId": 8,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "2a24268f-abf7-46ac-bc52-83bd58fbf4c5",
      "MyTeamIDs": [
        "ddba4700-db54-49a9-aaa4-f2768e229481",
        "8ee8a578-f995-4ab9-85fd-48bd44829d65"
      ]
    },
    "CreatedOn": "2017-12-15T21:31:56.4764667+00:00",
    "Status": 0,
    "TotalOrderAmount": 2.0,
    "OrderDate": "2017-12-15T21:31:56.4764667+00:00",
    "DeadlineDate": "2017-12-15T21:31:56.4764667+00:00",
    "CreatorID": "sample string 3",
    "Id": "ab36cd8d-0819-4ea7-a782-f5f497e5e75e",
    "Description": "sample string 5",
    "CrmId": 6,
    "IsArchived": true
  }
]