POST api/role/reassignownership
Endpoint to Bulk reassign .
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.Role.Command.BulkOwnership.ReassignMarketingRoleOwnershipDataContractName | Description | Type | Additional information |
---|---|---|---|
RoleIds | Collection of integer |
None. |
|
TeamGroupId | integer |
None. |
|
BranchId | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "RoleIds": [ 1, 2 ], "TeamGroupId": 1, "BranchId": 2 }
Response Information
Resource Description
Dezrez.Core.DataContracts.Internal.SystemMessages.JobMessages.JobStatusDataContractName | Description | Type | Additional information |
---|---|---|---|
JobReference | globally unique identifier |
None. |
|
JobStatus | Dezrez.Core.DataContracts.Internal.SystemMessages.JobMessages.JobStatus |
None. |
|
JobPercentageCompleted | integer |
None. |
|
JobStatusText | string |
None. |
|
UsageToken | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "JobReference": "ba1fe962-eeff-4974-9c15-496787ec45dd", "JobStatus": 0, "JobPercentageCompleted": 2, "JobStatusText": "sample string 3", "UsageToken": "313de7cb-d33f-49c8-8ddd-df985f1a2e9f" }