Versions Compared

Key

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

REST API Method: PUT /rest/cacprofile/{identifier}

Page Tree
rootResource - cacprofile

Creates a Lync CAC Profile entry given a specific ID.

URL:

https://134.56.227.163/rest/cacprofile/{identifier}

HTTP Method

PUT

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
DescriptionYesNostringnone64 - Max LengthDescribes the Lync CAC Profile Entry that it is easily identifiable when selecting it in WAN config
CACProfileNameYesNostringnone32 - Max LengthName of the Lync CAC profile as defined in the lync topology.
TotalLinkAudioLimitYesNoint2000Possible values:
  • 0 - Minimum
  • 100000 - Maximum
Total audio bandwidth allowed for the whole link in kbps, 0 means disabled.
SessionAudioLimitYesNoint175Possible values:
  • 40 - Minimum
  • 1000 - Maximum
Audio bandwidth allowed for a single session in kbps. This is applicable only if the TotalLinkAudioLimit is not disabled.
TotalLinkVideoLimitYesNoint7000Possible values:
  • 0 - Minimum
  • 100000 - Maximum
Total video bandwidth allowed for the whole link in kbps, 0 means disabled.
SessionVideoLimitYesNoint700Possible values:
  • 100 - Minimum
  • 2000 - Maximum
Video bandwidth allowed for a single session in kbps. This is applicable only if the TotalLinkVideoLimit is not disabled.

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

Code Block
languagebash
curl --cookie PHPSESSID=cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/cacprofile/1 -X PUT --data "ConfigIEState=1&Description=REST LYNC CAC PROFILE&TotalLinkAudioLimit=2000&CACProfileName=foo&TotalLinkVideoLimit=7000&SessionAudioLimit=175&SessionVideoLimit=700"

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
 <cacprofile id="1" href="https://134.56.72.218/rest/cacprofile/1">
  <CACProfileName>foo</CACProfileName>
  <Description>REST LYNC CAC PROFILE</Description>
  <SessionAudioLimit>175</SessionAudioLimit>
  <SessionVideoLimit>700</SessionVideoLimit>
  <TotalLinkAudioLimit>2000</TotalLinkAudioLimit>
  <TotalLinkVideoLimit>7000</TotalLinkVideoLimit>
 </cacprofile>
</root>