POST api/FirmaUserRechte?benutzername={benutzername}&passwort={passwort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| benutzername | string |
Required |
|
| passwort | string |
Required |
Body Parameters
UserRechteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| FirmaId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| TageToEdit | integer |
None. |
|
| CanEdit | boolean |
None. |
|
| CanDelete | boolean |
None. |
|
| IsGelöscht | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "5353cd40-ac0f-4734-b60b-8e44f1866c82",
"FirmaId": "f76fd240-1958-469e-91ec-55e4ddcb18cd",
"Name": "sample string 3",
"TageToEdit": 4,
"CanEdit": true,
"CanDelete": true,
"IsGelöscht": true
}
application/xml, text/xml
Sample:
<UserRechteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Dto"> <CanDelete>true</CanDelete> <CanEdit>true</CanEdit> <FirmaId>f76fd240-1958-469e-91ec-55e4ddcb18cd</FirmaId> <Id>5353cd40-ac0f-4734-b60b-8e44f1866c82</Id> <IsGelöscht>true</IsGelöscht> <Name>sample string 3</Name> <TageToEdit>4</TageToEdit> </UserRechteDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Alerts | Collection of Alert |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Alerts": null
}
application/xml, text/xml
Sample:
<Result 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> </Result>