GET api/Public/Requests/{Id}?CrmId={CrmId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

CrmId

integer

Required

Body Parameters

None.

Response Information

Resource Description

RequestDTO
NameDescriptionTypeAdditional information
datestart

date

None.

dateend

date

None.

DesiredStartDate

date

None.

DesiredEndDate

date

None.

dateapproved

date

None.

Urgency

string

None.

PublicExposed

boolean

None.

Comments

string

None.

AuthRemarks

string

None.

Requestors

Collection of RequestorDTO

None.

IsComplaint

boolean

None.

Instructions

string

None.

SourceType

WOSourceType

None.

VisitRequired

boolean

None.

VisitRemarks

string

None.

Attachments

Collection of URI

None.

Manager

ApplicationUserDTO

None.

PlannedEvents

Collection of EventDTO

None.

Installations

Collection of InstallationDTO

None.

Type

string

None.

Cat1

string

None.

Cat2

string

None.

HandlingOrganisation

OrganisationDTO

None.

HandlingPerson

ApplicationUserDTO

None.

Status

WORequestStatus

None.

Locations

Collection of WORequestLocationDTO

None.

dateasked

date

None.

AuthState

AuthState

None.

IdIn3P

integer

None.

CodeIn3P

string

None.

HandlingPartyInformed

date

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

integer

None.

IsArchived

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "datestart": "2017-10-16T22:14:05.0159836+00:00",
  "dateend": "2017-10-16T22:14:05.0159836+00:00",
  "DesiredStartDate": "2017-10-16T22:14:05.0159836+00:00",
  "DesiredEndDate": "2017-10-16T22:14:05.0159836+00:00",
  "dateapproved": "2017-10-16T22:14:05.0159836+00:00",
  "Urgency": "sample string 1",
  "PublicExposed": true,
  "Comments": "sample string 3",
  "AuthRemarks": "sample string 4",
  "Requestors": [
    {
      "Intermediary": {
        "FirstName": "sample string 1",
        "LastName": "sample string 2",
        "Email": "sample string 3",
        "Phone": "sample string 4",
        "GSM": "sample string 5",
        "Fax": "sample string 6",
        "Street": "sample string 7",
        "HouseNr": "sample string 8",
        "Bus": "sample string 9",
        "PostalCode": "sample string 10",
        "City": "sample string 11",
        "Ssn": "sample string 12",
        "Country": "sample string 13",
        "Language": "sample string 14",
        "FullName": "sample string 1 sample string 2",
        "PortalUserID": "sample string 15",
        "Id": "ff134db3-dae0-4fa1-b2bf-986925ba5ed2",
        "Description": "sample string 17",
        "CrmId": 18,
        "IsArchived": true
      },
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "Email": "sample string 3",
      "Phone": "sample string 4",
      "GSM": "sample string 5",
      "Fax": "sample string 6",
      "Street": "sample string 7",
      "HouseNr": "sample string 8",
      "Bus": "sample string 9",
      "PostalCode": "sample string 10",
      "City": "sample string 11",
      "Ssn": "sample string 12",
      "Country": "sample string 13",
      "Language": "sample string 14",
      "FullName": "sample string 1 sample string 2",
      "PortalUserID": "sample string 15",
      "Id": "ac5268f3-2484-411a-865f-49a36108f4b0",
      "Description": "sample string 17",
      "CrmId": 18,
      "IsArchived": true
    },
    {
      "Intermediary": {
        "FirstName": "sample string 1",
        "LastName": "sample string 2",
        "Email": "sample string 3",
        "Phone": "sample string 4",
        "GSM": "sample string 5",
        "Fax": "sample string 6",
        "Street": "sample string 7",
        "HouseNr": "sample string 8",
        "Bus": "sample string 9",
        "PostalCode": "sample string 10",
        "City": "sample string 11",
        "Ssn": "sample string 12",
        "Country": "sample string 13",
        "Language": "sample string 14",
        "FullName": "sample string 1 sample string 2",
        "PortalUserID": "sample string 15",
        "Id": "ff134db3-dae0-4fa1-b2bf-986925ba5ed2",
        "Description": "sample string 17",
        "CrmId": 18,
        "IsArchived": true
      },
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "Email": "sample string 3",
      "Phone": "sample string 4",
      "GSM": "sample string 5",
      "Fax": "sample string 6",
      "Street": "sample string 7",
      "HouseNr": "sample string 8",
      "Bus": "sample string 9",
      "PostalCode": "sample string 10",
      "City": "sample string 11",
      "Ssn": "sample string 12",
      "Country": "sample string 13",
      "Language": "sample string 14",
      "FullName": "sample string 1 sample string 2",
      "PortalUserID": "sample string 15",
      "Id": "ac5268f3-2484-411a-865f-49a36108f4b0",
      "Description": "sample string 17",
      "CrmId": 18,
      "IsArchived": true
    }
  ],
  "IsComplaint": true,
  "Instructions": "sample string 6",
  "SourceType": 0,
  "VisitRequired": true,
  "VisitRemarks": "sample string 8",
  "Attachments": [
    "http://webapihelppage1.com",
    "http://webapihelppage2.com"
  ],
  "Manager": {
    "Id": "sample string 1",
    "Country": "BE",
    "Language": "NL",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "FullName": "sample string 2 sample string 3",
    "Email": "sample string 4",
    "DepartmentID": "4a71d914-2f15-4af5-a48c-6f9cc7a47f89",
    "CrmId": 5,
    "CrmUserId": 6,
    "Is3PUser": true,
    "IsWorkman": true,
    "IsExtern": true,
    "Roles": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "PlannedEvents": [
    {
      "Id": "d4f1d63d-c304-4103-95a3-9956395da98f",
      "WoId": "fd201531-f5cb-43e8-ba01-ede4c65422f5",
      "WOCHoursPersonId": 3,
      "WOIdIn3P": 4,
      "WOCodeIn3P": "sample string 5",
      "ExecutedIn3P": true,
      "Title": "sample string 7",
      "StartDate3P": "2017-10-16T22:14:05.0315902+00:00",
      "EndDate3P": "2017-10-16T22:14:05.0315902+00:00",
      "ExecutedStartDate": "2017-10-16T22:14:05.0315902+00:00",
      "ExecutedEndDate": "2017-10-16T22:14:05.0315902+00:00",
      "Locations": [
        {
          "RecursiveDescription": "sample string 1",
          "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
          "City": "sample string 2",
          "StreetName": "sample string 3",
          "HouseNumber": "sample string 4",
          "Zip": "sample string 5",
          "Country": "sample string 6",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
          "Description": "sample string 8",
          "CrmId": 9,
          "IsArchived": true
        },
        {
          "RecursiveDescription": "sample string 1",
          "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
          "City": "sample string 2",
          "StreetName": "sample string 3",
          "HouseNumber": "sample string 4",
          "Zip": "sample string 5",
          "Country": "sample string 6",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
          "Description": "sample string 8",
          "CrmId": 9,
          "IsArchived": true
        }
      ],
      "WorkmanIn3P": {
        "DepartmentName": "sample string 1",
        "FullNameWDep": "sample string 3 sample string 4 (sample string 1)",
        "Id": "sample string 2",
        "Country": "BE",
        "Language": "NL",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "FullName": "sample string 3 sample string 4",
        "Email": "sample string 5",
        "DepartmentID": "ff1a928e-05f2-4ad0-8ac0-253163db2f85",
        "CrmId": 6,
        "CrmUserId": 7,
        "Is3PUser": true,
        "IsWorkman": true,
        "IsExtern": true,
        "Roles": [
          "sample string 1",
          "sample string 2"
        ]
      },
      "Comments": "sample string 10"
    },
    {
      "Id": "d4f1d63d-c304-4103-95a3-9956395da98f",
      "WoId": "fd201531-f5cb-43e8-ba01-ede4c65422f5",
      "WOCHoursPersonId": 3,
      "WOIdIn3P": 4,
      "WOCodeIn3P": "sample string 5",
      "ExecutedIn3P": true,
      "Title": "sample string 7",
      "StartDate3P": "2017-10-16T22:14:05.0315902+00:00",
      "EndDate3P": "2017-10-16T22:14:05.0315902+00:00",
      "ExecutedStartDate": "2017-10-16T22:14:05.0315902+00:00",
      "ExecutedEndDate": "2017-10-16T22:14:05.0315902+00:00",
      "Locations": [
        {
          "RecursiveDescription": "sample string 1",
          "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
          "City": "sample string 2",
          "StreetName": "sample string 3",
          "HouseNumber": "sample string 4",
          "Zip": "sample string 5",
          "Country": "sample string 6",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
          "Description": "sample string 8",
          "CrmId": 9,
          "IsArchived": true
        },
        {
          "RecursiveDescription": "sample string 1",
          "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
          "City": "sample string 2",
          "StreetName": "sample string 3",
          "HouseNumber": "sample string 4",
          "Zip": "sample string 5",
          "Country": "sample string 6",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
          "Description": "sample string 8",
          "CrmId": 9,
          "IsArchived": true
        }
      ],
      "WorkmanIn3P": {
        "DepartmentName": "sample string 1",
        "FullNameWDep": "sample string 3 sample string 4 (sample string 1)",
        "Id": "sample string 2",
        "Country": "BE",
        "Language": "NL",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "FullName": "sample string 3 sample string 4",
        "Email": "sample string 5",
        "DepartmentID": "ff1a928e-05f2-4ad0-8ac0-253163db2f85",
        "CrmId": 6,
        "CrmUserId": 7,
        "Is3PUser": true,
        "IsWorkman": true,
        "IsExtern": true,
        "Roles": [
          "sample string 1",
          "sample string 2"
        ]
      },
      "Comments": "sample string 10"
    }
  ],
  "Installations": [
    {
      "OrganisationId": "ffb80f0d-23b8-4a87-b267-9cab3c1fc38a",
      "Id": "f9558758-ae0a-40bd-bd8f-f0ebaa5b1210",
      "Description": "sample string 3",
      "CrmId": 4,
      "IsArchived": true
    },
    {
      "OrganisationId": "ffb80f0d-23b8-4a87-b267-9cab3c1fc38a",
      "Id": "f9558758-ae0a-40bd-bd8f-f0ebaa5b1210",
      "Description": "sample string 3",
      "CrmId": 4,
      "IsArchived": true
    }
  ],
  "Type": "sample string 9",
  "Cat1": "sample string 10",
  "Cat2": "sample string 11",
  "HandlingOrganisation": {
    "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": "c7c641d6-b4d0-43bf-86d8-f7df55bee173",
    "Description": "sample string 7",
    "CrmId": 8,
    "IsArchived": true
  },
  "HandlingPerson": {
    "Id": "sample string 1",
    "Country": "BE",
    "Language": "NL",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "FullName": "sample string 2 sample string 3",
    "Email": "sample string 4",
    "DepartmentID": "4a71d914-2f15-4af5-a48c-6f9cc7a47f89",
    "CrmId": 5,
    "CrmUserId": 6,
    "Is3PUser": true,
    "IsWorkman": true,
    "IsExtern": true,
    "Roles": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "Status": 0,
  "Locations": [
    {
      "RecursiveDescription": "sample string 1",
      "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
      "City": "sample string 2",
      "StreetName": "sample string 3",
      "HouseNumber": "sample string 4",
      "Zip": "sample string 5",
      "Country": "sample string 6",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    },
    {
      "RecursiveDescription": "sample string 1",
      "CodifLocationID": "5757cf8a-d91e-49f9-ae6a-0019f96012c8",
      "City": "sample string 2",
      "StreetName": "sample string 3",
      "HouseNumber": "sample string 4",
      "Zip": "sample string 5",
      "Country": "sample string 6",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "8a92d2a5-cadb-47a9-9d54-c59b97bb8190",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    }
  ],
  "dateasked": "2017-10-16T22:14:05.0315902+00:00",
  "AuthState": "Pending",
  "IdIn3P": 12,
  "CodeIn3P": "sample string 13",
  "HandlingPartyInformed": "2017-10-16T22:14:05.0315902+00:00",
  "Id": "7313e688-466e-429a-b894-9ac29424b9c5",
  "Description": "sample string 15",
  "CrmId": 16,
  "IsArchived": true
}