Steps

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 Update method here is preferred to the Update method on the DatesController.

The following models are used:

StepsModel
Name Type Description Optional
OrderId String Order Id
Steps List<StepsStepModel> Start-/EndDate changes for individual steps. yes


StepsStepModel
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
RequiredToSign Int Number of signers on this step required to sign. 0 - all. yes
SignerGroups Dictionary<SignerGroupModel> Update Signer Groups - overrides RequiredToSign. yes



Update

Description

Update dates, associated intervals and/or RequiredToSign on the steps of the order.

Synopsis

POST api.esignatur.dk/Steps/Update

JSON Input

{
  "OrderId": "0747c371-e472-485c-a497-20c9641dabf9",
  "Steps": [
    {
      "StepNumber": 0,
      "EndDate": "2021-04-15T14:27:51.1154413+02:00",
      "RequiredToSign": 2
    }
  ]
}