View all registrations

Available in 14 starting with 14.10

Resource URI: /registrations

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description





Filtering Parameters:

Parameter

Description

start

Required. The start date?

limit

Required. The maximum number of results to be displayed.

Specific Response Codes: N/A

HTTP Method: GET

Retrieves all registrations in the system.

Example: XML format

<Registrations>

<Registration>

<contact><sip:300@192.168.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP></contact>

<expires>1414406900</expires>

<identity>300@dlu.ezuce.ro</identity>

<instrument />

<primary>10.5.0.151</primary>

<regCallId>YWQ2ZDQ4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU.</regCallId>

<uri><sip:300@dlu.ezuce.ro;transport=TCP></uri>

<secondsToExpire>3885026</secondsToExpire>

<status>active</status>

</Registration>

<Registrations>

<Registration>

<contact><sip:300@12.18.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP></contact>

<expires>4005065</expires>

<identity>403@dlu.ezuce.ro</identity>

<instrument />

<primary>106.5.60.151</primary>

<regCallId>qWErtyu4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU.</regCallId>

<uri><sip:403@dlu.ezuce.ro;transport=TCP></uri>

<secondsToExpire>3885026</secondsToExpire>

<status>active</status>

</Registration>

</Registrations>

</Registrations>

JSON format

{

registrations:

{

secondsToExpire: 3885065

status: "active"

uri: "<sip:300@dlu.ezuce.ro;transport=TCP>"

primary: "10.521.0.751"

expires: 1414406900

identity: "300@dlu.ezuce.ro"

contact: "<sip:300@192.168.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP>"

instrument: ""

regCallId: "YWQ2ZDQ4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU."

}-

-

}

{

registrations:

{

secondsToExpire: 4005065

status: "active"

uri: "<sip:300@dlu.ezuce.ro;transport=TCP>"

primary: "10.521.0.751"

expires: 1414406900

identity: "403@dlu.ezuce.ro"

contact: "<sip:3403@12.18.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP>"

instrument: ""

regCallId: "qWErtyu4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU."

}-

-

}

Unsupported HTTP Method: PUT, POST, DELETE

Filter registrations by users

Available in 14 starting with 14.10

Resource URI: /registrations/user/{userId}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description

ID

The ID, name or the alias of the user.



Specific Response Codes: N/A

Filtering Parameters:

Parameter

Description

start

Required. The start date?

limit

Required. The maximum number of results to be displayed.

HTTP Method: GET

Retrieves registrations for the specified user.

Example: XML format

<Registrations>

<Registration>

<contact><sip:300@192.168.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP></contact>

<expires>1414406900</expires>

<identity>300@dlu.ezuce.ro</identity>

<instrument />

<primary>10.521.0.751</primary>

<regCallId>YWQ2ZDQ4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU.</regCallId>

<uri><sip:300@dlu.ezuce.ro;transport=TCP></uri>

<secondsToExpire>3885026</secondsToExpire>

<status>active</status>

</Registration>

<Registrations>

JSON format

{

registrations:

{

secondsToExpire: 3885065

status: "active"

uri: "<sip:300@dlu.ezuce.ro;transport=TCP>"

primary: "10.521.0.751"

expires: 1414406900

identity: "300@dlu.ezuce.ro"

contact: "<sip:300@192.168.1.75:47745;rinstance=3a3f20073b10f632;transport=TCP>"

instrument: ""

regCallId: "YWQ2ZDQ4NTVhYThiMWM1M2ZkYjQ5ZTIyMTRmODYzZjU."

}-

-

}

{

HTTP Method: DELETE

Stops registrations for the specified user.

Unsupported HTTP Method: PUT, POST


Filter registrations by MAC addresses

Available in 14 starting with 14.10

Resource URI: /registrations/serialNo/{serialId}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description

Registrations

The number of registrations for the specified serial number.



Specific Response Codes: N/A

HTTP Method: GET

Retrieves registrations for the specified MAC addresses.

Example: XML format

<Registrations />

JSON format

{

registrations: [0]

}

HTTP Method: DELETE

Stops registrations for the specified MAC addresses.

Unsupported HTTP Method: PUT, POST


Filter registrations by IPs

Available in 14 starting with 14.10

Resource URI: /registrations/ip/{ip}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description





Specific Response Codes: N/A

HTTP Method: GET

Retrieves registrations for the specified IP.

Example: XML format


JSON format

HTTP Method: DELETE

Stops registrations for the specified IP.

Unsupported HTTP Method: PUT, POST


Filter registrations by call ID

Available in 14 starting with 14.10

Resource URI: /registrations/callId/{callId}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description





Specific Response Codes: N/A

HTTP Method: GET

Retrieves registrations for the specified call ID.

Example: XML format


JSON format

HTTP Method: DELETE

Stops registrations for the specified call ID.

Unsupported HTTP Method: PUT, POST


Filter registrations by servers

Available in 14 starting with 14.10

Resource URI: /registrations/server/{serverId}

Default Resource Properties:

The resource is represented by the following properties when the GET request is performed:

Property

Description





Specific Response Codes: N/A

HTTP Method: GET

Retrieve registrations for server based on internal ID or FQDN.

HTTP Method: DELETE

Stops registrations for the specified server.

Unsupported HTTP Method: PUT, POST