POST clients/updateAddressGeocode

Request Information

URI Parameters

None.

Body Parameters

GeocodeAddress
NameDescriptionTypeAdditional information
AddressId

integer

None.

CustCode

string

None.

CustId

integer

None.

PhysicalAddress

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

DefaultTenantAddress

string

None.

WasSuccessful

boolean

None.

Message

string

None.

RefId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "CustCode": "sample string 2",
  "CustId": 3,
  "PhysicalAddress": "sample string 4",
  "Latitude": 5.0,
  "Longitude": 6.0,
  "DefaultTenantAddress": "sample string 7",
  "WasSuccessful": true,
  "Message": "sample string 9",
  "RefId": 10
}

text/html

Sample:
{"AddressId":1,"CustCode":"sample string 2","CustId":3,"PhysicalAddress":"sample string 4","Latitude":5.0,"Longitude":6.0,"DefaultTenantAddress":"sample string 7","WasSuccessful":true,"Message":"sample string 9","RefId":10}

application/xml, text/xml

Sample:
<GeocodeAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Addresses">
  <Message xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">sample string 9</Message>
  <RefId xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">10</RefId>
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">true</WasSuccessful>
  <AddressId>1</AddressId>
  <CustCode>sample string 2</CustCode>
  <CustId>3</CustId>
  <DefaultTenantAddress>sample string 7</DefaultTenantAddress>
  <Latitude>5</Latitude>
  <Longitude>6</Longitude>
  <PhysicalAddress>sample string 4</PhysicalAddress>
</GeocodeAddress>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.