POST api/vehiclepass/insert
Request Information
URI Parameters
None.
Body Parameters
InsertVehiclePassRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PassNo | integer |
None. |
|
| VehicleID | integer |
None. |
|
| VehicleName | string |
None. |
|
| LedgerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| ProductID | integer |
None. |
|
| EmptyWeight | decimal number |
None. |
|
| FullWeight | decimal number |
None. |
|
| FinalWeight | decimal number |
None. |
|
| UserID | integer |
None. |
|
| Date | string |
None. |
|
| BranchID | integer |
None. |
|
| ActionStatus | string |
None. |
|
| PassType | string |
None. |
|
| RefNo | integer |
None. |
|
| PassID | integer |
None. |
|
| EmptyTime | string |
None. |
|
| FullTime | string |
None. |
|
| GPNo | integer |
None. |
|
| TransactionNumberID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PassNo": 1,
"VehicleID": 2,
"VehicleName": "sample string 3",
"LedgerID": 4,
"CustomerName": "sample string 5",
"ProductID": 6,
"EmptyWeight": 7.0,
"FullWeight": 8.0,
"FinalWeight": 9.0,
"UserID": 10,
"Date": "sample string 11",
"BranchID": 12,
"ActionStatus": "sample string 13",
"PassType": "sample string 14",
"RefNo": 15,
"PassID": 16,
"EmptyTime": "sample string 17",
"FullTime": "sample string 18",
"GPNo": 19,
"TransactionNumberID": 20
}
application/xml, text/xml
Sample:
<InsertVehiclePassRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <ActionStatus>sample string 13</ActionStatus> <BranchID>12</BranchID> <CustomerName>sample string 5</CustomerName> <Date>sample string 11</Date> <EmptyTime>sample string 17</EmptyTime> <EmptyWeight>7</EmptyWeight> <FinalWeight>9</FinalWeight> <FullTime>sample string 18</FullTime> <FullWeight>8</FullWeight> <GPNo>19</GPNo> <LedgerID>4</LedgerID> <PassID>16</PassID> <PassNo>1</PassNo> <PassType>sample string 14</PassType> <ProductID>6</ProductID> <RefNo>15</RefNo> <TransactionNumberID>20</TransactionNumberID> <UserID>10</UserID> <VehicleID>2</VehicleID> <VehicleName>sample string 3</VehicleName> </InsertVehiclePassRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.