POST api/role/reassignownership

Endpoint to Bulk reassign .

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Role.Command.BulkOwnership.ReassignMarketingRoleOwnershipDataContract
NameDescriptionTypeAdditional 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.JobStatusDataContract
NameDescriptionTypeAdditional 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": "5a55612b-c46b-499d-9c61-c52aee7e60bb",
  "JobStatus": 0,
  "JobPercentageCompleted": 2,
  "JobStatusText": "sample string 3",
  "UsageToken": "cd23fc78-15b7-4440-a263-58e0fba52f5f"
}