get specific entry
GET /api/rest/admin/dialpeers/:id
Request
Headers
Route
GET /api/rest/admin/dialpeers/1376791
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "1376791",
"type": "dialpeers",
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791"
},
"attributes": {
"enabled": true,
"next-rate": "0.0",
"connect-fee": "0.0",
"initial-rate": "0.0",
"initial-interval": 60,
"next-interval": 60,
"valid-from": "2024-11-04T09:55:54.588Z",
"valid-till": "2024-11-24T09:55:54.588Z",
"prefix": "",
"src-rewrite-rule": null,
"dst-rewrite-rule": null,
"acd-limit": 0.0,
"asr-limit": 0.0,
"src-rewrite-result": null,
"dst-rewrite-result": null,
"locked": false,
"priority": 100,
"exclusive-route": false,
"capacity": 1,
"lcr-rate-multiplier": "1.0",
"force-hit-rate": null,
"network-prefix-id": null,
"created-at": "2024-11-14T09:55:54.655Z",
"short-calls-limit": 1.0,
"external-id": 8,
"routing-tag-ids": [
],
"dst-number-min-length": 0,
"dst-number-max-length": 100,
"reverse-billing": false
},
"relationships": {
"gateway": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/gateway",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/gateway"
},
"data": null
},
"gateway-group": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/gateway-group",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/gateway-group"
},
"data": {
"type": "gateway-groups",
"id": "10"
}
},
"routing-group": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routing-group",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/routing-group"
},
"data": {
"type": "routing-groups",
"id": "29"
}
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/vendor",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/vendor"
},
"data": {
"type": "contractors",
"id": "72"
}
},
"account": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/account",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/account"
},
"data": {
"type": "accounts",
"id": "76"
}
},
"routing-tag-mode": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routing-tag-mode",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/routing-tag-mode"
},
"data": {
"type": "routing-tag-modes",
"id": "0"
}
},
"routeset-discriminator": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routeset-discriminator",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/routeset-discriminator"
},
"data": {
"type": "routeset-discriminators",
"id": "9"
}
},
"dialpeer-next-rates": {
"links": {
"self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/dialpeer-next-rates",
"related": "http://example.org/api/rest/admin/dialpeers/1376791/dialpeer-next-rates"
}
}
}
}
}