POST API/Vehicle/RemoveVehicleService
Request Information
URI Parameters
None.
Body Parameters
VehicleServiceM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Vehicle_ID | globally unique identifier |
None. |
|
| ServiceType_ID | integer |
None. |
|
| Description | string |
None. |
|
| Amount | integer |
None. |
|
| ExpireDate | date |
None. |
|
| CreateDate | date |
None. |
|
| UpdatePerson_ID | globally unique identifier |
None. |
|
| InstallationDate | date |
None. |
|
| Status | boolean |
None. |
|
| SendForExpens | Collection of SendForExpensM |
None. |
|
| documents | Collection of DocumentM |
None. |
|
| documentsForService | Collection of DocumentM |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "dac5692c-885b-4607-a75f-573d2ef6d82c",
"Vehicle_ID": "6ab6bd2b-6046-4f18-9335-ded6014aae28",
"ServiceType_ID": 3,
"Description": "sample string 4",
"Amount": 1,
"ExpireDate": "2026-01-17T05:31:33.5512853+05:00",
"CreateDate": "2026-01-17T05:31:33.5512853+05:00",
"UpdatePerson_ID": "e9319931-1578-4b55-8c79-c8cf0fc044c9",
"InstallationDate": "2026-01-17T05:31:33.5512853+05:00",
"Status": true,
"SendForExpens": [
{
"dtS": "2026-01-17T05:31:33.5512853+05:00",
"dtE": "2026-01-17T05:31:33.5512853+05:00",
"ID": "9e29a8d0-c77e-4367-926f-4c73412da5b0",
"VehicleService_ID": "28c10917-f23f-4588-ae8f-ad7c10a3b5b9",
"Department_ID": 3,
"Stock_ID": "a0a72ebb-2096-48c4-b509-d833352dfdda",
"UnitOfMeasurement": 5,
"Quantity": 6,
"InventoryNumber": 7,
"Price": 8,
"Sum": 9,
"CreateDate": "2026-01-17T05:31:33.5512853+05:00",
"UpdatePerson_ID": "65b2e41c-fbbb-4c2f-b68b-e5bf0ad3b494",
"UpdateDate": "2026-01-17T05:31:33.5512853+05:00",
"StockIncoming_ID": "6b7a74d6-9ba4-4694-81d6-b0a67fd38801",
"Stock": {
"ID": "8fc96815-c6a0-4711-a2b6-5f893d3a127b",
"Code": 2,
"Name": "sample string 3",
"CreateDate": "2026-01-17T05:31:33.5512853+05:00"
}
},
{
"dtS": "2026-01-17T05:31:33.5512853+05:00",
"dtE": "2026-01-17T05:31:33.5512853+05:00",
"ID": "9e29a8d0-c77e-4367-926f-4c73412da5b0",
"VehicleService_ID": "28c10917-f23f-4588-ae8f-ad7c10a3b5b9",
"Department_ID": 3,
"Stock_ID": "a0a72ebb-2096-48c4-b509-d833352dfdda",
"UnitOfMeasurement": 5,
"Quantity": 6,
"InventoryNumber": 7,
"Price": 8,
"Sum": 9,
"CreateDate": "2026-01-17T05:31:33.5512853+05:00",
"UpdatePerson_ID": "65b2e41c-fbbb-4c2f-b68b-e5bf0ad3b494",
"UpdateDate": "2026-01-17T05:31:33.5512853+05:00",
"StockIncoming_ID": "6b7a74d6-9ba4-4694-81d6-b0a67fd38801",
"Stock": {
"ID": "8fc96815-c6a0-4711-a2b6-5f893d3a127b",
"Code": 2,
"Name": "sample string 3",
"CreateDate": "2026-01-17T05:31:33.5512853+05:00"
}
}
],
"documents": [
{
"id": "e11cec1c-2e24-476b-9293-09af82e26bc8",
"documentType": 1,
"fileName": "sample string 1",
"fileType": "sample string 2",
"fileContent": "QEA=",
"createDate": "2026-01-17T05:31:33.5512853+05:00"
},
{
"id": "e11cec1c-2e24-476b-9293-09af82e26bc8",
"documentType": 1,
"fileName": "sample string 1",
"fileType": "sample string 2",
"fileContent": "QEA=",
"createDate": "2026-01-17T05:31:33.5512853+05:00"
}
],
"documentsForService": [
{
"id": "e11cec1c-2e24-476b-9293-09af82e26bc8",
"documentType": 1,
"fileName": "sample string 1",
"fileType": "sample string 2",
"fileContent": "QEA=",
"createDate": "2026-01-17T05:31:33.5512853+05:00"
},
{
"id": "e11cec1c-2e24-476b-9293-09af82e26bc8",
"documentType": 1,
"fileName": "sample string 1",
"fileType": "sample string 2",
"fileContent": "QEA=",
"createDate": "2026-01-17T05:31:33.5512853+05:00"
}
]
}
application/xml, text/xml
Sample:
<VehicleServiceM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
<Amount>1</Amount>
<CreateDate>2026-01-17T05:31:33.5512853+05:00</CreateDate>
<Description>sample string 4</Description>
<ExpireDate>2026-01-17T05:31:33.5512853+05:00</ExpireDate>
<ID>dac5692c-885b-4607-a75f-573d2ef6d82c</ID>
<InstallationDate>2026-01-17T05:31:33.5512853+05:00</InstallationDate>
<SendForExpens>
<SendForExpensM>
<CreateDate>2026-01-17T05:31:33.5512853+05:00</CreateDate>
<Department_ID>3</Department_ID>
<ID>9e29a8d0-c77e-4367-926f-4c73412da5b0</ID>
<InventoryNumber>7</InventoryNumber>
<Price>8</Price>
<Quantity>6</Quantity>
<Stock>
<Code>2</Code>
<CreateDate>2026-01-17T05:31:33.5512853+05:00</CreateDate>
<ID>8fc96815-c6a0-4711-a2b6-5f893d3a127b</ID>
<Name>sample string 3</Name>
</Stock>
<StockIncoming_ID>6b7a74d6-9ba4-4694-81d6-b0a67fd38801</StockIncoming_ID>
<Stock_ID>a0a72ebb-2096-48c4-b509-d833352dfdda</Stock_ID>
<Sum>9</Sum>
<UnitOfMeasurement>5</UnitOfMeasurement>
<UpdateDate>2026-01-17T05:31:33.5512853+05:00</UpdateDate>
<UpdatePerson_ID>65b2e41c-fbbb-4c2f-b68b-e5bf0ad3b494</UpdatePerson_ID>
<VehicleService_ID>28c10917-f23f-4588-ae8f-ad7c10a3b5b9</VehicleService_ID>
<dtE>2026-01-17T05:31:33.5512853+05:00</dtE>
<dtS>2026-01-17T05:31:33.5512853+05:00</dtS>
</SendForExpensM>
<SendForExpensM>
<CreateDate>2026-01-17T05:31:33.5512853+05:00</CreateDate>
<Department_ID>3</Department_ID>
<ID>9e29a8d0-c77e-4367-926f-4c73412da5b0</ID>
<InventoryNumber>7</InventoryNumber>
<Price>8</Price>
<Quantity>6</Quantity>
<Stock>
<Code>2</Code>
<CreateDate>2026-01-17T05:31:33.5512853+05:00</CreateDate>
<ID>8fc96815-c6a0-4711-a2b6-5f893d3a127b</ID>
<Name>sample string 3</Name>
</Stock>
<StockIncoming_ID>6b7a74d6-9ba4-4694-81d6-b0a67fd38801</StockIncoming_ID>
<Stock_ID>a0a72ebb-2096-48c4-b509-d833352dfdda</Stock_ID>
<Sum>9</Sum>
<UnitOfMeasurement>5</UnitOfMeasurement>
<UpdateDate>2026-01-17T05:31:33.5512853+05:00</UpdateDate>
<UpdatePerson_ID>65b2e41c-fbbb-4c2f-b68b-e5bf0ad3b494</UpdatePerson_ID>
<VehicleService_ID>28c10917-f23f-4588-ae8f-ad7c10a3b5b9</VehicleService_ID>
<dtE>2026-01-17T05:31:33.5512853+05:00</dtE>
<dtS>2026-01-17T05:31:33.5512853+05:00</dtS>
</SendForExpensM>
</SendForExpens>
<ServiceType_ID>3</ServiceType_ID>
<Status>true</Status>
<UpdatePerson_ID>e9319931-1578-4b55-8c79-c8cf0fc044c9</UpdatePerson_ID>
<Vehicle_ID>6ab6bd2b-6046-4f18-9335-ded6014aae28</Vehicle_ID>
<documents>
<DocumentM>
<createDate>2026-01-17T05:31:33.5512853+05:00</createDate>
<documentType>1</documentType>
<fileContent>QEA=</fileContent>
<fileName>sample string 1</fileName>
<fileType>sample string 2</fileType>
<id>e11cec1c-2e24-476b-9293-09af82e26bc8</id>
</DocumentM>
<DocumentM>
<createDate>2026-01-17T05:31:33.5512853+05:00</createDate>
<documentType>1</documentType>
<fileContent>QEA=</fileContent>
<fileName>sample string 1</fileName>
<fileType>sample string 2</fileType>
<id>e11cec1c-2e24-476b-9293-09af82e26bc8</id>
</DocumentM>
</documents>
<documentsForService>
<DocumentM>
<createDate>2026-01-17T05:31:33.5512853+05:00</createDate>
<documentType>1</documentType>
<fileContent>QEA=</fileContent>
<fileName>sample string 1</fileName>
<fileType>sample string 2</fileType>
<id>e11cec1c-2e24-476b-9293-09af82e26bc8</id>
</DocumentM>
<DocumentM>
<createDate>2026-01-17T05:31:33.5512853+05:00</createDate>
<documentType>1</documentType>
<fileContent>QEA=</fileContent>
<fileName>sample string 1</fileName>
<fileType>sample string 2</fileType>
<id>e11cec1c-2e24-476b-9293-09af82e26bc8</id>
</DocumentM>
</documentsForService>
</VehicleServiceM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>