POST api/Washprices/ClothingCategorySave

Request Information

URI Parameters

None.

Body Parameters

ClothingCategoryInfo
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Createdate

string

None.

IsStored

boolean

None.

WarehouseIds

string

None.

Category

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Createdate": "sample string 3",
  "IsStored": true,
  "WarehouseIds": "sample string 5",
  "Category": 6
}

application/xml, text/xml

Sample:
<ClothingCategoryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YNF.Model">
  <Category>6</Category>
  <Createdate>sample string 3</Createdate>
  <Id>sample string 1</Id>
  <IsStored>true</IsStored>
  <Name>sample string 2</Name>
  <WarehouseIds>sample string 5</WarehouseIds>
</ClothingCategoryInfo>

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 'ClothingCategoryInfo'.

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional information
IsSucceed

boolean

None.

MessageCode

integer

None.

Message

string

None.

Time

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSucceed": true,
  "MessageCode": 2,
  "Message": "sample string 3",
  "Time": "sample string 4",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YNF.Model">
  <Data />
  <IsSucceed>true</IsSucceed>
  <Message>sample string 3</Message>
  <MessageCode>2</MessageCode>
  <Time>sample string 4</Time>
</ResultModel>