PUT api/FirmaUserRechte/{id}?benutzername={benutzername}&passwort={passwort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| benutzername | string |
Required |
|
| passwort | string |
Required |
|
| id | globally unique identifier |
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": "d658be82-67b8-4dc6-90e9-b76fe3f11eb4",
"FirmaId": "58312c85-652d-4e03-b47f-7d083a397b30",
"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>58312c85-652d-4e03-b47f-7d083a397b30</FirmaId> <Id>d658be82-67b8-4dc6-90e9-b76fe3f11eb4</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>