Dates

The various dates (and any associated intervals) can be adjusted using the call described below.

If a field is missing or set to NULL it will be skipped.

The following models are used:

DatesModel
Name Type Description Optional
OrderId String Order Id
ReminderDate DateTime The first/next reminder of the order. Please note that only the date part will be used. The time part will be zeroed. yes
ReminderInterval Int Number of days to next and subsequent reminders for the order. yes
EndDate DateTime The end date of the order. Please note that only the date part will be used. The time part will be zeroed. yes
Steps List<DatesStepsModel> Start-/EndDate changes for individual steps. yes


DatesStepsModel
Name Type Description Optional
StepNumber Int Step number. Please note that the step number is 0-based. The first step is called 0, the second is called 1 and so forth.
StartDate DateTime The start date of this step. Please note that only the date part will be used. The time part will be zeroed. yes
EndDate DateTime The end date of this step. Please note that only the date part will be used. The time part will be zeroed. yes
ReminderDate DateTime The first/next reminder of this step. Please note that only the date part will be used. The time part will be zeroed. yes
ReminderInterval Int Number of days to next and subsequent reminders for this step. yes



Change dates

Description

Update dates and associated intervals.

Synopsis

POST api.esignatur.dk/Dates/Update

JSON Input

{
  "OrderId": "71be5440-ade2-45ad-b271-4effd907f194",
  "ReminderDate": "2021-04-27T14:33:58.7300229+02:00",
  "ReminderInterval": 4,
  "EndDate": "2021-05-12T14:33:58.7300229+02:00",
  "Steps": [
    {
      "StepNumber": 0,
      "StartDate": "2021-04-12T14:33:58.7300229+02:00",
      "EndDate": "2021-04-15T14:33:58.7300229+02:00",
      "ReminderDate": "2021-04-13T14:33:58.7300229+02:00",
      "ReminderInterval": 1
    }
  ]
}