POST apiwba/bacam/getdeviceinfobyxnplate2
Request Information
URI Parameters
None.
Body Parameters
BacamPackageGetByXnCodePlateInput| Name | Description | Type | Additional information |
|---|---|---|---|
| LstPlate | Collection of string |
None. |
|
| XNCode | integer |
None. |
|
| System | string |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LstPlate": [
"sample string 1",
"sample string 2"
],
"XNCode": 1,
"System": "sample string 2",
"Username": "sample string 3",
"Password": "sample string 4"
}
application/xml, text/xml
Sample:
<BacamPackageGetByXnCodePlateInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<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>
<System>sample string 2</System>
<LstPlate xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</LstPlate>
<XNCode>1</XNCode>
</BacamPackageGetByXnCodePlateInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BacamDeviceInfoGetByXnCodePlate2O| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of DeviceInfoV2OData |
None. |
|
| ProcessErrorType | integer |
None. |
|
| ProcessErrorDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"IMEI": "sample string 1",
"Customer": "sample string 2",
"Vehicle": "sample string 3",
"Time": "2026-04-04T18:14:18.4754933+07:00",
"Lng": 5.1,
"Lat": 6.1,
"GSpeed": 64,
"ESpeed": 64,
"State": 9,
"Net": 10,
"Band": 11,
"CSQ": 12,
"Acquy": 13,
"Error": 14,
"Cameras": [
{
"Channel": 64,
"State": 2,
"Status": 3,
"Record": true,
"Stream": true,
"Error": 6,
"STimeout": 7,
"STotal": 8,
"FPS": 9,
"Alert": 10
},
{
"Channel": 64,
"State": 2,
"Status": 3,
"Record": true,
"Stream": true,
"Error": 6,
"STimeout": 7,
"STotal": 8,
"FPS": 9,
"Alert": 10
}
],
"Storages": [
{
"State": 1,
"Type": 64,
"Error": 3,
"Total": 4,
"Free": 5
},
{
"State": 1,
"Type": 64,
"Error": 3,
"Total": 4,
"Free": 5
}
]
},
{
"IMEI": "sample string 1",
"Customer": "sample string 2",
"Vehicle": "sample string 3",
"Time": "2026-04-04T18:14:18.4754933+07:00",
"Lng": 5.1,
"Lat": 6.1,
"GSpeed": 64,
"ESpeed": 64,
"State": 9,
"Net": 10,
"Band": 11,
"CSQ": 12,
"Acquy": 13,
"Error": 14,
"Cameras": [
{
"Channel": 64,
"State": 2,
"Status": 3,
"Record": true,
"Stream": true,
"Error": 6,
"STimeout": 7,
"STotal": 8,
"FPS": 9,
"Alert": 10
},
{
"Channel": 64,
"State": 2,
"Status": 3,
"Record": true,
"Stream": true,
"Error": 6,
"STimeout": 7,
"STotal": 8,
"FPS": 9,
"Alert": 10
}
],
"Storages": [
{
"State": 1,
"Type": 64,
"Error": 3,
"Total": 4,
"Free": 5
},
{
"State": 1,
"Type": 64,
"Error": 3,
"Total": 4,
"Free": 5
}
]
}
],
"ProcessErrorType": 1,
"ProcessErrorDescription": "sample string 2"
}
application/xml, text/xml
Sample:
<BacamDeviceInfoGetByXnCodePlate2O xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<ProcessErrorDescription xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</ProcessErrorDescription>
<ProcessErrorType xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">1</ProcessErrorType>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Common">
<d2p1:DeviceInfoV2OData>
<d2p1:Acquy>13</d2p1:Acquy>
<d2p1:Band>11</d2p1:Band>
<d2p1:CSQ>12</d2p1:CSQ>
<d2p1:Cameras>
<d2p1:DeviceInfoV2OChannelData>
<d2p1:Alert>10</d2p1:Alert>
<d2p1:Channel>64</d2p1:Channel>
<d2p1:Error>6</d2p1:Error>
<d2p1:FPS>9</d2p1:FPS>
<d2p1:Record>true</d2p1:Record>
<d2p1:STimeout>7</d2p1:STimeout>
<d2p1:STotal>8</d2p1:STotal>
<d2p1:State>2</d2p1:State>
<d2p1:Status>3</d2p1:Status>
<d2p1:Stream>true</d2p1:Stream>
</d2p1:DeviceInfoV2OChannelData>
<d2p1:DeviceInfoV2OChannelData>
<d2p1:Alert>10</d2p1:Alert>
<d2p1:Channel>64</d2p1:Channel>
<d2p1:Error>6</d2p1:Error>
<d2p1:FPS>9</d2p1:FPS>
<d2p1:Record>true</d2p1:Record>
<d2p1:STimeout>7</d2p1:STimeout>
<d2p1:STotal>8</d2p1:STotal>
<d2p1:State>2</d2p1:State>
<d2p1:Status>3</d2p1:Status>
<d2p1:Stream>true</d2p1:Stream>
</d2p1:DeviceInfoV2OChannelData>
</d2p1:Cameras>
<d2p1:Customer>sample string 2</d2p1:Customer>
<d2p1:ESpeed>64</d2p1:ESpeed>
<d2p1:Error>14</d2p1:Error>
<d2p1:GSpeed>64</d2p1:GSpeed>
<d2p1:IMEI>sample string 1</d2p1:IMEI>
<d2p1:Lat>6.1</d2p1:Lat>
<d2p1:Lng>5.1</d2p1:Lng>
<d2p1:Net>10</d2p1:Net>
<d2p1:State>9</d2p1:State>
<d2p1:Storages>
<d2p1:DeviceInfoV2OStorageData>
<d2p1:Error>3</d2p1:Error>
<d2p1:Free>5</d2p1:Free>
<d2p1:State>1</d2p1:State>
<d2p1:Total>4</d2p1:Total>
<d2p1:Type>64</d2p1:Type>
</d2p1:DeviceInfoV2OStorageData>
<d2p1:DeviceInfoV2OStorageData>
<d2p1:Error>3</d2p1:Error>
<d2p1:Free>5</d2p1:Free>
<d2p1:State>1</d2p1:State>
<d2p1:Total>4</d2p1:Total>
<d2p1:Type>64</d2p1:Type>
</d2p1:DeviceInfoV2OStorageData>
</d2p1:Storages>
<d2p1:Time>2026-04-04T18:14:18.4754933+07:00</d2p1:Time>
<d2p1:Vehicle>sample string 3</d2p1:Vehicle>
</d2p1:DeviceInfoV2OData>
<d2p1:DeviceInfoV2OData>
<d2p1:Acquy>13</d2p1:Acquy>
<d2p1:Band>11</d2p1:Band>
<d2p1:CSQ>12</d2p1:CSQ>
<d2p1:Cameras>
<d2p1:DeviceInfoV2OChannelData>
<d2p1:Alert>10</d2p1:Alert>
<d2p1:Channel>64</d2p1:Channel>
<d2p1:Error>6</d2p1:Error>
<d2p1:FPS>9</d2p1:FPS>
<d2p1:Record>true</d2p1:Record>
<d2p1:STimeout>7</d2p1:STimeout>
<d2p1:STotal>8</d2p1:STotal>
<d2p1:State>2</d2p1:State>
<d2p1:Status>3</d2p1:Status>
<d2p1:Stream>true</d2p1:Stream>
</d2p1:DeviceInfoV2OChannelData>
<d2p1:DeviceInfoV2OChannelData>
<d2p1:Alert>10</d2p1:Alert>
<d2p1:Channel>64</d2p1:Channel>
<d2p1:Error>6</d2p1:Error>
<d2p1:FPS>9</d2p1:FPS>
<d2p1:Record>true</d2p1:Record>
<d2p1:STimeout>7</d2p1:STimeout>
<d2p1:STotal>8</d2p1:STotal>
<d2p1:State>2</d2p1:State>
<d2p1:Status>3</d2p1:Status>
<d2p1:Stream>true</d2p1:Stream>
</d2p1:DeviceInfoV2OChannelData>
</d2p1:Cameras>
<d2p1:Customer>sample string 2</d2p1:Customer>
<d2p1:ESpeed>64</d2p1:ESpeed>
<d2p1:Error>14</d2p1:Error>
<d2p1:GSpeed>64</d2p1:GSpeed>
<d2p1:IMEI>sample string 1</d2p1:IMEI>
<d2p1:Lat>6.1</d2p1:Lat>
<d2p1:Lng>5.1</d2p1:Lng>
<d2p1:Net>10</d2p1:Net>
<d2p1:State>9</d2p1:State>
<d2p1:Storages>
<d2p1:DeviceInfoV2OStorageData>
<d2p1:Error>3</d2p1:Error>
<d2p1:Free>5</d2p1:Free>
<d2p1:State>1</d2p1:State>
<d2p1:Total>4</d2p1:Total>
<d2p1:Type>64</d2p1:Type>
</d2p1:DeviceInfoV2OStorageData>
<d2p1:DeviceInfoV2OStorageData>
<d2p1:Error>3</d2p1:Error>
<d2p1:Free>5</d2p1:Free>
<d2p1:State>1</d2p1:State>
<d2p1:Total>4</d2p1:Total>
<d2p1:Type>64</d2p1:Type>
</d2p1:DeviceInfoV2OStorageData>
</d2p1:Storages>
<d2p1:Time>2026-04-04T18:14:18.4754933+07:00</d2p1:Time>
<d2p1:Vehicle>sample string 3</d2p1:Vehicle>
</d2p1:DeviceInfoV2OData>
</Data>
</BacamDeviceInfoGetByXnCodePlate2O>