/api/customers/K0002/trunks/0048.22.123456.00-20 HTTP/1.1 200 OK application/vnd.collection.next+json {
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20",
"links": [{
"rel": "site",
"href": "/api/customers/K0002/sites/a0b20000000ADEF"
}, {
"rel": "customer",
"href": "/api/customers/K0002"
}, {
"rel": "customerContract",
"href": "/api/customers/K0002/contracts/a0b20000000AGHI"
}, {
"rel": "softswitch",
"href": "/api/operators/C0002/softswitches/100"
}, {
"rel": "dropExtension",
"href": "/api/customers/K0002/targets/group-services/100"
}, {
"rel": "timezone",
"href": "INHERIT"
}, {
"rel": "availableExtensionNumbers",
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20/available-extensions"
}, {
"rel": "availableContracts",
"href": "/api/customers/K0002/contracts"
}, {
"rel": "availableSoftswitches",
"href": "/api/operators/C0002/softswitches"
}, {
"rel": "availableDropExtensions",
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20/available-drop-extensions"
}, {
"rel": "inboundBlacklistGlobalProfile",
"href": "/api/customers/K0002/blacklist-global-profiles/Test_Inbound_Blacklist_Global_Profile"
}, {
"rel": "outboundBlacklistGlobalProfile",
"href": "/api/customers/K0002/blacklist-global-profiles/Test_Outbound_Blacklist_Global_Profile"
}],
"data": [{
"name": "formatDisplay",
"value": "+48 (22) 123456(00-20)"
}, {
"name": "trunkNumber",
"value": "001"
}, {
"name": "baseNumber",
"value": "+48 (22) 123456"
}, {
"name": "inboundCallsEnabled",
"value": true
}, {
"name": "outboundCallsEnabled",
"value": true
}, {
"name": "numberblockStart",
"value": 0
}, {
"name": "numberblockEnd",
"value": 20
}, {
"name": "shortenOnZero",
"value": true
}, {
"name": "baseNumberReachable",
"value": false
}, {
"name": "hairpinCallsEnabled",
"value": true
}, {
"name": "clipNoScreeningEnabled",
"value": true
}, {
"name": "suppressLineno",
"value": "OFF"
}]
}
/api/customers/K0002/trunks/0048.22.123456.0-9 HTTP/1.1 200 OK application/vnd.collection.next+json {
"data": [{
"name": "salesForceId",
"value": "a0b20000000ACCC"
}]
}
/api/customers/K0002/trunks/0048.22.123456.00-20 HTTP/1.1 200 OK {
"links": [{
"rel": "customerContract",
"href": null
}]
}
/api/customers/K0002/trunks/0048.22.123456.00-20 HTTP/1.1 200 OK application/vnd.collection.next+json {
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20",
"links": [{
"rel": "dropExtension",
"href": "/api/customers/K0002/targets/group-services/100"
}, {
"rel": "timezone",
"href": "INHERIT"
}, {
"rel": "availableExtensionNumbers",
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20/available-extensions"
}, {
"rel": "availableDropExtensions",
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20/available-drop-extensions"
}],
"data": [{
"name": "formatDisplay",
"value": "+48 (22) 123456(00-20)"
}, {
"name": "trunkNumber",
"value": "01"
}, {
"name": "suppressLineno",
"value": "OFF"
}]
}
/api/customers/K0002/trunks/0048.22.123456.00-20 HTTP/1.1 200 OK application/vnd.collection.next+json {
"href": "/api/customers/K0002/trunks/0048.22.123456.00-20",
"links": [{
"rel": "dropExtension",
"href": null
}]
}
/api/customers/K0002/trunks/0048.22.123456 HTTP/1.1 200 OK application/vnd.collection.next+json {
"href": "/api/customers/K0002/trunks/0048.22.123456",
"data": [{
"name": "formatDisplay",
"value": "+48 (22) 123456"
}]
}
/api/customers/K0002/trunks/0048.22.123456 HTTP/1.1 404 Not Found {
"detail": "Trunk with number 0048.22.123456 has not been found",
"title": "Trunk not found",
"described_by": "http://api.nfon.net/probs/trunk-not-found"
}
/api/customers/K0002/trunks/0048.22.346346.0-9 HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0002/trunks/0048.22.346346.09 HTTP/1.1 400 Bad Request application/api-problem+json {
"detail": "Trunk Number 0048.22.346346.09 is incorrect",
"title": "Incorrect Trunk Number",
"described_by": "http://api.nfon.net/probs/incorrect-trunk-number"
}
/api/customers/K0002/trunks/0048.22.346346.0-9 HTTP/1.1 404 Not Found application/api-problem+json {
"detail": "Trunk with number 0048.22.346346.0-9 has not been found",
"title": "Trunk not found",
"described_by": "http://api.nfon.net/probs/trunk-not-found"
}
/api/customers/K404/trunks/0048.22.346346.0-9 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/K0003/trunks/0048.22.346346.0-9 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/trunks/0048.22.346346.0-9 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"
}