Navigation:  Integration via SOAP web services > Published web services > Generic >

newRole

Previous  Top  Next

This method allows adding a new functional role. To insert each of these items, it is necessary to follow the standard documented below.

 

Java class

Request

web/wwwroot/ws/java/generic/NewRoleRequestType.java

Return

web/wwwroot/ws/java/generic/NewRoleResponseType.java

 

Request

ID #

Required

Description

IdRole

X

Functional role ID #

NmRole

X

Functional role name

IdRoleOwner

 

Upper level functional role ID #

Description

 

Functional role description

Components

 

List with the code(s) of the components to be associated according to suite shortcuts.

Examples:

Administration => ad

Time Control => tc

Process => pm

Project => pr

 

Return

ID #

Description

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Detail

SUCCESS: Record(s) added.

FAILURE: Message regarding the error that occurred.

Code

SUCCESS: 1

FAILURE: code regarding the error that occurred.

RecordID

SUCCESS: Functional role ID #.

FAILURE: N/A

RecordKey

SUCCESS: Functional role primary key.

FAILURE: N/A

 

Code

Description

43

The ID # has no value

44

Name has no value

45

Existing record

46

The upper level functional role does not exist

47

Invalid component