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-03-18T05:01:42.1554372+05:00",
"dtE": "2026-03-18T05:01:42.1554372+05:00",
"ID": "19f6b127-462b-41d7-8cfa-8ebbaa541460",
"VehicleService_ID": "70e1ce63-4aef-4fab-9334-79c7b3a8a398",
"Department_ID": 3,
"Stock_ID": "e45d22ae-05e5-4e4e-aae0-09d12cad85f7",
"UnitOfMeasurement": 5,
"Quantity": 6,
"InventoryNumber": 7,
"Price": 8,
"Sum": 9,
"CreateDate": "2026-03-18T05:01:42.1554372+05:00",
"UpdatePerson_ID": "73b4c6d1-9136-4e54-a2fd-9ccb45cd6923",
"UpdateDate": "2026-03-18T05:01:42.1554372+05:00",
"StockIncoming_ID": "389fef82-d081-4e6e-a580-d08a12878da7",
"Stock": {
"ID": "9b226e13-c7ac-4751-8dd8-e6753ccb928e",
"Code": 2,
"Name": "sample string 3",
"CreateDate": "2026-03-18T05:01:42.1554372+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-03-18T05:01:42.1554372+05:00</CreateDate>
<Department_ID>3</Department_ID>
<ID>19f6b127-462b-41d7-8cfa-8ebbaa541460</ID>
<InventoryNumber>7</InventoryNumber>
<Price>8</Price>
<Quantity>6</Quantity>
<Stock>
<Code>2</Code>
<CreateDate>2026-03-18T05:01:42.1554372+05:00</CreateDate>
<ID>9b226e13-c7ac-4751-8dd8-e6753ccb928e</ID>
<Name>sample string 3</Name>
</Stock>
<StockIncoming_ID>389fef82-d081-4e6e-a580-d08a12878da7</StockIncoming_ID>
<Stock_ID>e45d22ae-05e5-4e4e-aae0-09d12cad85f7</Stock_ID>
<Sum>9</Sum>
<UnitOfMeasurement>5</UnitOfMeasurement>
<UpdateDate>2026-03-18T05:01:42.1554372+05:00</UpdateDate>
<UpdatePerson_ID>73b4c6d1-9136-4e54-a2fd-9ccb45cd6923</UpdatePerson_ID>
<VehicleService_ID>70e1ce63-4aef-4fab-9334-79c7b3a8a398</VehicleService_ID>
<dtE>2026-03-18T05:01:42.1554372+05:00</dtE>
<dtS>2026-03-18T05:01:42.1554372+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>