POST api/Mitarbeiter?benutzername={benutzername}&passwort={passwort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| benutzername | string |
Required |
|
| passwort | string |
Required |
Body Parameters
PostMitarbeiterDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Benutzername | string |
None. |
|
| Passwort | string |
None. |
|
| Vorname | string |
None. |
|
| Nachname | string |
None. |
|
| FremdId | string |
None. |
|
| UserRechteId | globally unique identifier |
None. |
|
| IsGelöscht | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Benutzername": "sample string 1",
"Passwort": "sample string 2",
"Vorname": "sample string 3",
"Nachname": "sample string 4",
"FremdId": "sample string 5",
"UserRechteId": "d7bd96e4-28a0-4907-bb21-a32ea53ddf8b",
"IsGelöscht": true
}
application/xml, text/xml
Sample:
<PostMitarbeiterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Dto.Post"> <Benutzername>sample string 1</Benutzername> <FremdId>sample string 5</FremdId> <IsGelöscht>true</IsGelöscht> <Nachname>sample string 4</Nachname> <Passwort>sample string 2</Passwort> <UserRechteId>d7bd96e4-28a0-4907-bb21-a32ea53ddf8b</UserRechteId> <Vorname>sample string 3</Vorname> </PostMitarbeiterDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfGuid| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | globally unique identifier |
None. |
|
| Success | boolean |
None. |
|
| Alerts | Collection of Alert |
None. |
Response Formats
application/json, text/json
Sample:
{
"Value": "739dae5b-84a5-4692-b6a1-6b0c951467f7",
"Success": true,
"Alerts": null
}
application/xml, text/xml
Sample:
<ResultOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Helpers"> <Alerts i:nil="true" /> <Success>true</Success> <Value>739dae5b-84a5-4692-b6a1-6b0c951467f7</Value> </ResultOfguid>