POST api/User/UpdateUserWashingCard

Request Information

URI Parameters

None.

Body Parameters

UpdateUserWashingCardModel
NameDescriptionTypeAdditional information
Userid

string

None.

Cardid

string

None.

Usedcount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Userid": "sample string 1",
  "Cardid": "sample string 2",
  "Usedcount": 3
}

application/xml, text/xml

Sample:
<UpdateUserWashingCardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YNF.Model">
  <Cardid>sample string 2</Cardid>
  <Usedcount>3</Usedcount>
  <Userid>sample string 1</Userid>
</UpdateUserWashingCardModel>

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

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>