PATCH
/
api
/
v1
/
contracts
/
{id}
{
  "@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
}

Path Parameters

id
string
required

Contract identifier

Body

application/merge-patch+json

The updated Contract resource

Response

200
application/ld+json

Contract resource updated