POST new/family/add
成为家庭成员 #待优化
Request Information
URI Parameters
None.
Body Parameters
ShopFamilyAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Mobile | string |
None. |
|
| Sex | integer |
None. |
|
| DateStr | date |
None. |
|
| Title | string |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| Area | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Mobile": "sample string 2",
"Sex": 3,
"DateStr": "2026-10-20T20:43:28.4024595+08:00",
"Title": "sample string 5",
"Name": "sample string 6",
"Address": "sample string 7",
"Area": "sample string 8"
}
application/xml, text/xml
Sample:
<ShopFamilyAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Address>sample string 7</Address> <Area>sample string 8</Area> <DateStr>2026-10-20T20:43:28.4024595+08:00</DateStr> <Mobile>sample string 2</Mobile> <Name>sample string 6</Name> <Sex>3</Sex> <Title>sample string 5</Title> <UserId>1</UserId> </ShopFamilyAddRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional 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>