POST api/all/addbotassignve

Request Information

URI Parameters

None.

Body Parameters

AddBotAssignVeI
NameDescriptionTypeAdditional information
XnCode

integer

None.

VehiclePlate

string

None.

Bottles

Collection of EsvBottle

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "XnCode": 1,
  "VehiclePlate": "sample string 2",
  "Bottles": [
    {
      "Relations": "sample string 1",
      "ModelID": 2,
      "BrandID": 3,
      "BottleTypeID": 4,
      "SensorLength": 5,
      "Note": "sample string 6"
    },
    {
      "Relations": "sample string 1",
      "ModelID": 2,
      "BrandID": 3,
      "BottleTypeID": 4,
      "SensorLength": 5,
      "Note": "sample string 6"
    }
  ],
  "Username": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<AddBotAssignVeI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 4</Password>
  <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 3</Username>
  <Bottles>
    <EsvBottle>
      <BottleTypeID>4</BottleTypeID>
      <BrandID>3</BrandID>
      <ModelID>2</ModelID>
      <Note>sample string 6</Note>
      <Relations>sample string 1</Relations>
      <SensorLength>5</SensorLength>
    </EsvBottle>
    <EsvBottle>
      <BottleTypeID>4</BottleTypeID>
      <BrandID>3</BrandID>
      <ModelID>2</ModelID>
      <Note>sample string 6</Note>
      <Relations>sample string 1</Relations>
      <SensorLength>5</SensorLength>
    </EsvBottle>
  </Bottles>
  <VehiclePlate>sample string 2</VehiclePlate>
  <XnCode>1</XnCode>
</AddBotAssignVeI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddBotAssignVeO
NameDescriptionTypeAdditional information
MessageResult

string

None.

IsSucceed

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "IsSucceed": true
}

application/xml, text/xml

Sample:
<AddBotAssignVeO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <IsSucceed xmlns="http://schemas.datacontract.org/2004/07/API.Model">true</IsSucceed>
  <MessageResult xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 1</MessageResult>
</AddBotAssignVeO>