[GET] ~/criteria/locations
Gets the locations in this collection.
Request Information
URI Parameters
None.
Body Parameters
None.
Request Formats
None.
Response Information
Resource Description
An enumerator that allows foreach to be used to process the locations in this collection.
An instance of: Collection of Location| Name | Description | Type | |
|---|---|---|---|
|
The zero-based index of this location. |
integer | ||
|
The first address line. |
string | ||
|
The second address line. |
string | ||
|
The postal code (ZIP code). |
string | ||
|
The town. |
string | ||
|
The country. |
string | ||
|
The two-letter country code (according to ISO 3166-1 Alpha-2). |
string | ||
|
The company name. |
string | ||
|
The currency code to be used for this location. |
string | ||
|
The VAT (value added tax) percentage used for this location. |
decimal number | ||
|
A list of identifiers of the internal accounts. |
Collection of integer | ||
|
A comma-separated string representation of the identifiers of the internal accounts. Use this value in the search request, when the user selects this location. |
string | ||
|
A label for this location. |
string | ||
|
Indicates, if this location is currently selected. |
boolean | ||
|
Indicates, if the location should be selectable by the user. |
boolean |
Response Formats
application/json, text/json
[
{
"index": 1,
"address1": "sample string 2",
"address2": "sample string 3",
"zip": "sample string 4",
"town": "sample string 5",
"country": "sample string 6",
"countryCode": "sample string 7",
"name": "sample string 8",
"currency": "sample string 9",
"vat": 1.1,
"kuerzelIds": [
1,
2
],
"value": "sample string 10",
"label": "sample string 11",
"selected": true,
"selectable": true
},
{
"index": 1,
"address1": "sample string 2",
"address2": "sample string 3",
"zip": "sample string 4",
"town": "sample string 5",
"country": "sample string 6",
"countryCode": "sample string 7",
"name": "sample string 8",
"currency": "sample string 9",
"vat": 1.1,
"kuerzelIds": [
1,
2
],
"value": "sample string 10",
"label": "sample string 11",
"selected": true,
"selectable": true
}
]