POST Address/AddAddress

添加地址

Request Information

URI Parameters

None.

Body Parameters

ZsAddress
NameDescriptionTypeAdditional information
AddressID

integer

None.

Area

integer

None.

City

integer

None.

Contact

string

None.

Country

integer

None.

CreateTime

date

None.

CustomerID

integer

None.

Detail

string

None.

IsDefault

boolean

None.

Name

string

None.

Province

integer

None.

Street

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "200",
  "data": {
    "AddressID": 1,
    "Area": 1,
    "City": 1,
    "Contact": "sample string 2",
    "Country": 1,
    "CreateTime": "2025-12-10T11:19:16.4595983+08:00",
    "CustomerID": 4,
    "Detail": "sample string 5",
    "IsDefault": true,
    "Name": "sample string 7",
    "Province": 1,
    "Street": 1
  },
  "msg": null
}

application/xml, text/xml

Sample:
<ZsAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Cloud.Protocol.Zs.Models">
  <AddressID>1</AddressID>
  <Area>1</Area>
  <City>1</City>
  <Contact>sample string 2</Contact>
  <Country>1</Country>
  <CreateTime>2025-12-10T11:19:16.4595983+08:00</CreateTime>
  <CustomerID>4</CustomerID>
  <Detail>sample string 5</Detail>
  <IsDefault>true</IsDefault>
  <Name>sample string 7</Name>
  <Province>1</Province>
  <Street>1</Street>
</ZsAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

添加地址

boolean

Response Formats

application/json, text/json

Sample:
{
  "code": "200",
  "data": true,
  "msg": null
}

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>