/api/customers/K0002/routers/700 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/routers/700",
"links": [],
"data": [{
"name": "hostname",
"value": "router01.nfon.net"
}, {
"name": "type",
"value": "router type"
}, {
"name": "comment",
"value": "router comment"
}, {
"name": "monitor",
"value": false
}, {
"name": "manageableInPortal",
"value": false
}]
}
/api/customers/K0002/routers/700 HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Required role is missing",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K404/routers/700 HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Customer not found",
"detail": "Customer with identifier K404 has not been found",
"described_by": "http://api.nfon.net/probs/customer-not-found"
}
/api/customers/K0002/routers/404 HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Router not found",
"detail": "Router with ID 404 has not been found",
"described_by": "http://api.nfon.net/probs/router-not-found"
}
/api/customers/K0003/routers/700 HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/routers/700 HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}