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": "02a792d1-0ae8-4990-ba56-4e3955c0c4d4",
"FirmaId": "ee41eff9-d256-4eab-9374-3cb3d8239876",
"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>ee41eff9-d256-4eab-9374-3cb3d8239876</FirmaId> <Id>02a792d1-0ae8-4990-ba56-4e3955c0c4d4</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>