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": "c00b78da-401f-477e-b751-cd9c0f60f368",
  "JobStatus": 0,
  "JobPercentageCompleted": 2,
  "JobStatusText": "sample string 3",
  "UsageToken": "a5a0c310-8541-49cd-a1e3-3bcc12082aec"
}