Porta Plus 2 Web Services

<back to all web services

ACLAccountsRequest

The following routes are available for this service:
POST/AddAccessToACLAccounts
POST/BulkUpdateAccessToACLAccounts
POST/AddRemoveRoleToACL
GET/GetAccountAccess/{License}/{i_account}/{access}
GET/GetAllDisplayAccess/{License}
GET/GetAllAccessByCustomer/{License}/{i_customer}
GET/GetACLTemplateNames/{License}/{getTemplateName}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/ACLAccountsRequest HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: application/xml
Content-Length: length

<ACLAccountsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AddRemoveAccess>String</AddRemoveAccess>
  <UpdateRole>false</UpdateRole>
  <access>String</access>
  <all_accounts>String</all_accounts>
  <bitflag>0</bitflag>
  <bulkUpdate>false</bulkUpdate>
  <getTemplateName>false</getTemplateName>
  <i_account>0</i_account>
  <i_c_group>0</i_c_group>
  <i_customer>0</i_customer>
  <isNewCustomer>false</isNewCustomer>
</ACLAccountsRequest>