POST v2/Events/{eventName}/timerSettings
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
EventTimerSettingsInputDto| Name | Description | Type | Additional information |
|---|---|---|---|
| StartMinutes | integer |
None. |
|
| Threshold1Minutes | integer |
None. |
|
| Threshold2Minutes | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartMinutes": 1,
"Threshold1Minutes": 2,
"Threshold2Minutes": 3
}
application/xml, text/xml
Sample:
<EventTimerSettingsInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.V2.Timer"> <StartMinutes>1</StartMinutes> <Threshold1Minutes>2</Threshold1Minutes> <Threshold2Minutes>3</Threshold2Minutes> </EventTimerSettingsInputDto>
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": "79b18e42-04f7-4eee-bbf6-99a988b5b9b3",
"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>79b18e42-04f7-4eee-bbf6-99a988b5b9b3</TimerSettingsId> </TimerSettingsDto>