POST api/role/{roleId}/setcontractenddate

Change the branch of a role

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

The role id

integer

Required

Body Parameters

Id of Branch

Dezrez.Core.DataContracts.External.Api.Role.Command.SetMarketingFlag.SetContractEndDate
NameDescriptionTypeAdditional information
ContractEndDate

date

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ContractEndDate": "2024-11-21T09:39:48.261107Z",
  "Id": 2
}

Response Information

Resource Description

NoContent - 204

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.