Resource SIP Third Party Call

Resource

SIP Third Party Call

Workspace

Sentinel Services

Path

/sipthirdpartycall

Operations

Operation

Retrieve a list of sub-resources offered by this resource

Request Method

GET

Path

/sipthirdpartycall

Parameters

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

/sipthirdpartycall/config

Operation

Create a new SIP Third Party Call Config entry

Request Method

POST

Path

/sipthirdpartycall/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing SIP Third Party Call Config entry or a listing of SIP Third Party Call Config entries

Request Method

GET

Path

/sipthirdpartycall/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

If scope is provided: SIPThirdPartyCallConfig Otherwise: SIPThirdPartyCallConfigs

Operation

Update an existing SIP Third Party Call Config entry

Request Method

PUT

Path

/sipthirdpartycall/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing SIP Third Party Call Config entry

Request Method

DELETE

Path

/sipthirdpartycall/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

Schemas

Feature

Class: com.opencloud.sentinel.rest.common.Feature

JSON
{
  "type" : "object",
  "properties" : {
    "name" : {
      "type" : "string"
    },
    "resources" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "rel" : {
            "type" : "string"
          },
          "href" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          }
        }
      }
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="feature" type="FeatureType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="FeatureType">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

SIPThirdPartyCallConfig

Class: com.opencloud.sentinel.provisioning.sipthirdpartycall.SIPThirdPartyCallConfig

JSON
{
  "type" : "object",
  "properties" : {
    "expiresHeader" : {
      "type" : "integer"
    },
    "maxForwardsHeader" : {
      "type" : "integer"
    },
    "supportedHeader" : {
      "type" : "string"
    },
    "routeHeaderURI" : {
      "type" : "string"
    },
    "userAgentHeader" : {
      "type" : "string"
    },
    "transport" : {
      "type" : "string"
    },
    "isSipURIUsed" : {
      "type" : "boolean",
      "required" : true
    },
    "sipURIDomain" : {
      "type" : "string"
    },
    "noAnswerApplicationTimer" : {
      "type" : "integer"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="sIPThirdPartyCallConfig" type="SIPThirdPartyCallConfigType"/>

  <xs:complexType name="SIPThirdPartyCallConfigType">
    <xs:sequence>
      <xs:element name="expiresHeader" type="xs:int"/>
      <xs:element name="maxForwardsHeader" type="xs:int"/>
      <xs:element name="supportedHeader" type="xs:string" nillable="true" minOccurs="0"/>
      <xs:element name="routeHeaderURI" type="xs:string" nillable="true" minOccurs="0"/>
      <xs:element name="userAgentHeader" type="xs:string" nillable="true" minOccurs="0"/>
      <xs:element name="transport" type="xs:string" minOccurs="0"/>
      <xs:element name="isSipURIUsed" type="xs:boolean"/>
      <xs:element name="sipURIDomain" type="xs:string" nillable="true" minOccurs="0"/>
      <xs:element name="noAnswerApplicationTimer" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

SIPThirdPartyCallConfigs

Class: com.opencloud.sentinel.rest.server.resources.sipthirdpartycall.SIPThirdPartyCallConfigResource$SIPThirdPartyCallConfigs

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="link" type="LinkType"/>

  <xs:element name="sIPThirdPartyCallConfig" type="SIPThirdPartyCallConfigsEntryType"/>

  <xs:element name="sIPThirdPartyCallConfigs" type="SIPThirdPartyCallConfigsType"/>

  <xs:complexType name="SIPThirdPartyCallConfigsType">
    <xs:sequence>
      <xs:element ref="sIPThirdPartyCallConfig" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="SIPThirdPartyCallConfigsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>
Previous page Next page