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": "fefc3f35-5bdc-4c31-891e-ac46838b8fdd",
"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>fefc3f35-5bdc-4c31-891e-ac46838b8fdd</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": "b4066a2e-c9ce-423d-bce7-e5c5fc9540f9",
"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>b4066a2e-c9ce-423d-bce7-e5c5fc9540f9</Value> </ResultOfguid>