PUT /v1/quotations/{id}/opportunity PUT /v1/quotations/{id}/opportunity
Link or unlink a quotation to/from an opportunity
Datenmodell
Diese Operation arbeitet auf der Entität Quotation (quotation). Alle 51 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz .
Request Body
Name Typ Beschreibung opportunityIderforderlich stringnull
Pfad-Parameter
Name Typ Beschreibung iderforderlich string
Beispiel
curl -X PUT https://api.codemeta-os.de/v1/quotations/{id}/opportunity \
-H "X-Tenant-Id: $TENANT " \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"opportunityId": null
}' const result = await cm.quotations. put ({
"opportunityId" : null
});
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.