PUT api/Admin/ScheduledEventDefaultProperties
Updates a default property for a scheduled event.
Request Information
URI Parameters
None.
Body Parameters
UpdateScheduledEventDefaultPropertyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Scheduled event default property id. |
integer |
None. |
| ChangedBy |
Changed by. |
string |
Required |
| Key |
Property Key |
string |
Required Max length: 50 |
| Value |
Property value |
string |
Max length: 255 |
Remarks
If the scheduled event default property is not found 404 Not found are returned.
Example
Updates the scheduled event default property with id 6
PUT: http://localhost/api/ScheduledEventsDefaultProperty/6
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ChangedBy": "sample string 3",
"Key": "sample string 4",
"Value": "sample string 5"
}
application/xml, text/xml
Sample:
<UpdateScheduledEventDefaultPropertyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.Calendar.Service.DTO"> <Id>0</Id> <Key>sample string 4</Key> <Value>sample string 5</Value> <ChangedBy>sample string 3</ChangedBy> <Id>1</Id> </UpdateScheduledEventDefaultPropertyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns 204 No Content on success.
None.