Skip to main content
Version: 2.2.1

import_objectSecurity

This method allows adding and editing:

  • Data of a security type

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\asset\Import_objectSecurityRequestType.java
Returnweb\wwwroot\ws\java\asset\Import_objectSecurityResponseType.java

Request:

ID #RequiredDescription
IDOBJECTTYPEXObject type ID #
ACCESSTYPEXAccess control type:
1 - Group of users,
2 - Department,
3 - Department/Position,
4 - Position,
5 - User,
6 - All.
PERMISSIONXPermission type:
1 - Allow;
2 - Deny.
IDACCESSTYPEXAccess type ID #.
Example: If the type is by user, it will be the user ID. If the type is by department, it will be the department ID #.
IDFUNCTIONX²Position ID #. This field will only be used if the type is by department and position. That way, the department will go in the IDACCESSTYPE field, and the position in this one.
INSERTX¹Control to add:
1 - Yes;
2 - No.
EDITX¹Control to edit:
1 - Yes;
2 - No.
DELETEX¹Control to delete:
1 - Yes;
2 - No.
SECURITYX¹Security control:
1 - Yes;
2 - No.
LISTX¹Listing control:
1 - Yes;
2 - No.
VIEWX¹View control:
1 - Yes;
2 - No.
info
  • X¹ - Required at least one control field
  • X² - Required when IDACCESSTYPE is equal to 2.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_objectSecurity>
<!--You may enter the following 11 items in any order-->
<urn:idobjecttype>?</urn:idobjecttype>
<urn:accesstype>?</urn:accesstype>
<urn:permission>?</urn:permission>
<urn:idaccesstype>?</urn:idaccesstype>
<urn:idfunction>?</urn:idfunction>
<urn:insert>?</urn:insert>
<urn:edit>?</urn:edit>
<urn:delete>?</urn:delete>
<urn:security>?</urn:security>
<urn:list>?</urn:list>
<urn:view>?</urn:view>
</urn:import_objectSecurity>
</soapenv:Body>
</soapenv:Envelope>

Return: