POST api/AppointmentBooking

“Post”的文档。

Request Information

Parameters

NameDescriptionAdditional information
info
“info”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "staff_name": "sample string 1",
  "visitor_name": "sample string 2",
  "sex": "sample string 3",
  "phone": "sample string 4",
  "visit_time": "2022-08-14T08:17:27.5347297+08:00",
  "reason": "sample string 6"
}

application/xml, text/xml

Sample:
<AppointmentBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wxapi01.Models">
  <phone>sample string 4</phone>
  <reason>sample string 6</reason>
  <sex>sample string 3</sex>
  <staff_name>sample string 1</staff_name>
  <visit_time>2022-08-14T08:17:27.5347297+08:00</visit_time>
  <visitor_name>sample string 2</visitor_name>
</AppointmentBooking>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'AppointmentBooking'.