POST API/YF/AddWorker

批量添加陪同者

Request Information

Parameters

NameDescriptionAdditional information
JsonStr
[{Id:ID(GUID),Created:创建时间(DateTime),Updated:最后更新时间(DateTime),PersonName:陪同者(10内字符串),Tel:陪同者电话(14内字符串),RoomId:套户ID(GUID),IsPropertyStaff:是否是物业人(BOOL true-是)}]

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "str": "sample string 1"
}

application/xml, text/xml

Sample:
<SubStr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <str>sample string 1</str>
</SubStr>

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