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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReassignMarketingRoleOwnershipDataContract'.

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": "cb8825d1-ea42-4a20-b258-b3ed42fab7fd",
  "JobStatus": 0,
  "JobPercentageCompleted": 2,
  "JobStatusText": "sample string 3",
  "UsageToken": "c8a7cbb4-1aa5-4b50-9852-73dc93a39128"
}