POST api/Washprices/ClothingTypeSave
Request Information
URI Parameters
None.
Body Parameters
ClothingTypeInfoName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
CategoryID | string |
None. |
|
Name | string |
None. |
|
Price | decimal number |
None. |
|
YearCardPrice | decimal number |
None. |
|
Createdate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "CategoryID": "sample string 2", "Name": "sample string 3", "Price": 4.0, "YearCardPrice": 5.0, "Createdate": "sample string 6" }
application/xml, text/xml
Sample:
<ClothingTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YNF.Model"> <CategoryID>sample string 2</CategoryID> <Createdate>sample string 6</Createdate> <Id>sample string 1</Id> <Name>sample string 3</Name> <Price>4</Price> <YearCardPrice>5</YearCardPrice> </ClothingTypeInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModelName | Description | Type | Additional 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>