get listing
GET /api/rest/admin/gateway-groups
Parameters
Name |
Description |
filter[id]
|
id filter
|
filter[name]
|
name 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
|
Request
Headers
Route
GET /api/rest/admin/gateway-groups
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "14",
"type": "gateway-groups",
"links": {
"self": "http://example.org/api/rest/admin/gateway-groups/14"
},
"attributes": {
"name": "gateway_group_12"
},
"relationships": {
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/gateway-groups/14/relationships/vendor",
"related": "http://example.org/api/rest/admin/gateway-groups/14/vendor"
},
"data": {
"type": "contractors",
"id": "76"
}
}
}
},
{
"id": "15",
"type": "gateway-groups",
"links": {
"self": "http://example.org/api/rest/admin/gateway-groups/15"
},
"attributes": {
"name": "gateway_group_13"
},
"relationships": {
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/gateway-groups/15/relationships/vendor",
"related": "http://example.org/api/rest/admin/gateway-groups/15/vendor"
},
"data": {
"type": "contractors",
"id": "77"
}
}
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/gateway-groups?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/gateway-groups?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}