POST api/VehicleLoad/AssociateBorderaux

Request Information

URI Parameters

None.

Body Parameters

VehicleLoad_AssociateBorderauxRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

BorderauxCode

string

None.

Driver

Driver

None.

VehicleRoom

VehicleRoom

None.

Note

string

None.

IdOperator

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceUniqueId": "sample string 1",
  "BorderauxCode": "sample string 2",
  "Driver": {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3"
  },
  "VehicleRoom": {
    "IdVehicle": 1,
    "IdVehicleRoom": 2,
    "ProbeCode": "sample string 3",
    "RoomType": {
      "IdVehicleRoomType": 1,
      "Description": "sample string 2",
      "LowerBound": 3.0,
      "UpperBound": 4.0
    }
  },
  "Note": "sample string 3",
  "IdOperator": 4
}

application/xml, text/xml

Sample:
<VehicleLoad_AssociateBorderauxRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <BorderauxCode>sample string 2</BorderauxCode>
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
  <Driver>
    <Code>sample string 2</Code>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </Driver>
  <IdOperator>4</IdOperator>
  <Note>sample string 3</Note>
  <VehicleRoom>
    <IdVehicle>1</IdVehicle>
    <IdVehicleRoom>2</IdVehicleRoom>
    <ProbeCode>sample string 3</ProbeCode>
    <RoomType>
      <Description>sample string 2</Description>
      <IdVehicleRoomType>1</IdVehicleRoomType>
      <LowerBound>3</LowerBound>
      <UpperBound>4</UpperBound>
    </RoomType>
  </VehicleRoom>
</VehicleLoad_AssociateBorderauxRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VehicleLoad_AssociateBorderauxResult

Response Formats

application/json, text/json

Sample:
0

application/xml, text/xml

Sample:
<VehicleLoad_Enumerators.VehicleLoad_AssociateBorderauxResult xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">GenericError</VehicleLoad_Enumerators.VehicleLoad_AssociateBorderauxResult>