POST api/AddressBook/AddLocationVerification

Request Information

URI Parameters

None.

Body Parameters

LocationVerification
NameDescriptionTypeAdditional 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.

streetName

string

None.

stageNo

integer

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",
  "streetName": "sample string 12",
  "stageNo": 13
}

application/xml, text/xml

Sample:
<LocationVerification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <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>
  <shopNo>sample string 11</shopNo>
  <stageNo>13</stageNo>
  <stateId>4</stateId>
  <streetName>sample string 12</streetName>
  <townId>6</townId>
</LocationVerification>

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

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2024/09/19 18:24:26",
  "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>