Sip options prober API

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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzEsInN1YiI6OTd9.tbYu8G-hjrkKVThQJfLBHFcaBP87G5vrPUQf9E5k2No
Host: example.org
Cookie: 

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

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"bfaa27bb7e7a00e18bbe0fc0a424e9a0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7d04e99e-5cf2-4dbb-b6dd-3422bb7dfcbc
X-Runtime: 0.021366
Content-Length: 1421

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-03-12T14:35:31.558Z",
      "updated-at": "2024-03-12T14:35:31.558Z",
      "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"
        }
      }
    }
  }
}