POST api/VehicleTyreApi
Request Information
URI Parameters
None.
Body Parameters
VehicleTyreViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TyreId | integer |
None. |
|
| Quantity | integer |
Required |
|
| VehicleId | integer |
None. |
|
| VehicleNumber | string |
None. |
|
| EditLogNote | string |
None. |
|
| TyreNumber | string |
None. |
|
| PurchaseDate | date |
Required |
|
| WarentyExpairyDate | date |
Required |
|
| BillDate | date |
None. |
|
| AlertBeforeDays | integer |
Required |
|
| Condition | string |
None. |
|
| Make | string |
None. |
|
| TyreType | string |
None. |
|
| ThreadType | string |
None. |
|
| Size | string |
None. |
|
| ThreadDepth | integer |
Required |
|
| Note | string |
None. |
|
| ShopName | string |
None. |
|
| ContactNumber | string |
None. |
|
| Address | string |
None. |
|
| PayType | string |
None. |
|
| BillNumber | string |
None. |
|
| Price | decimal number |
Required |
|
| Tax1 | decimal number |
None. |
|
| Tax2 | decimal number |
None. |
|
| Tax3 | decimal number |
None. |
|
| TotalAmount | decimal number |
Required |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| SaaSid | string |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TyreId": 1,
"Quantity": 2,
"VehicleId": 3,
"VehicleNumber": "sample string 4",
"EditLogNote": "sample string 5",
"TyreNumber": "sample string 6",
"PurchaseDate": "2026-07-18T01:00:40.8495342+05:30",
"WarentyExpairyDate": "2026-07-18T01:00:40.8495342+05:30",
"BillDate": "2026-07-18T01:00:40.8495342+05:30",
"AlertBeforeDays": 10,
"Condition": "sample string 11",
"Make": "sample string 12",
"TyreType": "sample string 13",
"ThreadType": "sample string 14",
"Size": "sample string 15",
"ThreadDepth": 16,
"Note": "sample string 17",
"ShopName": "sample string 18",
"ContactNumber": "sample string 19",
"Address": "sample string 20",
"PayType": "sample string 21",
"BillNumber": "sample string 22",
"Price": 23.0,
"Tax1": 24.0,
"Tax2": 25.0,
"Tax3": 26.0,
"TotalAmount": 27.0,
"CreatedBy": "sample string 28",
"CreatedDate": "2026-07-18T01:00:40.8495342+05:30",
"UpdatedBy": "sample string 30",
"UpdatedDate": "2026-07-18T01:00:40.8495342+05:30",
"SaaSid": "sample string 32",
"Status": 33
}
application/xml, text/xml
Sample:
<VehicleTyreViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSPRO.BusinessModel"> <Address>sample string 20</Address> <AlertBeforeDays>10</AlertBeforeDays> <BillDate>2026-07-18T01:00:40.8495342+05:30</BillDate> <BillNumber>sample string 22</BillNumber> <Condition>sample string 11</Condition> <ContactNumber>sample string 19</ContactNumber> <CreatedBy>sample string 28</CreatedBy> <CreatedDate>2026-07-18T01:00:40.8495342+05:30</CreatedDate> <EditLogNote>sample string 5</EditLogNote> <Make>sample string 12</Make> <Note>sample string 17</Note> <PayType>sample string 21</PayType> <Price>23</Price> <PurchaseDate>2026-07-18T01:00:40.8495342+05:30</PurchaseDate> <Quantity>2</Quantity> <SaaSid>sample string 32</SaaSid> <ShopName>sample string 18</ShopName> <Size>sample string 15</Size> <Status>33</Status> <Tax1>24</Tax1> <Tax2>25</Tax2> <Tax3>26</Tax3> <ThreadDepth>16</ThreadDepth> <ThreadType>sample string 14</ThreadType> <TotalAmount>27</TotalAmount> <TyreId>1</TyreId> <TyreNumber>sample string 6</TyreNumber> <TyreType>sample string 13</TyreType> <UpdatedBy>sample string 30</UpdatedBy> <UpdatedDate>2026-07-18T01:00:40.8495342+05:30</UpdatedDate> <VehicleId>3</VehicleId> <VehicleNumber>sample string 4</VehicleNumber> <WarentyExpairyDate>2026-07-18T01:00:40.8495342+05:30</WarentyExpairyDate> </VehicleTyreViewModel>
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>