POST api/Requests

Request Information

URI Parameters

None.

Body Parameters

CreateFromPortalCommand
NameDescriptionTypeAdditional information
InstallationIds

Collection of globally unique identifier

None.

Attachments

Collection of string

None.

Status

WORequestStatus

None.

Locations

Collection of RequestLocationDTO

None.

dateasked

date

None.

datestart

date

None.

DesiredStartDate

date

None.

DesiredEndDate

date

None.

PublicExposed

boolean

None.

Comments

string

None.

TypeID

globally unique identifier

None.

Cat1ID

globally unique identifier

None.

Cat2ID

globally unique identifier

None.

UrgencyID

globally unique identifier

None.

Requestors

Collection of RequestorDTO

None.

IsComplaint

boolean

None.

Instructions

string

None.

SourceType

WOSourceType

None.

VisitRequired

boolean

None.

VisitRemarks

string

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

integer

None.

IsArchived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "InstallationIds": [
    "27660f89-aec2-4c1f-862e-cac1f955eb5c",
    "d764518d-bc6f-41ee-a1b7-e0b13185c89a"
  ],
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": 0,
  "Locations": [
    {
      "CodifLocationID": "0baff302-5e1c-4294-9951-62581396245f",
      "RecursiveDescription": "sample string 1",
      "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": "7a01ba70-9a12-484c-a62f-a9c853e86567",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    },
    {
      "CodifLocationID": "0baff302-5e1c-4294-9951-62581396245f",
      "RecursiveDescription": "sample string 1",
      "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": "7a01ba70-9a12-484c-a62f-a9c853e86567",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    }
  ],
  "dateasked": "2017-08-23T23:23:00.4920721+00:00",
  "datestart": "2017-08-23T23:23:00.4920721+00:00",
  "DesiredStartDate": "2017-08-23T23:23:00.4920721+00:00",
  "DesiredEndDate": "2017-08-23T23:23:00.4920721+00:00",
  "PublicExposed": true,
  "Comments": "sample string 2",
  "TypeID": "f0b5b8a6-d11c-4fed-9c55-c60a3f980e8c",
  "Cat1ID": "5f5db3bf-5d71-41dc-81b9-b5181839f84c",
  "Cat2ID": "64e46628-5188-4b64-ae79-653fbd1177f8",
  "UrgencyID": "4c8e3a05-4af6-4cb0-99b4-0b4ce62182ff",
  "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": "34c1b0cc-75db-4c6a-bbec-ded53248fce2",
        "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": "4ead3233-33b8-48e8-8896-a094e6b06e00",
      "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": "34c1b0cc-75db-4c6a-bbec-ded53248fce2",
        "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": "4ead3233-33b8-48e8-8896-a094e6b06e00",
      "Description": "sample string 17",
      "CrmId": 18,
      "IsArchived": true
    }
  ],
  "IsComplaint": true,
  "Instructions": "sample string 4",
  "SourceType": 0,
  "VisitRequired": true,
  "VisitRemarks": "sample string 6",
  "Id": "d949795c-d18e-444b-a18e-b3050b6257bc",
  "Description": "sample string 8",
  "CrmId": 9,
  "IsArchived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ObjectCreationInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "56fc049b-6ce6-4337-bed7-da222429a578"
}