POST api/AddressBook/createAddress
Request Information
URI Parameters
None.
Body Parameters
createAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| businessId | integer |
None. |
|
| loginUserId | integer |
None. |
|
| customerId | integer |
None. |
|
| stateId | integer |
None. |
|
| cityId | integer |
None. |
|
| townId | integer |
None. |
|
| fullAddress | string |
None. |
|
| longitude | string |
None. |
|
| latitude | string |
None. |
|
| flag | integer |
None. |
|
| shopNo | string |
None. |
|
| orderId | integer |
None. |
|
| streetName | string |
None. |
|
| offlineCustomerId | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"businessId": 1,
"loginUserId": 2,
"customerId": 3,
"stateId": 4,
"cityId": 5,
"townId": 6,
"fullAddress": "sample string 7",
"longitude": "sample string 8",
"latitude": "sample string 9",
"flag": 10,
"shopNo": "sample string 11",
"orderId": 12,
"streetName": "sample string 13",
"offlineCustomerId": "sample string 14",
"FirstName": "sample string 15",
"LastName": "sample string 16"
}
application/xml, text/xml
Sample:
<createAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <FirstName>sample string 15</FirstName> <LastName>sample string 16</LastName> <businessId>1</businessId> <cityId>5</cityId> <customerId>3</customerId> <flag>10</flag> <fullAddress>sample string 7</fullAddress> <latitude>sample string 9</latitude> <loginUserId>2</loginUserId> <longitude>sample string 8</longitude> <offlineCustomerId>sample string 14</offlineCustomerId> <orderId>12</orderId> <shopNo>sample string 11</shopNo> <stateId>4</stateId> <streetName>sample string 13</streetName> <townId>6</townId> </createAddress>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/03 15:58:30",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>