POST api/Cars
Request Information
URI Parameters
None.
Body Parameters
Car| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| IsActive | boolean |
None. |
|
| VIN | string |
None. |
|
| Color | string |
None. |
|
| Make | string |
Required |
|
| Model | string |
Required |
|
| DefaultPhotoUrl | string |
None. |
|
| DefaultPhotoBlob | string |
None. |
|
| DefaultPhotoContainer | string |
None. |
|
| DueDateUtc | date |
None. |
|
| Year | integer |
Required |
|
| OwnerId | string |
None. |
|
| OwnerFullName | string |
None. |
|
| TaskCount | integer |
None. |
|
| WorkOrderCount | integer |
None. |
|
| PhotoCount | integer |
None. |
|
| NoteCount | integer |
None. |
|
| OwnerPhone | string |
None. |
|
| OwnerEmail | string |
None. |
|
| OwnerAddress | string |
None. |
|
| DateCreatedUtc | date |
None. |
|
| Number | integer |
None. |
|
| LaborRate | decimal number |
None. |
|
| LaborHours | decimal number |
None. |
|
| PartBudget | decimal number |
None. |
|
| LaborBudget | decimal number |
None. |
|
| TotalBudget | decimal number |
None. |
|
| PartCost | decimal number |
None. |
|
| LaborCost | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"isActive": true,
"vin": "sample string 3",
"color": "sample string 4",
"make": "sample string 5",
"model": "sample string 6",
"defaultPhotoUrl": "sample string 7",
"defaultPhotoBlob": "sample string 8",
"defaultPhotoContainer": "sample string 9",
"dueDateUtc": "2026-01-10T23:42:25.5453681+00:00",
"year": 1,
"ownerId": "sample string 10",
"ownerFullName": "sample string 11",
"taskCount": 12,
"workOrderCount": 13,
"photoCount": 14,
"noteCount": 15,
"ownerPhone": "sample string 16",
"ownerEmail": "sample string 17",
"ownerAddress": "sample string 18",
"dateCreatedUtc": "2026-01-10T23:42:25.5453681+00:00",
"number": 20,
"laborRate": 1.0,
"laborHours": 1.0,
"partBudget": 1.0,
"laborBudget": 1.0,
"totalBudget": 1.0,
"partCost": 1.0,
"laborCost": 1.0
}
application/xml, text/xml
Sample:
<Car xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models"> <Color>sample string 4</Color> <DateCreatedUtc>2026-01-10T23:42:25.5453681+00:00</DateCreatedUtc> <DefaultPhotoBlob>sample string 8</DefaultPhotoBlob> <DefaultPhotoContainer>sample string 9</DefaultPhotoContainer> <DefaultPhotoUrl>sample string 7</DefaultPhotoUrl> <DueDateUtc>2026-01-10T23:42:25.5453681+00:00</DueDateUtc> <Id>sample string 1</Id> <IsActive>true</IsActive> <LaborBudget>1</LaborBudget> <LaborCost>1</LaborCost> <LaborHours>1</LaborHours> <LaborRate>1</LaborRate> <Make>sample string 5</Make> <Model>sample string 6</Model> <NoteCount>15</NoteCount> <Number>20</Number> <OwnerAddress>sample string 18</OwnerAddress> <OwnerEmail>sample string 17</OwnerEmail> <OwnerFullName>sample string 11</OwnerFullName> <OwnerId>sample string 10</OwnerId> <OwnerPhone>sample string 16</OwnerPhone> <PartBudget>1</PartBudget> <PartCost>1</PartCost> <PhotoCount>14</PhotoCount> <TaskCount>12</TaskCount> <TotalBudget>1</TotalBudget> <VIN>sample string 3</VIN> <WorkOrderCount>13</WorkOrderCount> <Year>1</Year> </Car>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.