POST Api/Product/UpdateProduct

Request Information

URI Parameters

None.

Body Parameters

UpdateProduct
NameDescriptionTypeAdditional information
ProductID

globally unique identifier

None.

UpdatedBy

globally unique identifier

None.

SubCategoryID

globally unique identifier

None.

StorewiseEOQandMOL

string

None.

HSN

string

None.

Name

string

None.

Rates

decimal number

None.

Unit

string

None.

SafetyStock

integer

None.

EOQ

integer

None.

CategoryID

globally unique identifier

None.

StoreID

globally unique identifier

None.

Type

string

None.

AddedBy

string

None.

Qty

integer

None.

FinalQty

integer

None.

UserRemark

string

None.

ItemCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": "7a7a02e9-552d-4355-b4cf-04ecd6a25d5e",
  "UpdatedBy": "0e265aa4-511a-4e42-afba-839799736c14",
  "SubCategoryID": "8329217c-2409-4c76-b3d3-e94f429ac8d9",
  "StorewiseEOQandMOL": "sample string 4",
  "HSN": "sample string 5",
  "Name": "sample string 6",
  "Rates": 7.0,
  "Unit": "sample string 8",
  "SafetyStock": 9,
  "EOQ": 10,
  "CategoryID": "96ee15ce-2171-4f4d-b354-608cd9c213f7",
  "StoreID": "8ac5b4a8-2c5a-472a-945c-ad5f5d2b0e69",
  "Type": "sample string 13",
  "AddedBy": "sample string 14",
  "Qty": 15,
  "FinalQty": 16,
  "UserRemark": "sample string 17",
  "ItemCode": "sample string 18"
}

application/xml, text/xml

Sample:
<UpdateProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KaramBazaarAPI.Models">
  <AddedBy>sample string 14</AddedBy>
  <CategoryID>96ee15ce-2171-4f4d-b354-608cd9c213f7</CategoryID>
  <EOQ>10</EOQ>
  <FinalQty>16</FinalQty>
  <ItemCode>sample string 18</ItemCode>
  <Name>sample string 6</Name>
  <ProductID>00000000-0000-0000-0000-000000000000</ProductID>
  <Qty>15</Qty>
  <Rates>7</Rates>
  <SafetyStock>9</SafetyStock>
  <StoreID>8ac5b4a8-2c5a-472a-945c-ad5f5d2b0e69</StoreID>
  <SubCategoryID>00000000-0000-0000-0000-000000000000</SubCategoryID>
  <Type>sample string 13</Type>
  <Unit>sample string 8</Unit>
  <UserRemark>sample string 17</UserRemark>
  <HSN>sample string 5</HSN>
  <ProductID>7a7a02e9-552d-4355-b4cf-04ecd6a25d5e</ProductID>
  <StorewiseEOQandMOL>sample string 4</StorewiseEOQandMOL>
  <SubCategoryID>8329217c-2409-4c76-b3d3-e94f429ac8d9</SubCategoryID>
  <UpdatedBy>0e265aa4-511a-4e42-afba-839799736c14</UpdatedBy>
</UpdateProduct>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.