API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

PATCH /v1/projects/{projectId}/acceptance-protocols/{protocolId}

PATCH/v1/projects/{projectId}/acceptance-protocols/{protocolId}

Edit a DRAFT acceptance protocol. (ADR 0224)

Datamodel

Deze operatie werkt op de entiteit Project (project). Alle 50 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
titlestring
introTextstring
scopeItemsobject[]
signerNamestring
signerEmailstring
signerPartyIdstring
coSignerUserIdstring

Padparameters

NaamTypeBeschrijving
projectIdvereiststring
protocolIdvereiststring

Voorbeeld

curl -X PATCH https://api.codemeta-os.de/v1/projects/{projectId}/acceptance-protocols/{protocolId} \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "title": "string",
  "introText": "string",
  "scopeItems": [],
  "signerName": "string",
  "signerEmail": "string",
  "signerPartyId": "string",
  "coSignerUserId": "string"
}'
const result = await cm.projects.patch({
  "title": "string",
  "introText": "string",
  "scopeItems": [],
  "signerName": "string",
  "signerEmail": "string",
  "signerPartyId": "string",
  "coSignerUserId": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken