POST api/jd-public/address/adduseraddress

添加用户地址

Request Information

URI Parameters

None.

Body Parameters

UserJDAddress
NameDescriptionTypeAdditional information
Id

string

None.

UserId

string

None.

Province

string

None.

City

string

None.

District

string

None.

Steet

string

None.

StreetAddress

string

None.

ContactName

string

None.

PhoneNumber

string

None.

Type

integer

None.

MobileNumber

string

None.

IsDefaultAddress

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "UserId": "sample string 2",
  "Province": "sample string 3",
  "City": "sample string 4",
  "District": "sample string 5",
  "Steet": "sample string 6",
  "StreetAddress": "sample string 7",
  "ContactName": "sample string 8",
  "PhoneNumber": "sample string 9",
  "Type": 10,
  "MobileNumber": "sample string 11",
  "IsDefaultAddress": true
}

application/xml, text/xml

Sample:
<UserJDAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.Mall.Bss.User.Data">
  <City>sample string 4</City>
  <ContactName>sample string 8</ContactName>
  <District>sample string 5</District>
  <Id>sample string 1</Id>
  <IsDefaultAddress>true</IsDefaultAddress>
  <MobileNumber>sample string 11</MobileNumber>
  <PhoneNumber>sample string 9</PhoneNumber>
  <Province>sample string 3</Province>
  <Steet>sample string 6</Steet>
  <StreetAddress>sample string 7</StreetAddress>
  <Type>10</Type>
  <UserId>sample string 2</UserId>
</UserJDAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.