POST api/role/{roleId}/setcontractenddate
Change the branch of a role Processes this role API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| roleId |
The role id |
integer |
Required |
Body Parameters
Id of Branch
SetContractEndDate| Name | Description | Type | Additional information |
|---|---|---|---|
| ContractEndDate |
The contract end date, expressed as a date and time. |
date |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"ContractEndDate": "2026-08-04T22:22:51.3563825Z",
"Id": 2
}
Response Information
Resource Description
NoContent - 204
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |