POST api/role/{roleId}/setcontractenddate
Change the branch of a role
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleId |
The role id |
integer |
Required |
Body Parameters
Id of Branch
Dezrez.Core.DataContracts.External.Api.Role.Command.SetMarketingFlag.SetContractEndDateName | Description | Type | Additional 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-10-30T15:16:39.2678485Z", "Id": 2 }
Response Information
Resource Description
NoContent - 204
System.Net.Http.HttpResponseMessageName | Description | Type | Additional 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. |