POST api/MultiAvl

Request Information

URI Parameters

None.

Body Parameters

MultiAvl
NameDescriptionTypeAdditional information
Authentication

Authentication

Required

AvlUpdates

Collection of AvlUpdate

Required

Request Formats

application/json, text/json

Sample:
{
  "Authentication": {
    "UserId": "sample string 1",
    "Password": "sample string 2"
  },
  "AvlUpdates": [
    {
      "UnitId": "sample string 1",
      "Latitude": 2.1,
      "Longitude": 3.1,
      "Course": 4,
      "Speed": 5,
      "TimeDateOfEntry": "sample string 6",
      "IsTestMessage": true,
      "PersistAvl": true
    },
    {
      "UnitId": "sample string 1",
      "Latitude": 2.1,
      "Longitude": 3.1,
      "Course": 4,
      "Speed": 5,
      "TimeDateOfEntry": "sample string 6",
      "IsTestMessage": true,
      "PersistAvl": true
    }
  ]
}

application/xml, text/xml

Sample:
<MultiAvl xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Authentication>
    <UserId>sample string 1</UserId>
    <Password>sample string 2</Password>
  </Authentication>
  <AvlUpdates>
    <AvlUpdate>
      <UnitId>sample string 1</UnitId>
      <Latitude>2.1</Latitude>
      <Longitude>3.1</Longitude>
      <Course>4</Course>
      <Speed>5</Speed>
      <TimeDateOfEntry>sample string 6</TimeDateOfEntry>
      <IsTestMessage>true</IsTestMessage>
      <PersistAvl>true</PersistAvl>
    </AvlUpdate>
    <AvlUpdate>
      <UnitId>sample string 1</UnitId>
      <Latitude>2.1</Latitude>
      <Longitude>3.1</Longitude>
      <Course>4</Course>
      <Speed>5</Speed>
      <TimeDateOfEntry>sample string 6</TimeDateOfEntry>
      <IsTestMessage>true</IsTestMessage>
      <PersistAvl>true</PersistAvl>
    </AvlUpdate>
  </AvlUpdates>
</MultiAvl>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
Success

boolean

Required

Message

string

Required

MessageID

string

None.

Time

string

None.

Type

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "MessageID": "sample string 3",
  "Time": "sample string 4",
  "Type": "sample string 5"
}

application/xml, text/xml

Sample:
<ResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <Message>sample string 2</Message>
  <MessageID>sample string 3</MessageID>
  <Time>sample string 4</Time>
  <Type>sample string 5</Type>
</ResponseMessage>