Save GateManagement
API for Save GateManagement
URL
securitysystems/gatemgmt_save
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | bdiONQiaVdBqjrlUEXmyqGApMd11JpST | Key obtained from authentiaction. |
| outpassdetails | Object | M | Object of OutPassClass | |||
| weighmentdetails | Array | M | List Of Weighment Transaction | |||
| GrossTime | String | M | 2023-07-25 15:42:41 | Gross Time | ||
| ImageIds | String | M | fe8fc51fa01dafe,ff320cb6ae42404 | Image IDs | ||
| Product | Integer | M | 4 | Product Code | ||
| vcode | Integer | M | 324 | Unique Code for Vehicle | ||
| isExternal | Boolean | M | isExternal | |||
| TareWeight | Decimal | M | 0.00 | Tare Weight | ||
| GrossWeight | Decimal | M | 0.00 | Gross Weight | ||
| TareTime | String | M | 2023-07-25 11:02:59 | Tare Time | ||
| source | String | M | source | Source | ||
| Slno | Integer | M | 23072500001 | 23072500001 | ||
| GateInSlno | Integer | M | 23072500003 | Serial Number of Gate In | ||
| GateInDate | String | M | 2023-07-25 11:02:59 | Gate In Date | ||
| Cancelled | String | M | False | Cancel | ||
| Qrcode | String | M | #230725_X_4_0_OPASS_23072500002 | Qr Code | ||
| Remarks | String | M | Remarks | Remarks(Comments if any) | ||
| Ucode | Integer | M | 1 | User Code | ||
| Eventid | Integer | M | 18 | Event Id | ||
| CamdetectedVehicle | String | M | KA01AB9605 | Camera Detected Vehicle Name | ||
| CamdetectedTime | String | M | 2023-07-25 16:13:45 | Camera Detected Time | ||
| Vehiclestatus | String | M | G | For Getting Pending Vehicle List (Need to update Status accordingly F - Gate In, T - Gate Out, G - Gatepass,O - Outpass) | ||
| Camimagelist | String | M | fe8fc51f974465ba01dafe,ff320cb6a4b8710f5a7ab19461 | Camera Image List | ||
| gpno | Integer | M | 2307120001 | Serial Number of Invoice_int | ||
| Locationdetails | Object | M | Object of DeviceConfigurationClass | |||
| Vehicledetails | Object | M | Object of Vehicle |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| slno | Integer | M | 23072500001 | Serial Number |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"outpassdetails": "",
"weighmentdetails": [
{
"GrossTime": "2023-07-25 15:42:41",
"ImageIds": "fe8fc51fa01dafe,ff320cb6ae42404",
"Product": "4",
"vcode": "324",
"isExternal": "",
"TareWeight": "0.00",
"GrossWeight": "0.00",
"TareTime": "2023-07-25 11:02:59",
"source": "source"
}
],
"Slno": "23072500001",
"GateInSlno": "23072500003",
"GateInDate": "2023-07-25 11:02:59",
"Cancelled": "False",
"Qrcode": "#230725_X_4_0_OPASS_23072500002",
"Remarks": "Remarks",
"Ucode": "1",
"Eventid": "18",
"CamdetectedVehicle": "KA01AB9605",
"CamdetectedTime": "2023-07-25 16:13:45",
"Vehiclestatus": "G",
"Camimagelist": "fe8fc51f974465ba01dafe,ff320cb6a4b8710f5a7ab19461",
"gpno": "2307120001",
"Locationdetails": "",
"Vehicledetails": ""
}
Sample Success Response
{
"slno": "23072500001",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}