create new entry
POST /api/rest/admin/equipment/sip-options-probers
Parameters
Name |
Description |
data[type]
|
Resource type (sip-options-probers)
|
data[attributes][name]
|
Name
|
data[attributes][ruri-username]
|
Ruri username
|
data[attributes][ruri-domain]
|
Ruri domain
|
data[attributes][append-headers]
|
Append headers
|
data[attributes][auth-password]
|
Auth password
|
data[attributes][auth-username]
|
Auth username
|
data[attributes][contact-uri]
|
Contact uri
|
data[attributes][enabled]
|
Enabled
|
data[attributes][from-uri]
|
From uri
|
data[attributes][interval]
|
Interval
|
data[attributes][proxy]
|
Proxy
|
data[attributes][sip-interface-name]
|
Sip interface name
|
data[attributes][sip-schema-id]
|
Sip schema id
|
data[attributes][to-uri]
|
To uri
|
data[attributes][created-at]
|
Created at
|
data[attributes][updated-at]
|
Updated at
|
data[attributes][external-id]
|
External id
|
data[relationships][transport-protocol]
|
Transport protocol
|
data[relationships][proxy-transport-protocol]
|
Proxy transport protocol
|
data[relationships][node]
|
Node
|
data[relationships][pop]
|
Pop
|
Request
Headers
Route
POST /api/rest/admin/equipment/sip-options-probers
Body
{"data":{"type":"sip-options-probers","attributes":{"name":"name","ruri-username":"ruri-username","ruri-domain":"ruri-domain"},"relationships":{"transport-protocol":{"data":{"type":"transport-protocols","id":1}},"proxy-transport-protocol":{"data":{"type":"transport-protocols","id":1}}}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "4",
"type": "sip-options-probers",
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/4"
},
"attributes": {
"append-headers": null,
"auth-password": null,
"auth-username": null,
"contact-uri": null,
"enabled": true,
"from-uri": null,
"interval": 60,
"name": "name",
"proxy": null,
"ruri-domain": "ruri-domain",
"ruri-username": "ruri-username",
"sip-interface-name": null,
"sip-schema-id": 1,
"to-uri": null,
"created-at": "2024-11-14T09:55:56.366Z",
"updated-at": "2024-11-14T09:55:56.366Z",
"external-id": null
},
"relationships": {
"node": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/relationships/node",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/node"
}
},
"pop": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/relationships/pop",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/pop"
}
},
"proxy-transport-protocol": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/relationships/proxy-transport-protocol",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/proxy-transport-protocol"
}
},
"transport-protocol": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/relationships/transport-protocol",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/4/transport-protocol"
}
}
}
}
}