Description

Changes the signature deadline for a given document (after expiration date, the receiver is no longer allowed to sign the document).

HTTP method: PUT
URI: https://api.signere.no/api/Document/ChangeDeadline
Autorization model: Minimum secondary apikey is needed for this operation.
Subscription needed: "Sign document offline"
Parameters
  • request: Contains all necessary parameters to change the deadline of a document. Remark: if using Json, a GUID must not contain dashes (-), unlike XML. (FromBody)
Name Type Description Example value Required Max length Min length Nullable Enum Regex
DocumentID Guid The ID (GUID) of the document for which the deadline is to be changed EA522127D971420595EFA08A00D4D3AE True 36 36 False False ^(\{{0,1}([0-9a-fA-F]){8}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){12}\}{0,1})$
NewDeadline DateTime The new deadline 2013-02-02T00:00:00.0000000 True 19 19 False False
NotifyEmail Boolean Notify all signeerefs that not have signed, that there is a new signdeadline with an email false False 5 4 False False
NotifySMS Boolean Notify all signeerefs that not have signed, that there is a new signdeadline with a sms true False 5 4 False False
ProviderID Guid The ID (GUID) of the document provider owning the relevant document 1D4C883ED2CE48C8B4A9A08A00D4D3A4 True 36 36 False False ^(\{{0,1}([0-9a-fA-F]){8}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){12}\}{0,1})$
Name DocumentID
Type Guid
Description The ID (GUID) of the document for which the deadline is to be changed
Example value EA522127D971420595EFA08A00D4D3AE
Required True
Max length 36
Min length 36
Nullable False
Enum False
Regex ^(\{{0,1}([0-9a-fA-F]){8}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){12}\}{0,1})$
Name NewDeadline
Type DateTime
Description The new deadline
Example value 2013-02-02T00:00:00.0000000
Required True
Max length 19
Min length 19
Nullable False
Enum False
Regex
Name NotifyEmail
Type Boolean
Description Notify all signeerefs that not have signed, that there is a new signdeadline with an email
Example value false
Required False
Max length 5
Min length 4
Nullable False
Enum False
Regex
Name NotifySMS
Type Boolean
Description Notify all signeerefs that not have signed, that there is a new signdeadline with a sms
Example value true
Required False
Max length 5
Min length 4
Nullable False
Enum False
Regex
Name ProviderID
Type Guid
Description The ID (GUID) of the document provider owning the relevant document
Example value 1D4C883ED2CE48C8B4A9A08A00D4D3A4
Required True
Max length 36
Min length 36
Nullable False
Enum False
Regex ^(\{{0,1}([0-9a-fA-F]){8}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){4}-?([0-9a-fA-F]){12}\}{0,1})$
{
    "DocumentID": "ea522127d971420595efa08a00d4d3ae",
    "ProviderID": "1d4c883ed2ce48c8b4a9a08a00d4d3a4",
    "NewDeadline": "2013-02-02T00:00:00.0000000",
    "NotifyEmail": false,
    "NotifySMS": true
}

XML elements must be in same order as in this example xml

<?xml version="1.0" encoding="utf-8"?>
<ChangeDocumentDeadlineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Unipluss.Sign.ExternalContract.Entities">
   <DocumentID>ea522127-d971-4205-95ef-a08a00d4d3ae</DocumentID>
   <NewDeadline>2013-02-02T00:00:00</NewDeadline>
   <NotifyEmail>false</NotifyEmail>
   <NotifySMS>true</NotifySMS>
   <ProviderID>1d4c883e-d2ce-48c8-b4a9-a08a00d4d3a4</ProviderID>
</ChangeDocumentDeadlineRequest>