POST api/driverentry/insert
Request Information
URI Parameters
None.
Body Parameters
InsertDriverEntryRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverEntryID | integer |
None. |
|
| TransactionNumberID | integer |
None. |
|
| CounterSessionID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| EmployeeID | integer |
None. |
|
| LoadTypeID | integer |
None. |
|
| ProjectManagementID | integer |
None. |
|
| NoLoads | decimal number |
None. |
|
| LoadRate | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Date | date |
None. |
|
| Remarks | string |
None. |
|
| UserID | integer |
None. |
|
| VehicleID | integer |
None. |
|
| DriverLedgerID | integer |
None. |
|
| DriverExpenseAccountID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverEntryID": 1,
"TransactionNumberID": 2,
"CounterSessionID": 3,
"FinancialYearID": 4,
"EmployeeID": 5,
"LoadTypeID": 6,
"ProjectManagementID": 7,
"NoLoads": 8.0,
"LoadRate": 9.0,
"Amount": 10.0,
"Date": "2026-10-15T11:12:21.2590722-07:00",
"Remarks": "sample string 12",
"UserID": 13,
"VehicleID": 14,
"DriverLedgerID": 15,
"DriverExpenseAccountID": 16
}
application/xml, text/xml
Sample:
<InsertDriverEntryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <Amount>10</Amount> <CounterSessionID>3</CounterSessionID> <Date>2026-10-15T11:12:21.2590722-07:00</Date> <DriverEntryID>1</DriverEntryID> <DriverExpenseAccountID>16</DriverExpenseAccountID> <DriverLedgerID>15</DriverLedgerID> <EmployeeID>5</EmployeeID> <FinancialYearID>4</FinancialYearID> <LoadRate>9</LoadRate> <LoadTypeID>6</LoadTypeID> <NoLoads>8</NoLoads> <ProjectManagementID>7</ProjectManagementID> <Remarks>sample string 12</Remarks> <TransactionNumberID>2</TransactionNumberID> <UserID>13</UserID> <VehicleID>14</VehicleID> </InsertDriverEntryRequestModel>
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.