Skip to main content
Créer un deal

Authorizations

Authorization
string
header
required

Use the access_token returned by POST /v1/auth/token. Do not send the raw API secret on business endpoints.

Headers

X-Request-ID
string

Partner-generated correlation identifier echoed in logs and error payloads.

Idempotency-Key
string
required

Required for every write, including environments where replay deduplication is disabled. Reuse the same value when retrying the same logical write and use a new value for a different write.

Maximum string length: 255
Pattern: ^[!-~]+$

Body

application/json

Payload pour creer un deal.

name
string
required

Nom de la ressource. Les recherches exactes et partielles sont décrites au niveau de la route.

Required string length: 1 - 300
status
enum<string>
default:sourcing

Statut du deal dans le pipeline avant closing; distinct du statut d'une opération.

Available options:
sourcing,
analyse,
due_diligence,
comite,
closing,
abandonne
description
string | null

Description libre de la ressource.

Maximum string length: 5000
montant_estime

Montant prévisionnel du deal.

Required range: x >= 0
classe_actif
string | null

Classe d'actif de l'opération. Pour une écriture externe, consulter la dimension asset_class de GET /taxonomies.

Maximum string length: 100
operateur_id
string<uuid> | null

UUID MARKO de l'opérateur.

operation_id
string<uuid> | null

UUID MARKO de l'opération.

responsable
string | null

Responsable déclaré du deal.

Maximum string length: 200
date_sourcing
string<date> | null

Date d'entrée du deal dans le pipeline.

date_closing_prevue
string<date> | null

Date prévisionnelle du closing du deal.

Response

Successful response

Deal mutation receipt without pipeline content or author data.

deal_id
string<uuid>
required

UUID du deal auquel la note est rattachée.

status
enum<string>
required

Résultat de l'écriture: deal créé, deal mis à jour ou note créée.

Available options:
created,
updated,
note_created
note_id
string<uuid> | null

UUID de la note créée, lorsque l'écriture a créé une note.