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": "9383c527-5a58-4ee3-86ca-79d0c1d262b4",
"FirmaId": "567061d1-2fec-4b26-aaef-a18c166183ab",
"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>567061d1-2fec-4b26-aaef-a18c166183ab</FirmaId> <Id>9383c527-5a58-4ee3-86ca-79d0c1d262b4</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>