Skip to main content
Version: 2.2.3

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 #.
IDFUNCTIONPosition 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.
INSERTControl to add:
1 - Yes;
2 - No.
EDITControl to edit:
1 - Yes;
2 - No.
DELETEControl to delete:
1 - Yes;
2 - No.
SECURITYSecurity control:
1 - Yes;
2 - No.
LISTListing control:
1 - Yes;
2 - No.
VIEWView 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: