POST apiwba/bacam/getdeviceinfobyxnplate
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
BacamDeviceInfoGetByXnCodePlateO| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of MemCamDeviceInfoApi |
None. |
|
| ProcessErrorType | integer |
None. |
|
| ProcessErrorDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"XNCode": 1,
"VehiclePlate": "sample string 2",
"Cameras": [
{
"State": 1,
"Channel": 2
},
{
"State": 1,
"Channel": 2
}
],
"Storages": [
{
"Free": 1,
"Total": 2,
"State": 3
},
{
"Free": 1,
"Total": 2,
"State": 3
}
],
"Net": 3,
"CSQ": 4
},
{
"XNCode": 1,
"VehiclePlate": "sample string 2",
"Cameras": [
{
"State": 1,
"Channel": 2
},
{
"State": 1,
"Channel": 2
}
],
"Storages": [
{
"Free": 1,
"Total": 2,
"State": 3
},
{
"Free": 1,
"Total": 2,
"State": 3
}
],
"Net": 3,
"CSQ": 4
}
],
"ProcessErrorType": 1,
"ProcessErrorDescription": "sample string 2"
}
application/xml, text/xml
Sample:
<BacamDeviceInfoGetByXnCodePlateO 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:MemCamDeviceInfoApi>
<d2p1:CSQ>4</d2p1:CSQ>
<d2p1:Cameras>
<d2p1:MemCamDeviceInfoCamera>
<d2p1:Channel>2</d2p1:Channel>
<d2p1:State>1</d2p1:State>
</d2p1:MemCamDeviceInfoCamera>
<d2p1:MemCamDeviceInfoCamera>
<d2p1:Channel>2</d2p1:Channel>
<d2p1:State>1</d2p1:State>
</d2p1:MemCamDeviceInfoCamera>
</d2p1:Cameras>
<d2p1:Net>3</d2p1:Net>
<d2p1:Storages>
<d2p1:MemCamDeviceInfoStorage>
<d2p1:Free>1</d2p1:Free>
<d2p1:State>3</d2p1:State>
<d2p1:Total>2</d2p1:Total>
</d2p1:MemCamDeviceInfoStorage>
<d2p1:MemCamDeviceInfoStorage>
<d2p1:Free>1</d2p1:Free>
<d2p1:State>3</d2p1:State>
<d2p1:Total>2</d2p1:Total>
</d2p1:MemCamDeviceInfoStorage>
</d2p1:Storages>
<d2p1:VehiclePlate>sample string 2</d2p1:VehiclePlate>
<d2p1:XNCode>1</d2p1:XNCode>
</d2p1:MemCamDeviceInfoApi>
<d2p1:MemCamDeviceInfoApi>
<d2p1:CSQ>4</d2p1:CSQ>
<d2p1:Cameras>
<d2p1:MemCamDeviceInfoCamera>
<d2p1:Channel>2</d2p1:Channel>
<d2p1:State>1</d2p1:State>
</d2p1:MemCamDeviceInfoCamera>
<d2p1:MemCamDeviceInfoCamera>
<d2p1:Channel>2</d2p1:Channel>
<d2p1:State>1</d2p1:State>
</d2p1:MemCamDeviceInfoCamera>
</d2p1:Cameras>
<d2p1:Net>3</d2p1:Net>
<d2p1:Storages>
<d2p1:MemCamDeviceInfoStorage>
<d2p1:Free>1</d2p1:Free>
<d2p1:State>3</d2p1:State>
<d2p1:Total>2</d2p1:Total>
</d2p1:MemCamDeviceInfoStorage>
<d2p1:MemCamDeviceInfoStorage>
<d2p1:Free>1</d2p1:Free>
<d2p1:State>3</d2p1:State>
<d2p1:Total>2</d2p1:Total>
</d2p1:MemCamDeviceInfoStorage>
</d2p1:Storages>
<d2p1:VehiclePlate>sample string 2</d2p1:VehiclePlate>
<d2p1:XNCode>1</d2p1:XNCode>
</d2p1:MemCamDeviceInfoApi>
</Data>
</BacamDeviceInfoGetByXnCodePlateO>