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": "1c8d6000-deff-41e6-8c7a-db02caf7a9d1",
  "ReminderDate": "2023-06-19T02:39:45.6665635+02:00",
  "ReminderInterval": 4,
  "EndDate": "2023-07-04T02:39:45.6665635+02:00",
  "Steps": [
    {
      "StepNumber": 0,
      "StartDate": "2023-06-04T02:39:45.6665635+02:00",
      "EndDate": "2023-06-07T02:39:45.6665635+02:00",
      "ReminderDate": "2023-06-05T02:39:45.6665635+02:00",
      "ReminderInterval": 1
    }
  ]
}