POST api/role/reassignownership

Endpoint to Bulk reassign . Processes this role API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The reassign marketing role ownership data contract supplied with the request.

ReassignMarketingRoleOwnershipDataContract
NameDescriptionTypeAdditional information
RoleIds

The unique identifiers of the related role resources.

Collection of integer

None.

TeamGroupId

The unique identifier of the related team group resource.

integer

None.

BranchId

The unique identifier of the related branch resource.

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

The response returned after the operation completes.

JobStatusDataContract
NameDescriptionTypeAdditional information
JobReference

The job reference globally unique identifier.

globally unique identifier

None.

JobStatus

The job status classification.

JobStatus

None.

JobPercentageCompleted

The job percentage completed value.

integer

None.

JobStatusText

The job status text value.

string

None.

UsageToken

The usage token globally unique identifier.

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "JobReference": "16095ba2-81bf-442c-825a-dc0679840f9c",
  "JobStatus": 0,
  "JobPercentageCompleted": 2,
  "JobStatusText": "sample string 3",
  "UsageToken": "707c1590-2992-4be1-a0b1-3833b1e60664"
}