PUT v2/Events/{eventName}/timerSettings
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
TimerSettingsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TimerSettingsId | globally unique identifier |
None. |
|
| StartMinutes | integer |
None. |
|
| Threshold1Minutes | integer |
None. |
|
| Threshold2Minutes | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TimerSettingsId": "84f948fb-7cc2-42a1-afa9-73cca198cf08",
"StartMinutes": 2,
"Threshold1Minutes": 3,
"Threshold2Minutes": 4
}
application/xml, text/xml
Sample:
<TimerSettingsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.V2.Timer"> <StartMinutes>2</StartMinutes> <Threshold1Minutes>3</Threshold1Minutes> <Threshold2Minutes>4</Threshold2Minutes> <TimerSettingsId>84f948fb-7cc2-42a1-afa9-73cca198cf08</TimerSettingsId> </TimerSettingsDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TimerSettingsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TimerSettingsId | globally unique identifier |
None. |
|
| StartMinutes | integer |
None. |
|
| Threshold1Minutes | integer |
None. |
|
| Threshold2Minutes | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"TimerSettingsId": "0736f1d8-9ca6-4f9b-80a3-78e88bebe46c",
"StartMinutes": 2,
"Threshold1Minutes": 3,
"Threshold2Minutes": 4
}
application/xml, text/xml
Sample:
<TimerSettingsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.V2.Timer"> <StartMinutes>2</StartMinutes> <Threshold1Minutes>3</Threshold1Minutes> <Threshold2Minutes>4</Threshold2Minutes> <TimerSettingsId>0736f1d8-9ca6-4f9b-80a3-78e88bebe46c</TimerSettingsId> </TimerSettingsDto>