POST api/v1/ProductSave

Request Information

URI Parameters

None.

Body Parameters

ProductSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ProdID

integer

None.

TaxonomyID

integer

None.

BrandID

integer

None.

Brand

string

None.

ProdTypeID

integer

None.

ProdName

string

None.

ProductDescription

string

None.

DeliveryInformation

string

None.

CareInstruction

string

None.

HSNCode

string

None.

CalcMethod

string

None.

UserID

integer

None.

MRP

integer

None.

Taxonomy

string

None.

MTO

string

None.

Barcode

string

None.

GSTPer

decimal number

None.

CessPer

decimal number

None.

dealerPrice

decimal number

None.

Warranty

integer

None.

TaxPer

decimal number

None.

ProdTag

string

None.

DisplayPriority

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ProdID": 2,
  "TaxonomyID": 3,
  "BrandID": 4,
  "Brand": "sample string 5",
  "ProdTypeID": 6,
  "ProdName": "sample string 7",
  "ProductDescription": "sample string 8",
  "DeliveryInformation": "sample string 9",
  "CareInstruction": "sample string 10",
  "HSNCode": "sample string 11",
  "CalcMethod": "sample string 12",
  "UserID": 13,
  "MRP": 14,
  "Taxonomy": "sample string 15",
  "MTO": "sample string 16",
  "Barcode": "sample string 17",
  "GSTPer": 18.0,
  "CessPer": 19.0,
  "dealerPrice": 20.0,
  "Warranty": 21,
  "TaxPer": 22.0,
  "ProdTag": "sample string 23",
  "DisplayPriority": 24
}

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>
  <Brand>sample string 5</Brand>
  <BrandID>4</BrandID>
  <CalcMethod>sample string 12</CalcMethod>
  <CareInstruction>sample string 10</CareInstruction>
  <CessPer>19</CessPer>
  <DeliveryInformation>sample string 9</DeliveryInformation>
  <DisplayPriority>24</DisplayPriority>
  <GSTPer>18</GSTPer>
  <HSNCode>sample string 11</HSNCode>
  <MRP>14</MRP>
  <MTO>sample string 16</MTO>
  <Mode>sample string 1</Mode>
  <ProdID>2</ProdID>
  <ProdName>sample string 7</ProdName>
  <ProdTag>sample string 23</ProdTag>
  <ProdTypeID>6</ProdTypeID>
  <ProductDescription>sample string 8</ProductDescription>
  <TaxPer>22</TaxPer>
  <Taxonomy>sample string 15</Taxonomy>
  <TaxonomyID>3</TaxonomyID>
  <UserID>13</UserID>
  <Warranty>21</Warranty>
  <dealerPrice>20</dealerPrice>
</ProductSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductSaveInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.