POST spsapi/SalaryBusiness/UpdateRestaurantRemark

Request Information

URI Parameters

None.

Body Parameters

RemarkRequestDto
NameDescriptionTypeAdditional information
RestId

Collection of integer

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RestId": [
    1,
    2
  ],
  "Remark": "sample string 1"
}

application/xml, text/xml

Sample:
<RemarkRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <Remark>sample string 1</Remark>
  <RestId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </RestId>
</RemarkRequestDto>

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

Response Information

Resource Description

BaseModelResponse
NameDescriptionTypeAdditional information
errcode

ErrCode

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <errcode>Error</errcode>
  <message>sample string 1</message>
</BaseModelResponse>