POST API/Vehicle/SetSendForExpens?Details_ID={Details_ID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Details_ID | globally unique identifier |
Required |
Body Parameters
SendForExpensM| Name | Description | Type | Additional information |
|---|---|---|---|
| dtS | date |
None. |
|
| dtE | date |
None. |
|
| ID | globally unique identifier |
None. |
|
| VehicleService_ID | globally unique identifier |
None. |
|
| Department_ID | integer |
None. |
|
| Stock_ID | globally unique identifier |
None. |
|
| UnitOfMeasurement | integer |
None. |
|
| Quantity | integer |
None. |
|
| InventoryNumber | integer |
None. |
|
| Price | integer |
None. |
|
| Sum | integer |
None. |
|
| CreateDate | date |
None. |
|
| UpdatePerson_ID | globally unique identifier |
None. |
|
| UpdateDate | date |
None. |
|
| StockIncoming_ID | globally unique identifier |
None. |
|
| Stock | StockM |
None. |
Request Formats
application/json, text/json
Sample:
{
"dtS": "2026-07-16T03:18:07.9873132+05:00",
"dtE": "2026-07-16T03:18:07.9873132+05:00",
"ID": "07fd8164-7d68-4dcc-a9be-798bddd4d2c3",
"VehicleService_ID": "97fe2347-aaf7-4555-90bc-32cbc793f254",
"Department_ID": 3,
"Stock_ID": "d0c376fa-c041-4b8b-b93e-d8fca51d5a15",
"UnitOfMeasurement": 5,
"Quantity": 6,
"InventoryNumber": 7,
"Price": 8,
"Sum": 9,
"CreateDate": "2026-07-16T03:18:07.9873132+05:00",
"UpdatePerson_ID": "2e91e765-2081-4711-8478-59cac0541ae0",
"UpdateDate": "2026-07-16T03:18:07.9873132+05:00",
"StockIncoming_ID": "66343b09-04b0-4fc9-86c6-a0ecd1916496",
"Stock": {
"ID": "83e8b2f9-a00e-4177-9be9-ca2308a50870",
"Code": 2,
"Name": "sample string 3",
"CreateDate": "2026-07-16T03:18:07.9873132+05:00"
}
}
application/xml, text/xml
Sample:
<SendForExpensM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
<CreateDate>2026-07-16T03:18:07.9873132+05:00</CreateDate>
<Department_ID>3</Department_ID>
<ID>07fd8164-7d68-4dcc-a9be-798bddd4d2c3</ID>
<InventoryNumber>7</InventoryNumber>
<Price>8</Price>
<Quantity>6</Quantity>
<Stock>
<Code>2</Code>
<CreateDate>2026-07-16T03:18:07.9873132+05:00</CreateDate>
<ID>83e8b2f9-a00e-4177-9be9-ca2308a50870</ID>
<Name>sample string 3</Name>
</Stock>
<StockIncoming_ID>66343b09-04b0-4fc9-86c6-a0ecd1916496</StockIncoming_ID>
<Stock_ID>d0c376fa-c041-4b8b-b93e-d8fca51d5a15</Stock_ID>
<Sum>9</Sum>
<UnitOfMeasurement>5</UnitOfMeasurement>
<UpdateDate>2026-07-16T03:18:07.9873132+05:00</UpdateDate>
<UpdatePerson_ID>2e91e765-2081-4711-8478-59cac0541ae0</UpdatePerson_ID>
<VehicleService_ID>97fe2347-aaf7-4555-90bc-32cbc793f254</VehicleService_ID>
<dtE>2026-07-16T03:18:07.9873132+05:00</dtE>
<dtS>2026-07-16T03:18:07.9873132+05:00</dtS>
</SendForExpensM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Interaction"> <message>sample string 2</message> <success>true</success> </CommonResponse>