get listing
GET /api/rest/customer/v1/services
Parameters
Name |
Description |
filter[id]
|
id filter
|
filter[created-at-eq]
|
created at eq filter
|
filter[created-at-not-eq]
|
created at not eq filter
|
filter[created-at-gt]
|
created at gt filter
|
filter[created-at-gteq]
|
created at gteq filter
|
filter[created-at-lt]
|
created at lt filter
|
filter[created-at-lteq]
|
created at lteq filter
|
filter[created-at-in]
|
created at in filter
|
filter[created-at-not-in]
|
created at not in 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[account-id-eq]
|
account id eq filter
|
filter[account-id-not-eq]
|
account id not eq filter
|
filter[account-id-in]
|
account id in filter
|
filter[account-id-not-in]
|
account id not in filter
|
filter[initial-price-eq]
|
initial price eq filter
|
filter[initial-price-not-eq]
|
initial price not eq filter
|
filter[initial-price-gt]
|
initial price gt filter
|
filter[initial-price-gteq]
|
initial price gteq filter
|
filter[initial-price-lt]
|
initial price lt filter
|
filter[initial-price-lteq]
|
initial price lteq filter
|
filter[initial-price-in]
|
initial price in filter
|
filter[initial-price-not-in]
|
initial price not in filter
|
filter[renew-price-eq]
|
renew price eq filter
|
filter[renew-price-not-eq]
|
renew price not eq filter
|
filter[renew-price-gt]
|
renew price gt filter
|
filter[renew-price-gteq]
|
renew price gteq filter
|
filter[renew-price-lt]
|
renew price lt filter
|
filter[renew-price-lteq]
|
renew price lteq filter
|
filter[renew-price-in]
|
renew price in filter
|
filter[renew-price-not-in]
|
renew price not in filter
|
filter[renew-at-eq]
|
renew at eq filter
|
filter[renew-at-not-eq]
|
renew at not eq filter
|
filter[renew-at-gt]
|
renew at gt filter
|
filter[renew-at-gteq]
|
renew at gteq filter
|
filter[renew-at-lt]
|
renew at lt filter
|
filter[renew-at-lteq]
|
renew at lteq filter
|
filter[renew-at-in]
|
renew at in filter
|
filter[renew-at-not-in]
|
renew at not in filter
|
filter[renew-period-eq]
|
renew period eq filter
|
filter[renew-period-not-eq]
|
renew period not eq filter
|
filter[renew-period-in]
|
renew period in filter
|
filter[renew-period-not-in]
|
renew period not in filter
|
Request
Headers
Route
GET /api/rest/customer/v1/services
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "308d5cd1-1c13-40de-a2ab-a154104202d4",
"type": "services",
"links": {
"self": "http://example.org/api/rest/customer/v1/services/308d5cd1-1c13-40de-a2ab-a154104202d4"
},
"attributes": {
"name": "Service_8",
"state": "Active",
"initial-price": "51.18",
"renew-price": "31.38",
"created-at": "2024-11-14T00:01:09.820Z",
"renew-at": null,
"renew-period": "Disabled",
"service-type": "Service Type 14",
"ui-type": "phone_systems"
},
"relationships": {
"account": {
"links": {
"self": "http://example.org/api/rest/customer/v1/services/308d5cd1-1c13-40de-a2ab-a154104202d4/relationships/account",
"related": "http://example.org/api/rest/customer/v1/services/308d5cd1-1c13-40de-a2ab-a154104202d4/account"
}
},
"transactions": {
"links": {
"self": "http://example.org/api/rest/customer/v1/services/308d5cd1-1c13-40de-a2ab-a154104202d4/relationships/transactions",
"related": "http://example.org/api/rest/customer/v1/services/308d5cd1-1c13-40de-a2ab-a154104202d4/transactions"
}
}
}
},
{
"id": "e185d63b-6529-40b9-b0b2-6021bd726f96",
"type": "services",
"links": {
"self": "http://example.org/api/rest/customer/v1/services/e185d63b-6529-40b9-b0b2-6021bd726f96"
},
"attributes": {
"name": "Service_9",
"state": "Active",
"initial-price": "61.33",
"renew-price": "79.04",
"created-at": "2024-11-14T07:52:09.853Z",
"renew-at": null,
"renew-period": "Disabled",
"service-type": "Service Type 15",
"ui-type": "phone_systems"
},
"relationships": {
"account": {
"links": {
"self": "http://example.org/api/rest/customer/v1/services/e185d63b-6529-40b9-b0b2-6021bd726f96/relationships/account",
"related": "http://example.org/api/rest/customer/v1/services/e185d63b-6529-40b9-b0b2-6021bd726f96/account"
}
},
"transactions": {
"links": {
"self": "http://example.org/api/rest/customer/v1/services/e185d63b-6529-40b9-b0b2-6021bd726f96/relationships/transactions",
"related": "http://example.org/api/rest/customer/v1/services/e185d63b-6529-40b9-b0b2-6021bd726f96/transactions"
}
}
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/customer/v1/services?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/customer/v1/services?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}