POST api/employee/create
Request Information
URI Parameters
None.
Body Parameters
EmployeeCreateCollaboratorCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| NokiaId | string |
None. |
|
| string |
None. |
||
| Active | boolean |
None. |
|
| CollaboratorIsRepairTechnician | boolean |
None. |
|
| Crea | string |
None. |
|
| State | integer |
None. |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"nokiaId": "sample string 2",
"email": "sample string 3",
"active": true,
"collaboratorIsRepairTechnician": true,
"crea": "sample string 6",
"state": 1,
"userName": "sample string 7"
}
application/xml, text/xml
Sample:
<EmployeeCreateCollaboratorCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACS.Models.Employee"> <Active>true</Active> <CollaboratorIsRepairTechnician>true</CollaboratorIsRepairTechnician> <Crea>sample string 6</Crea> <Email>sample string 3</Email> <Name>sample string 1</Name> <NokiaId>sample string 2</NokiaId> <State>1</State> <UserName>sample string 7</UserName> </EmployeeCreateCollaboratorCommand>
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. |