POST API/Resident/WeekendRecordAdd

周末去哪报名

Request Information

Parameters

NameDescriptionAdditional information
weekRecord

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "WeekendId": "sample string 1",
  "Name": "sample string 2",
  "Tel": "sample string 3",
  "ResidentId": "sample string 4",
  "Images": "sample string 5"
}

application/xml, text/xml

Sample:
<ApiWeekRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <Images>sample string 5</Images>
  <Name>sample string 2</Name>
  <ResidentId>sample string 4</ResidentId>
  <Tel>sample string 3</Tel>
  <WeekendId>sample string 1</WeekendId>
</ApiWeekRecord>

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