POST api/v1/ModelSave
Request Information
URI Parameters
None.
Body Parameters
ProductSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| ModelID | integer |
None. |
|
| TaxonomyID | integer |
None. |
|
| BatterySizeID | integer |
None. |
|
| ModelVariantID | integer |
None. |
|
| BatterySize | string |
None. |
|
| ModelVariant | string |
None. |
|
| ModelName | string |
None. |
|
| EmissionType | string |
None. |
|
| ProductDescription | string |
None. |
|
| DeliveryInformation | string |
None. |
|
| CareInstruction | string |
None. |
|
| HSNCode | string |
None. |
|
| CalcMethod | string |
None. |
|
| UserID | integer |
None. |
|
| Taxonomy | string |
None. |
|
| MTO | string |
None. |
|
| GSTPer | decimal number |
None. |
|
| CessPer | decimal number |
None. |
|
| xShowroomPrice | decimal number |
None. |
|
| Warranty | integer |
None. |
|
| TaxPer | decimal number |
None. |
|
| ActiveTill | date |
None. |
|
| ModelTag | string |
None. |
|
| ModelCC | string |
None. |
|
| DisplayPriority | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"ModelID": 2,
"TaxonomyID": 3,
"BatterySizeID": 4,
"ModelVariantID": 5,
"BatterySize": "sample string 6",
"ModelVariant": "sample string 7",
"ModelName": "sample string 8",
"EmissionType": "sample string 9",
"ProductDescription": "sample string 10",
"DeliveryInformation": "sample string 11",
"CareInstruction": "sample string 12",
"HSNCode": "sample string 13",
"CalcMethod": "sample string 14",
"UserID": 15,
"Taxonomy": "sample string 16",
"MTO": "sample string 17",
"GSTPer": 18.0,
"CessPer": 19.0,
"xShowroomPrice": 20.0,
"Warranty": 21,
"TaxPer": 22.0,
"ActiveTill": "2025-12-15T02:49:21.0861101+05:30",
"ModelTag": "sample string 24",
"ModelCC": "sample string 25",
"DisplayPriority": 26
}
application/xml, text/xml
Sample:
<ProductSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <ActiveTill>2025-12-15T02:49:21.0861101+05:30</ActiveTill> <BatterySize>sample string 6</BatterySize> <BatterySizeID>4</BatterySizeID> <CalcMethod>sample string 14</CalcMethod> <CareInstruction>sample string 12</CareInstruction> <CessPer>19</CessPer> <DeliveryInformation>sample string 11</DeliveryInformation> <DisplayPriority>26</DisplayPriority> <EmissionType>sample string 9</EmissionType> <GSTPer>18</GSTPer> <HSNCode>sample string 13</HSNCode> <MTO>sample string 17</MTO> <Mode>sample string 1</Mode> <ModelCC>sample string 25</ModelCC> <ModelID>2</ModelID> <ModelName>sample string 8</ModelName> <ModelTag>sample string 24</ModelTag> <ModelVariant>sample string 7</ModelVariant> <ModelVariantID>5</ModelVariantID> <ProductDescription>sample string 10</ProductDescription> <TaxPer>22</TaxPer> <Taxonomy>sample string 16</Taxonomy> <TaxonomyID>3</TaxonomyID> <UserID>15</UserID> <Warranty>21</Warranty> <xShowroomPrice>20</xShowroomPrice> </ProductSaveInput>
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. |