POST API/YF/AddDefect
添加异常单
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
JsonStr | { Id:ID(GUID),Created:创建时间(DateTime),Updated:最后更新时间(DateTime),CommunityId:小区ID(GUID),Content:内容(100字符以内,汉字算一个字符),ContentImg:内容对应的图片IDS(五张以内,英文逗号隔开的GUID),DefectTypeId:异常类型ID(GUID),InspectionItem:检验项(50字符以内,汉字算一个字符),Position:部位(50字符以内,汉字算一个字符),ResidentId:创建者ID(GUID),ResidentName:创建者姓名(150字符以内,汉字算一个字符),RoomAbb:房号缩写(如:22-2-2103、50字符以内),RoomId:套户ID(GUID),Status:状态(int-待处理0,处理中1,已处理2,无效异常3),Tel:电话(20字符内)} |
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: