Resource Call Information Report
Resource  | 
Call Information Report  | 
|---|---|
Workspace  | 
Sentinel Services  | 
Path  | 
/callinformationreport  | 
Operations
Operation  | 
Retrieve a list of sub-resources offered by this resource  | 
|---|---|
Request Method  | 
GET  | 
Path  | 
/callinformationreport  | 
Parameters  | 
|
Request Body  | 
Not used  | 
Success Result  | 
200 OK  | 
Response Headers  | 
None  | 
Response Body  | 
/callinformationreport/config
Operation  | 
Create a new Call Information Report Config entry  | 
|---|---|
Request Method  | 
POST  | 
Path  | 
/callinformationreport/config  | 
Parameters  | 
  | 
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 Call Information Report Config entry or a listing of Call Information Report Config entries  | 
|---|---|
Request Method  | 
GET  | 
Path  | 
/callinformationreport/config  | 
Parameters  | 
  | 
Request Body  | 
Not used  | 
Success Result  | 
200 OK  | 
Response Headers  | 
None  | 
Response Body  | 
If scope is provided: CallInformationReportConfig Otherwise: CallInformationReportConfigs  | 
Operation  | 
Update an existing Call Information Report Config entry  | 
|---|---|
Request Method  | 
PUT  | 
Path  | 
/callinformationreport/config  | 
Parameters  | 
  | 
Request Body  | 
|
Success Result  | 
204 No content  | 
Response Headers  | 
None  | 
Response Body  | 
Not used  | 
Operation  | 
Delete an existing Call Information Report Config entry  | 
|---|---|
Request Method  | 
DELETE  | 
Path  | 
/callinformationreport/config  | 
Parameters  | 
  | 
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>
CallInformationReportConfig
Class: com.opencloud.sentinel.provisioning.callinformationreport.CallInformationReportConfig
JSON
{
  "type" : "object",
  "properties" : {
    "suppressOriginatingPartyCallInfoReport" : {
      "type" : "boolean",
      "required" : true
    },
    "suppressTerminatingPartyCallInfoReport" : {
      "type" : "boolean",
      "required" : true
    },
    "callAlertingTimeIsChargeable" : {
      "type" : "boolean",
      "required" : true
    },
    "callAlertingTimePrereservationSeconds" : {
      "type" : "integer"
    },
    "cirTimeout" : {
      "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="callInformationReportConfig" type="CallInformationReportConfigType"/>
  <xs:complexType name="CallInformationReportConfigType">
    <xs:sequence>
      <xs:element name="suppressOriginatingPartyCallInfoReport" type="xs:boolean"/>
      <xs:element name="suppressTerminatingPartyCallInfoReport" type="xs:boolean"/>
      <xs:element name="callAlertingTimeIsChargeable" type="xs:boolean"/>
      <xs:element name="callAlertingTimePrereservationSeconds" type="xs:int"/>
      <xs:element name="cirTimeout" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
CallInformationReportConfigs
Class: com.opencloud.sentinel.rest.server.resources.callinformationreport.CallInformationReportConfigResource$CallInformationReportConfigs
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="callInformationReportConfig" type="CallInformationReportConfigsEntryType"/>
  <xs:element name="callInformationReportConfigs" type="CallInformationReportConfigsType"/>
  <xs:element name="link" type="LinkType"/>
  <xs:complexType name="CallInformationReportConfigsType">
    <xs:sequence>
      <xs:element ref="callInformationReportConfig" 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="CallInformationReportConfigsEntryType">
    <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>
