get listing
GET /api/rest/admin/routing/rateplans
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
|
filter[profit-control-mode-id-eq]
|
profit control mode id eq filter
|
filter[profit-control-mode-id-not-eq]
|
profit control mode id not eq filter
|
filter[profit-control-mode-id-gt]
|
profit control mode id gt filter
|
filter[profit-control-mode-id-gteq]
|
profit control mode id gteq filter
|
filter[profit-control-mode-id-lt]
|
profit control mode id lt filter
|
filter[profit-control-mode-id-lteq]
|
profit control mode id lteq filter
|
filter[profit-control-mode-id-in]
|
profit control mode id in filter
|
filter[profit-control-mode-id-not-in]
|
profit control mode id not in filter
|
Request
Headers
Route
GET /api/rest/admin/routing/rateplans
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "20",
"type": "rateplans",
"links": {
"self": "http://example.org/api/rest/admin/routing/rateplans/20"
},
"attributes": {
"name": "rateplan7",
"profit-control-mode-id": 2
}
},
{
"id": "21",
"type": "rateplans",
"links": {
"self": "http://example.org/api/rest/admin/routing/rateplans/21"
},
"attributes": {
"name": "rateplan8",
"profit-control-mode-id": 2
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/routing/rateplans?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/routing/rateplans?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}