All Verbs | /User/GetAddressFromLocation/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
lat | query | string | No | |
lon | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No | |
APIKey | form | string | No | |
isAdmin | form | bool | No | |
Cmd | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserAddress | form | UserAddressDTO | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ExYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserAddressId | form | int | No | |
AddressAlias | form | string | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Country | form | string | No | |
ZipCode | form | string | No | |
DistrictId | form | int? | No | |
CityId | form | int? | No | |
StateId | form | int? | No | |
CountryId | form | int? | No | |
District | form | string | No | |
Street | form | string | No | |
BuildingNo | form | string | No | |
DoorNo | form | string | No | |
AddressRecipe | form | string | No | |
GeoAddress | form | string | No | |
Location | form | GeoLocation | No | |
InvoiceYn | form | bool | No | |
DeliveryYn | form | bool | No | |
ActiveYn | form | bool | No | |
DefaultYn | form | bool | No | |
PhoneNumber | form | string | No | |
form | string | No | ||
InvoiceAddressType | form | InvoiceAddressTypes? | No | |
InvoiceName | form | string | No | |
TaxOffice | form | string | No | |
TaxNo | form | string | No | |
Register | form | bool? | No | |
DeliveryName | form | string | No | |
DeliverySurname | form | string | No | |
EInvoiceYn | form | bool? | No | |
ExtensionData | form | string | No | |
IsHasOrderYn | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Lon | form | string | No | |
Lat | form | string | No | |
GeoAddress | form | string | No | |
IsDeleted | form | bool | No |
Name | Value |
---|---|
Personel | 1 |
Company | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserAddress | form | UserAddressDTO | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /User/GetAddressFromLocation/ HTTP/1.1
Host: baseservices.needion.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
lat: String,
lon: String,
start: 0001-01-01,
DeviceUUID: String,
APIKey: String,
isAdmin: False,
Cmd: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { UserAddress: { UserAddressId: 0, AddressAlias: String, Address1: String, Address2: String, City: String, State: String, Country: String, ZipCode: String, DistrictId: 0, CityId: 0, StateId: 0, CountryId: 0, District: String, Street: String, BuildingNo: String, DoorNo: String, AddressRecipe: String, GeoAddress: String, Location: { Lon: String, Lat: String, GeoAddress: String, IsDeleted: False }, InvoiceYn: False, DeliveryYn: False, ActiveYn: False, DefaultYn: False, PhoneNumber: String, Email: String, InvoiceAddressType: 0, InvoiceName: String, TaxOffice: String, TaxNo: String, Register: False, DeliveryName: String, DeliverySurname: String, EInvoiceYn: False, ExtensionData: String, IsHasOrderYn: False }, Result: False, ResMessage: String, Error: { ErrorYn: False, ExYn: False, ErrorCode: String, ErrorDescription: String }, PageInfo: { TotalRecordCount: 0, TotalPageCount: 0, CurrentPage: 0 } }