PATCH /v1/campaigns/{id}/items/{itemId}/assignment PATCH /v1/campaigns/{id}/items/{itemId}/assignment
Update mutable workflow fields on a campaign item: assignee, outcome, notes and priority. Automatically stamps outcomeAt/outcomeBy when outcome changes.
Datenmodell
Diese Operation arbeitet auf der Entität Campaign (campaign). Alle 30 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz .
Request Body
Name Typ Beschreibung assigneeUserIdstringassigneeTeamIdstringoutcomestringoutcomeNotesstringnotesstringprioritystring
Pfad-Parameter
Name Typ Beschreibung iderforderlich stringitemIderforderlich string
Beispiel
curl -X PATCH https://api.codemeta-os.de/v1/campaigns/{id}/items/{itemId}/assignment \
-H "X-Tenant-Id: $TENANT " \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"assigneeUserId": "string",
"assigneeTeamId": "string",
"outcome": "string",
"outcomeNotes": "string",
"notes": "string",
"priority": "LOW"
}' const result = await cm.campaigns. patch ({
"assigneeUserId" : "string" ,
"assigneeTeamId" : "string" ,
"outcome" : "string" ,
"outcomeNotes" : "string" ,
"notes" : "string" ,
"priority" : "LOW"
});
Antwortcodes
HTTP
Bedeutung
200
Default Response
Beschreibung folgt
Diese Operation hat noch keine kuratierte Annotation. Der Inhalt wird beim nächsten Doku-Update ergänzt.