POST api/v1/ProductSave

Request Information

URI Parameters

None.

Body Parameters

ProductSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ProdID

integer

None.

TaxonomyID

integer

None.

ProdTypeID

integer

None.

CategoryID

integer

None.

SubCategoryID

integer

None.

ProdName

string

None.

ProductDescription

string

None.

DeliveryInformation

string

None.

CareInstruction

string

None.

HSNCode

string

None.

UserID

integer

None.

Barcode

string

None.

GSTPer

decimal number

None.

Warranty

integer

None.

Unit

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,
  "ProdName": "sample string 7",
  "ProductDescription": "sample string 8",
  "DeliveryInformation": "sample string 9",
  "CareInstruction": "sample string 10",
  "HSNCode": "sample string 11",
  "UserID": 12,
  "Barcode": "sample string 13",
  "GSTPer": 14.0,
  "Warranty": 15,
  "Unit": "sample string 16",
  "Size": "sample string 17"
}

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 13</Barcode>
  <CareInstruction>sample string 10</CareInstruction>
  <CategoryID>5</CategoryID>
  <DeliveryInformation>sample string 9</DeliveryInformation>
  <GSTPer>14</GSTPer>
  <HSNCode>sample string 11</HSNCode>
  <Mode>sample string 1</Mode>
  <ProdID>2</ProdID>
  <ProdName>sample string 7</ProdName>
  <ProdTypeID>4</ProdTypeID>
  <ProductDescription>sample string 8</ProductDescription>
  <Size>sample string 17</Size>
  <SubCategoryID>6</SubCategoryID>
  <TaxonomyID>3</TaxonomyID>
  <Unit>sample string 16</Unit>
  <UserID>12</UserID>
  <Warranty>15</Warranty>
</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.