POST new/houseMoving/add

新增或更新搬家申请

Request Information

URI Parameters

None.

Body Parameters

搬家申请实体对象

HouseMovingEntity
NameDescriptionTypeAdditional information
id

integer

None.

pid

integer

None.

OrgId

integer

None.

OrgCode

decimal number

None.

time

date

None.

OrgName

string

None.

IsDel

boolean

None.

formId

integer

None.

form

string

None.

formAddress

string

None.

toId

integer

None.

to

string

None.

toAddress

string

None.

name

string

None.

eName

string

None.

tel

string

None.

email

string

None.

family

integer

None.

wife

boolean

None.

child

integer

None.

company

string

None.

estimate

date

None.

remark

string

None.

sta

integer

None.

move

date

None.

img

扩展字段

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "pid": 2,
  "OrgId": 3,
  "OrgCode": 4.0,
  "time": "2026-10-20T19:54:24.4471312+08:00",
  "OrgName": "sample string 6",
  "IsDel": true,
  "formId": 8,
  "form": "sample string 9",
  "formAddress": "sample string 10",
  "toId": 11,
  "to": "sample string 12",
  "toAddress": "sample string 13",
  "name": "sample string 14",
  "eName": "sample string 15",
  "tel": "sample string 16",
  "email": "sample string 17",
  "family": 18,
  "wife": true,
  "child": 20,
  "company": "sample string 21",
  "estimate": "2026-10-20T19:54:24.4471312+08:00",
  "remark": "sample string 23",
  "sta": 24,
  "move": "2026-10-20T19:54:24.4471312+08:00",
  "img": "sample string 26"
}

application/xml, text/xml

Sample:
<HouseMovingEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Model.EntityModel.Customer">
  <AreaAddress>sample string 10</AreaAddress>
  <AreaId>8</AreaId>
  <AreaValue>sample string 9</AreaValue>
  <Children>20</Children>
  <Company>sample string 21</Company>
  <CreateTime>2026-10-20T19:54:24.4471312+08:00</CreateTime>
  <Email>sample string 17</Email>
  <EnglishName>sample string 15</EnglishName>
  <EstimateTime>2026-10-20T19:54:24.4471312+08:00</EstimateTime>
  <FaceImg>sample string 26</FaceImg>
  <FamilyNumber>18</FamilyNumber>
  <HasSpouse>true</HasSpouse>
  <Id>1</Id>
  <InfoId>2</InfoId>
  <IsDel>true</IsDel>
  <MoveTime>2026-10-20T19:54:24.4471312+08:00</MoveTime>
  <Name>sample string 14</Name>
  <OrgCode>4</OrgCode>
  <OrgId>3</OrgId>
  <OrgName>sample string 6</OrgName>
  <Remark>sample string 23</Remark>
  <Status>24</Status>
  <Tel>sample string 16</Tel>
  <ToAddress>sample string 13</ToAddress>
  <ToAreaId>11</ToAreaId>
  <ToAreaValue>sample string 12</ToAreaValue>
</HouseMovingEntity>

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

Response Information

Resource Description

返回操作结果,包含新记录的ID和用户OpenId

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>