POST api/Public/Requests?CrmId={CrmId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CrmId

integer

Required

Body Parameters

CreateFromPublicCommand
NameDescriptionTypeAdditional information
GRecaptchaResponse

string

None.

Attachments

Collection of string

None.

Status

WORequestStatus

None.

Locations

Collection of WORequestLocationDTO

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:
{
  "GRecaptchaResponse": "sample string 1",
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": 0,
  "Locations": [
    {
      "RecursiveDescription": "sample string 1",
      "CodifLocationID": "90ad394f-1ffc-4075-8084-f912656cd9a1",
      "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": "9fc4ecb0-8f5d-4eca-b335-1c0c1a1cebbd",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    },
    {
      "RecursiveDescription": "sample string 1",
      "CodifLocationID": "90ad394f-1ffc-4075-8084-f912656cd9a1",
      "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": "9fc4ecb0-8f5d-4eca-b335-1c0c1a1cebbd",
      "Description": "sample string 8",
      "CrmId": 9,
      "IsArchived": true
    }
  ],
  "dateasked": "2017-12-15T16:37:19.3303338+00:00",
  "datestart": "2017-12-15T16:37:19.3303338+00:00",
  "DesiredStartDate": "2017-12-15T16:37:19.3303338+00:00",
  "DesiredEndDate": "2017-12-15T16:37:19.3303338+00:00",
  "PublicExposed": true,
  "Comments": "sample string 3",
  "TypeID": "6b3d11fc-59bf-4965-b0c4-5f3ac2d2064e",
  "Cat1ID": "456c93c4-c050-4fdc-834e-d45cf4798c85",
  "Cat2ID": "210c535a-b587-42e1-a375-7c867b67f7c2",
  "UrgencyID": "b6519f7d-c998-4eb2-9544-68819e26b4f8",
  "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": "14596e24-8e7f-408f-ab4f-a27c308ef8a3",
        "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": "9ca817b3-e90e-4b0d-87a8-90899c48a429",
      "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": "14596e24-8e7f-408f-ab4f-a27c308ef8a3",
        "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": "9ca817b3-e90e-4b0d-87a8-90899c48a429",
      "Description": "sample string 17",
      "CrmId": 18,
      "IsArchived": true
    }
  ],
  "IsComplaint": true,
  "Instructions": "sample string 5",
  "SourceType": 0,
  "VisitRequired": true,
  "VisitRemarks": "sample string 7",
  "Id": "a517db47-b971-4188-a86a-3462e7cd4c1d",
  "Description": "sample string 9",
  "CrmId": 10,
  "IsArchived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.