api_auth

<back to all web services

PrivilegesUpdate

PrivilegesUpdate Parameters:
NameParameterData TypeRequiredDescription
UpdatesqueryPrivilegeUpdate[]No
PrivilegeUpdate Parameters:
NameParameterData TypeRequiredDescription
PrivilegeIDformlongNo
SiteIDformlong?No
GroupIDformlong?No
PersonIDformlong?No
ActionIDformshort?No
ActionGroupIDformshort?No
IsNetworkActionformboolNo
IsGroupActonformboolNo
DelegateLevelformbyteNo
LevelformbyteNo
DeleteformboolNo

To override the Content-type in your clients, use the 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/PrivilegesUpdate HTTP/1.1 
Host: 1.hyper.id 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<PrivilegesUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bitpub.Api.Auth.Common">
  <Updates>
    <PrivilegeUpdate>
      <ActionGroupID>0</ActionGroupID>
      <ActionID>0</ActionID>
      <DelegateLevel>0</DelegateLevel>
      <Delete>false</Delete>
      <GroupID>0</GroupID>
      <IsGroupActon>false</IsGroupActon>
      <IsNetworkAction>false</IsNetworkAction>
      <Level>0</Level>
      <PersonID>0</PersonID>
      <PrivilegeID>0</PrivilegeID>
      <SiteID>0</SiteID>
    </PrivilegeUpdate>
  </Updates>
</PrivilegesUpdate>