POST api/Vehicles/deletemaintenance
Request Information
URI Parameters
None.
Body Parameters
maintenance| Name | Description | Type | Additional information |
|---|---|---|---|
| MaintenanceId | integer |
None. |
|
| carid | integer |
None. |
|
| date | date |
None. |
|
| qty | string |
None. |
|
| description | string |
None. |
|
| price | decimal number |
None. |
|
| total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"MaintenanceId": 1,
"carid": 1,
"date": "2026-01-09T01:02:22.0774216+05:30",
"qty": "sample string 2",
"description": "sample string 3",
"price": 1.0,
"total": 1.0
}
application/xml, text/xml
Sample:
<maintenance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pwacrmapi"> <MaintenanceId>1</MaintenanceId> <carid>1</carid> <date>2026-01-09T01:02:22.0774216+05:30</date> <description>sample string 3</description> <price>1</price> <qty>sample string 2</qty> <total>1</total> </maintenance>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>