Get Traffic Classes
This request returns a list of traffic classes.
Resource
GET /trafficclasses
Parameters
Payload
None
Response
Context
Authorization |
Administrator |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/trafficclasses
Response
{
"data": [
{
"object": {
"commonName": "Geen 06",
"oid": "1797754",
"objectType": "XCCTrafficClass"
},
"links": [
{
"rel": "self",
"href": "https://xeion.nl/api/v1/master/trafficclasses/1797754",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Xelion verkeersklasse west europa toegestaan",
"oid": "1797858",
"objectType": "XCCTrafficClass"
},
"links": [
{
"rel": "self",
"href": "https://xeion.nl/api/v1/master/trafficclasses/1797858",
"method": "GET"
}
]
},
{
"object": {
"commonName": "traffic class",
"oid": "1799054",
"objectType": "XCCTrafficClass"
},
"links": [
{
"rel": "self",
"href": "https://xeion.nl/api/v1/master/trafficclasses/1799054",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xeion.nl/api/v1/master/trafficclasses",
"method": "GET"
},
{
"rel": "next",
"href": "https://xeion.nl/api/v1/master/trafficclasses?after=1799180",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xeion.nl/api/v1/master/trafficclasses?before=1797754",
"method": "GET"
}
],
"paging": {
"previousId": "1797754",
"nextId": "1799180"
}
}
}