Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: GET /rest/sipremoteauthtable/{identifier}/sipremoteauthentry/{identifier}

Page Tree
rootResource - sipremoteauthentry

Retrieves all resource schema elements and values of a SIP Remote Authorization Table Entry based on a requested Table Entry ID in a given SIP Remote Authorization Table.

Tip

If no Table Entry ID is specified in the GET, a listing of all SIP Remote Authorization Table Entries will be returned along with their associated Table Entry IDs. These table entry identifiers can be used to collect resource schema element values via the GET sipremoteauthtable id - sipremoteauthentry id method.

URL:

https://134.56.227.163/rest/sipremoteauthtable/{identifier}/sipremoteauthentry/{identifier}

HTTP Method

GET

Requires Authentication:

true

Parameters

Name Required Values Description
filterNoconfigThe type of filtered information in the response. If no filters are specified, all get applied.

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt 
-i https://134.56.227.163/rest/sipremoteauthtable/1/sipremoteauthentry/1

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
</status>
 <sipremoteauthentry id="1:1" href="https://134.56.72.218/rest/sipremoteauthtable/1/sipremoteauthentry/1">
  <EncryptedPassword>XYE9SSwBHxKnFbYOcIt24ewJNZWSchFAJ8X0edHwRHFG0hp4cKCmGoAOU4lQulJe</EncryptedPassword>
  <FromURIUserMatch>0</FromURIUserMatch>
  <MatchRegex></MatchRegex>
  <Realm>rest</Realm>
  <User>hello world</User>
 </sipremoteauthentry>
</root>