fusionnerDumes
DESCRIPTION
The marketplace wishes to retrieve the merging of an Economic Operator ESPD and a Buyer ESPD whose numbers or XMLs it has.
ENVIRONMENTS
Production URL | https://api.aife.economie.gouv.fr/dume/ |
Qualification URL | https://sandbox-api.aife.economie.gouv.fr/dume/ |
PARAMETERS
Header parameters
Data | Format | Optional / mandatory |
---|---|---|
Certificate | Varchar | Mandatory |
Content - Type | Varchar | Mandatory |
Header example:
curl -v -X POST --insecure --cert xxxxx.pem https://api.aife.economie.gouv.fr/dume/dumeA -d "{}"
The braces frame the JSON.
Complete description of the API’s input and output parameters
Input parameter | M/O (Mandatory/ Optional) | Management rule |
---|---|---|
operation | M | Constant =FusionnerDumes |
idDume | M | 1/ In the output parameter, the Buyer ESPD ID must be provided or the Buyer ESPD's XML must be communicated. It is not possible to provide both the Buyer ESPD's ID and the XML. 2/ In the input parameter, the Economic Operator ESPD ID must be provided or the Economic Operator ESPD must be communicated. It is not possible to provide both the Economic Operator ESPD's ID and the XML. 3/ Functional ESPD ID - 6 random alphanumeric characters 4/ If the Buyer ESPD has another status than "published" or "replaced", a code and an error message are forwarded to the marketplace. |
DumeA uuencode | M | In the output parameter, the Buyer ESPD ID must be provided or the Buyer ESPD's XML must be communicated. It is not possible to provide both the Buyer ESPD's ID and the XML. |
idDume | M | For the Economic Operator ESPD's idDume: In the input parameter, the Economic Operator ESPD ID must be provided or the Economic Operator ESPD must be communicated. It is not possible to provide both the Economic Operator ESPD's ID and the XML. |
DumeOE uuencode | M | The XML is UUENCODE in base64 |
platform | ||
typeIdPlateforme | O | The values for « type d’ID plateforme demandeuse » (which means "requesting platform ID type") are: - « 1 » (Third party with SIRET number) - « 2 » (European structure outside of France) – intracommunity VAT - « 3 » (Structure outside of the EU) – Country code + first 16 corporate name characters - « 4 » (RIDET) - « 5 » (Tahiti Number) |
idPlateforme | M | 1/ Functional Id of the buyer profile which requested the connection 2/ The ID format of the platform is controled: - If « identification type » is « 1 » : 14 characters - If « identification type » is « 2 » : 18 characters maximum (1 to 18 characters) - If « identification type » is « 3 » : 3 to 18 characters - If « identification type » is « 4 » : 9 ou 10 characters - If « identification type » is « 5 » : « 9 » characters - If « identification type » is not provided, it is deemed to be a SIRET: 14 characters 3/ The platform's technical ID and the platform's ID must exist in database and be positioned on the same line as this database |
idTechniquePlateforme | M | 1/ ID available on the Chorus Pro "connection" space. The technical ID corresponds to the partner application code contained in the connection form. 2/ The platform's technical ID and the platform's ID must exist in database and be postioned on the same line as this database |
idDemandeur | M | The idDemandeur (which means "requester ID") corresponds to the SIRET number or functional identifier of the public entity that makes the request on the marketplace. - 1 to 18 characters |
rsDemandeur | M | Name of the entity which makes the request on the place (Corporate name) |
N° BOAMP | O |
{ "operation":"FusionnerDumes", "idDemandeur":"12345678901011", "rsDemandeur":"AIFE", "plateforme":{ "typeIdPlateforme":"1", "idPlateforme":"12345678901011", "idTechniquePlateforme":"AAA001" }, "dumeA": { "idDume" : "1lm88fe6" }, "dumeOE":{ "idDume": "rvzwhdob" } }
{ "response": { "messageList": [ { "type": "INFO", "code": "DUME-A_REMPLACE", "message": "LE DUME 2 remplace le DUME 1lm88fe6 que vous avez sollicité pour fusion, conformément au souhait de l’acheteur " }, { "type": "INFO", "code": "DLRO_DEPASSE", "message": "Le DUME 2 a une DLRO dépassée. Veuillez contacter l’acheteur" } ], "dumeOE": { "xmlDume": "xml uuencode"}, } } }