Reassign Accounts Based On Segment Codes
put
/api/1.0/user/accounts/reassign/{reassignUserId}
This endpoint is used to reassign accounts based on segment codes.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
reassignUserId(required): string
The user ID of the user to whom accounts will reassigned.
Header Parameters
-
appId(required): string
The application ID for the request.
-
branchCode(required): string
The branch code for the request.
-
userId(required): string
The user ID for the request.
Request Body that contains data of accounts to be reassigned.
Root Schema : DmAccountSegmentsCollection
Type:
object
Collection of account and segments.
Show Source
-
dmAccountSegmentsMap:
object dmAccountSegmentsMap
Additional Properties Allowed: additionalPropertiesAccount and Segment Map
Nested Schema : dmAccountSegmentsMap
Type:
object
Additional Properties Allowed
Show Source
-
array additionalProperties
Additional properties
Account and Segment Map
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure.
Root Schema : ResponseDtoWrapper
Type:
object
Response Data Transfer object
Show Source
-
data:
object ResponseResourceSupport
-
messages:
object ResponseDto
Response Data Transfer object
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
object
Response Data Transfer object
Show Source
-
codes:
array codes
Codes
-
id:
string
ID
-
requestId:
string
Request ID
-
status:
string
Status
Nested Schema : ResponseCode
Type:
object
Response code
Show Source
-
arg:
string
Argument
-
args:
array args
Arguments
-
Code:
string
Code
-
Desc:
string
Description
-
Language:
string
Language
-
Type:
string
Type
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