Vertrag - Liefert einen bestimmten Vertrag
GET/gdpr/ contracts/ {contractIdentifier}/ 
v1
GET
getGDPRContract
Liefert die Daten eines bestimmten Vertrages
Request
- contractIdentifierstringrequired
Die ID des Vertrages
 
Responses
application/json
Der gewünschte Vertrag
- Schema-Dokumentation
 - Beispiel
 - JSON Schema
 
- creationDatestring (datetime)
Das Erstelldatum im UTC Format
 - tomobject
 - clientobject
 - recipientobject
 - htmlstring
Der Inhalt des Vertrages in Form von HTML
 - confirmationDatestring (datetime)
Das Datum (im UTC Format), zu dem der Vertrag angenommen wurde
 - sentDatestring (datetime)
Das Datum (im UTC Format), zu dem der Vertrag zuletzt via E-Mail versendet wurde
 - reminderSentDatestring (datetime)
Das Datum (im UTC Format), zu dem automatisiert eine Erinnerungsmail versendet wurde
 - isPartnerContractboolean
 - contractSignerstring
Der vollständige Name des Vertragsunterzeichners
 
Content-Type: application/json
{
  "creationDate": "string",
  "tom": {},
  "client": {},
  "recipient": {},
  "html": "string",
  "confirmationDate": "string",
  "sentDate": "string",
  "reminderSentDate": "string",
  "isPartnerContract": true,
  "contractSigner": "string"
}
{
  "title": "GDPRContract",
  "type": "object",
  "properties": {
    "creationDate": {
      "type": "string",
      "description": "Das Erstelldatum im UTC Format",
      "format": "datetime"
    },
    "tom": {
      "type": "object",
      "properties": {}
    },
    "client": {
      "type": "object",
      "properties": {}
    },
    "recipient": {
      "type": "object",
      "properties": {}
    },
    "html": {
      "type": "string",
      "description": "Der Inhalt des Vertrages in Form von HTML"
    },
    "confirmationDate": {
      "type": "string",
      "description": "Das Datum (im UTC Format), zu dem der Vertrag angenommen wurde",
      "format": "datetime"
    },
    "sentDate": {
      "type": "string",
      "description": "Das Datum (im UTC Format), zu dem der Vertrag zuletzt via E-Mail versendet wurde",
      "format": "datetime"
    },
    "reminderSentDate": {
      "type": "string",
      "description": "Das Datum (im UTC Format), zu dem automatisiert eine Erinnerungsmail versendet wurde",
      "format": "datetime"
    },
    "isPartnerContract": {
      "type": "boolean"
    },
    "contractSigner": {
      "type": "string",
      "description": "Der vollständige Name des Vertragsunterzeichners"
    }
  }
}
Usage examples
- cURL
 
$ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v1/gdpr/contracts/string