PUT api/Lizenz/{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
PutLizenzDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| IsAvaiable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Price": 2.0,
"IsAvaiable": true
}
application/xml, text/xml
Sample:
<PutLizenzDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Dto.Put"> <IsAvaiable>true</IsAvaiable> <Name>sample string 1</Name> <Price>2</Price> </PutLizenzDto>
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>