POST api/vehicles/{id}/repairs
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
InventoryRepairSubModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CheckNo | integer |
None. |
|
| VendorName | string |
None. |
|
| DatePaid | date |
None. |
|
| Comment | string |
None. |
|
| Amount | decimal number |
None. |
|
| CategoryName | string |
None. |
|
| BillID | integer |
None. |
|
| Imported | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CheckNo": 1,
"VendorName": "sample string 2",
"DatePaid": "2025-12-06T03:33:56.1316699+00:00",
"Comment": "sample string 4",
"Amount": 5.0,
"CategoryName": "sample string 6",
"BillID": 7,
"Imported": true
}
application/xml, text/xml
Sample:
<InventoryRepairSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <Amount>5</Amount> <BillID>7</BillID> <CategoryName>sample string 6</CategoryName> <CheckNo>1</CheckNo> <Comment>sample string 4</Comment> <DatePaid>2025-12-06T03:33:56.1316699+00:00</DatePaid> <Imported>true</Imported> <VendorName>sample string 2</VendorName> </InventoryRepairSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |