POST api/ContactRequest/ContactRequestDirect?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

ContactRequestDirect
NameDescriptionTypeAdditional information
ContactMediaType

ContactedThrough

None.

RequestedFor

RequestedFor

None.

RequestedForEntityID

globally unique identifier

None.

IpGeoLocationDetail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactMediaType": 0,
  "RequestedFor": 0,
  "RequestedForEntityID": "e98d9816-2bab-4c36-803d-09e0405264b3",
  "IpGeoLocationDetail": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Message

string

None.

Code

string

None.

ID

globally unique identifier

None.

Errors

Collection of string

None.

ErrorCodes

Collection of ErrorCode

None.

Response Formats

application/json, text/json

Sample:
{
  "IsValid": true,
  "Message": "sample string 2",
  "Code": "sample string 3",
  "ID": "0bb8d3f2-2da6-42f1-8870-84d938858c4a",
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorCodes": [
    1,
    1
  ]
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">
  <Code>sample string 3</Code>
  <ErrorCodes>
    <ErrorCode>Success</ErrorCode>
    <ErrorCode>Success</ErrorCode>
  </ErrorCodes>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <ID>0bb8d3f2-2da6-42f1-8870-84d938858c4a</ID>
  <IsValid>true</IsValid>
  <Message>sample string 2</Message>
</Result>