get listing
GET /api/rest/admin/currencies
Parameters
| Name |
Description |
|
filter[id]
|
id filter
|
|
filter[name-eq]
|
name eq filter
|
|
filter[name-not-eq]
|
name not eq filter
|
|
filter[name-cont]
|
name cont filter
|
|
filter[name-start]
|
name start filter
|
|
filter[name-end]
|
name end filter
|
|
filter[name-in]
|
name in filter
|
|
filter[name-not-in]
|
name not in filter
|
|
filter[name-cont-any]
|
name cont any filter
|
|
filter[rate-eq]
|
rate eq filter
|
|
filter[rate-not-eq]
|
rate not eq filter
|
|
filter[rate-gt]
|
rate gt filter
|
|
filter[rate-gteq]
|
rate gteq filter
|
|
filter[rate-lt]
|
rate lt filter
|
|
filter[rate-lteq]
|
rate lteq filter
|
|
filter[rate-in]
|
rate in filter
|
|
filter[rate-not-in]
|
rate not in filter
|
Request
Headers
Route
GET /api/rest/admin/currencies
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "0",
"type": "currencies",
"links": {
"self": "http://example.org/api/rest/admin/currencies/0"
},
"attributes": {
"name": "USD",
"rate": 1.0
}
},
{
"id": "2",
"type": "currencies",
"links": {
"self": "http://example.org/api/rest/admin/currencies/2"
},
"attributes": {
"name": "AFN",
"rate": 1.5
}
},
{
"id": "3",
"type": "currencies",
"links": {
"self": "http://example.org/api/rest/admin/currencies/3"
},
"attributes": {
"name": "ALL",
"rate": 1.5
}
}
],
"meta": {
"total-count": 3
},
"links": {
"first": "http://example.org/api/rest/admin/currencies?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/currencies?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}