Skip to main content

Update repeated timer

PATCH 

https://api.apparyllis.com/v1/timer/repeated/:docId

Update an Repeated Timer by Id

Request

Path Parameters

    docId stringrequired

    String Id of the Repeated Timer

Bodyrequired

    namestring

    Name of the reminder

    messagestring

    Message the reminder sends

    dayIntervalinteger

    Day interval between the reminders are sent

    time object

    Time of day this reminder should go off

    hourinteger
    minuteinteger
    startTime object

    First day of this reminder (used for day intervals)

    yearinteger
    monthinteger
    dayinteger

Responses

OK

Authorization: Authorization

name: Authorizationtype: apiKeyin: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "https://api.apparyllis.com/v1/timer/repeated/:docId");
request.Headers.Add("Authorization", "<Authorization>");
var content = new StringContent("{\n \"name\": \"string\",\n \"message\": \"string\",\n \"dayInterval\": 0,\n \"time\": {\n \"hour\": 0,\n \"minute\": 0\n },\n \"startTime\": {\n \"year\": 0,\n \"month\": 0,\n \"day\": 0\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.apparyllis.com
Auth
Parameters
— pathrequired
Body required
{
  "name": "string",
  "message": "string",
  "dayInterval": 0,
  "time": {
    "hour": 0,
    "minute": 0
  },
  "startTime": {
    "year": 0,
    "month": 0,
    "day": 0
  }
}
ResponseClear

Click the Send API Request button above and see the response here!