DELETE api/vehicle/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResultOfVehicle
NameDescriptionTypeAdditional information
Data

Vehicle

None.

Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": 1,
    "CompanyId": 2,
    "DeviceId": 1,
    "VehicleGroupId": 1,
    "Plate": "sample string 3",
    "CreatedDate": "2025-09-06T09:43:15.1589393+07:00",
    "RegisterDate": "2025-09-06T09:43:15.1589393+07:00",
    "NextRegisterDate": "2025-09-06T09:43:15.1589393+07:00",
    "SensorMask": 1,
    "SensorControl": "sample string 4",
    "Maxspeed": 1.1,
    "Remark": "sample string 5",
    "Inactive": true,
    "LastModified": "2025-09-06T09:43:15.1589393+07:00"
  },
  "Code": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResultOfVehicleDN9tKhfj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vietmap.Common">
  <Code>sample string 1</Code>
  <Message>sample string 2</Message>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vietmap.Camera.DataModels">
    <d2p1:CompanyId>2</d2p1:CompanyId>
    <d2p1:CreatedDate>2025-09-06T09:43:15.1589393+07:00</d2p1:CreatedDate>
    <d2p1:DeviceId>1</d2p1:DeviceId>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Inactive>true</d2p1:Inactive>
    <d2p1:LastModified>2025-09-06T09:43:15.1589393+07:00</d2p1:LastModified>
    <d2p1:Maxspeed>1.1</d2p1:Maxspeed>
    <d2p1:NextRegisterDate>2025-09-06T09:43:15.1589393+07:00</d2p1:NextRegisterDate>
    <d2p1:Plate>sample string 3</d2p1:Plate>
    <d2p1:RegisterDate>2025-09-06T09:43:15.1589393+07:00</d2p1:RegisterDate>
    <d2p1:Remark>sample string 5</d2p1:Remark>
    <d2p1:SensorControl>sample string 4</d2p1:SensorControl>
    <d2p1:SensorMask>1</d2p1:SensorMask>
    <d2p1:VehicleGroupId>1</d2p1:VehicleGroupId>
  </Data>
</ResultOfVehicleDN9tKhfj>