Add New User Assignment
post
/api/1.0/userassignment
This endpoint is used to add a new user assignment.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
The application ID of host service.
-
branchCode: string
The branch code of requesting branch.
-
contentType(optional): string
The content type of request or response body.
-
userId: string
The user ID of requesting user.
This request Body contains data required for creating a new User Assignment.
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : DmTmUserAssignmentDTO-allOf[1]
Type:
Show Source
object
-
assigmentMethodCd(optional):
string
Assignment Method Code
-
assignmentCd(optional):
string
Assignment Code
-
assignmentDescr(optional):
string
Assignment Description
-
DmTmUserAssignmentGroupsDTO(optional):
array DmTmUserAssignmentGroupsDTO
-
effectiveDate(optional):
string
Effective Date
-
expiryDate(optional):
string
Expiry Date
-
groupBasis(optional):
string
Group Basis
-
ignoreGroupBasisFlg(optional):
boolean
Ignore Group Basis Flag
-
priority(optional):
integer
Priority
-
productProcessorCd(optional):
string
Product Processor Code
-
ruleCd(optional):
string
Rule Code
Nested Schema : DmTmUserAssignmentGroupsDTO
Type:
Show Source
object
-
activeFlg(optional):
boolean
Active Flag
-
id(optional):
string
ID of the User Group
-
userAssignmentMasterId(optional):
string
ID of the User Assignment
-
userGroupCd(optional):
string
User Group Code
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure.
Headers
-
Location: string
URL of newly created User Assignment.
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input.
500 Response
Internal error.