POST
/
api
/
v1
/
contracts
{
  "@id": "<string>",
  "@type": "<string>",
  "@context": "<string>",
  "id": 123,
  "name": "<string>",
  "content": "<string>",
  "isInfiniteDuration": true,
  "yearDuration": 123,
  "monthDuration": 123,
  "hasSignature": true,
  "hasUpload": true,
  "contractHash": "<string>",
  "enableSignatureCancellation": true,
  "required": true,
  "hasAdminSignature": true,
  "unit": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "name": "<string>"
  },
  "displayInProfile": true,
  "defaultSignature": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "entityId": 123,
    "contentUrl": "<string>",
    "type": "<string>"
  },
  "hasDefaultSignature": true
}

Body

The new Contract resource

Response

201
application/ld+json

Contract resource created