POST api/v1/ProductSave
Request Information
URI Parameters
None.
Body Parameters
ProductSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| ProdID | integer |
None. |
|
| TaxonomyID | integer |
None. |
|
| ProdTypeID | integer |
None. |
|
| CategoryID | integer |
None. |
|
| SubCategoryID | integer |
None. |
|
| BrandID | integer |
None. |
|
| ProdName | string |
None. |
|
| ProductDescription | string |
None. |
|
| DeliveryInformation | string |
None. |
|
| CareInstruction | string |
None. |
|
| HSNCode | string |
None. |
|
| CostPrice | decimal number |
None. |
|
| SellingPrice | decimal number |
None. |
|
| UserID | integer |
None. |
|
| MRP | integer |
None. |
|
| Barcode | string |
None. |
|
| GSTPer | decimal number |
None. |
|
| IsSerialize | boolean |
None. |
|
| WarrantyMonths | integer |
None. |
|
| SKU | string |
None. |
|
| Size | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"ProdID": 2,
"TaxonomyID": 3,
"ProdTypeID": 4,
"CategoryID": 5,
"SubCategoryID": 6,
"BrandID": 7,
"ProdName": "sample string 8",
"ProductDescription": "sample string 9",
"DeliveryInformation": "sample string 10",
"CareInstruction": "sample string 11",
"HSNCode": "sample string 12",
"CostPrice": 13.0,
"SellingPrice": 14.0,
"UserID": 15,
"MRP": 16,
"Barcode": "sample string 17",
"GSTPer": 18.0,
"IsSerialize": true,
"WarrantyMonths": 20,
"SKU": "sample string 21",
"Size": "sample string 22"
}
application/xml, text/xml
Sample:
<ProductSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Barcode>sample string 17</Barcode> <BrandID>7</BrandID> <CareInstruction>sample string 11</CareInstruction> <CategoryID>5</CategoryID> <CostPrice>13</CostPrice> <DeliveryInformation>sample string 10</DeliveryInformation> <GSTPer>18</GSTPer> <HSNCode>sample string 12</HSNCode> <IsSerialize>true</IsSerialize> <MRP>16</MRP> <Mode>sample string 1</Mode> <ProdID>2</ProdID> <ProdName>sample string 8</ProdName> <ProdTypeID>4</ProdTypeID> <ProductDescription>sample string 9</ProductDescription> <SKU>sample string 21</SKU> <SellingPrice>14</SellingPrice> <Size>sample string 22</Size> <SubCategoryID>6</SubCategoryID> <TaxonomyID>3</TaxonomyID> <UserID>15</UserID> <WarrantyMonths>20</WarrantyMonths> </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. |