POST api/employee/activate
Request Information
URI Parameters
None.
Body Parameters
EmployeeUpdateCollaboratorCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Username | string |
None. |
|
| NokiaId | string |
None. |
|
| string |
None. |
||
| ProfilesDescription | string |
None. |
|
| Status | boolean |
None. |
|
| CreaAndUf | string |
None. |
|
| UfId | integer |
None. |
|
| UserRegister | string |
None. |
|
| CollaboratorIsRepairTechnician | boolean |
None. |
|
| UserNameLogged | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"username": "sample string 3",
"nokiaId": "sample string 4",
"email": "sample string 5",
"profilesDescription": "sample string 6",
"status": true,
"creaAndUf": "sample string 8",
"ufId": 1,
"userRegister": "sample string 9",
"collaboratorIsRepairTechnician": true,
"userNameLogged": "sample string 11"
}
application/xml, text/xml
Sample:
<EmployeeUpdateCollaboratorCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACS.Models.Employee"> <CollaboratorIsRepairTechnician>true</CollaboratorIsRepairTechnician> <CreaAndUf>sample string 8</CreaAndUf> <Email>sample string 5</Email> <Id>1</Id> <Name>sample string 2</Name> <NokiaId>sample string 4</NokiaId> <ProfilesDescription>sample string 6</ProfilesDescription> <Status>true</Status> <UfId>1</UfId> <UserNameLogged>sample string 11</UserNameLogged> <UserRegister>sample string 9</UserRegister> <Username>sample string 3</Username> </EmployeeUpdateCollaboratorCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |