POST api/ProductCategoryBP/Save

Request Information

URI Parameters

None.

Body Parameters

ProductCategoryDto
NameDescriptionTypeAdditional information
Key

integer

None.

Value

string

None.

CanonicalTitle

string

None.

Title

string

None.

Price

decimal number

None.

SortOrder

integer

None.

Status

integer

None.

SalesPrice

decimal number

None.

MinimumCostPrice

decimal number

None.

isWeb

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": 1,
  "Value": "sample string 1",
  "CanonicalTitle": "sample string 2",
  "Title": "sample string 3",
  "Price": 1.0,
  "SortOrder": 1,
  "Status": 1,
  "SalesPrice": 1.0,
  "MinimumCostPrice": 1.0,
  "isWeb": true
}

application/xml, text/xml

Sample:
<ProductCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <CanonicalTitle>sample string 2</CanonicalTitle>
  <Key>1</Key>
  <MinimumCostPrice>1</MinimumCostPrice>
  <Price>1</Price>
  <SalesPrice>1</SalesPrice>
  <SortOrder>1</SortOrder>
  <Status>1</Status>
  <Title>sample string 3</Title>
  <Value>sample string 1</Value>
  <isWeb>true</isWeb>
</ProductCategoryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>