Asynchronous API
Input messages
Business Intelligence : get_stock
from: business-intelligence
functionname : get_stock
body : empty
Gestion Commerciale : resupply
from: gestion-commerciale
functionname : resupply
body :
{
"idCommande": 1000,
"produits":
[
{"codeProduit": "XXX", "quantite": 10}
]
}
Gestion Commerciale : delivery
from: gestion-commerciale
functionname : delivery
body :
{
"idCommande": 1000,
"produits":
[
{"codeProduit": "XXX", "quantite": 10}
]
}
Output messages
Gestion Commerciale : get_stock_order_response
to: gestion-commerciale
functionname : get_stock_order_response
body :
{
"idCommande": 1000,
"produits":
[
{"codeProduit": "XXX", "quantite": 10}
]
}
Gestion Commerciale : get_stock
to: gestion-commerciale
functionname : get_stock
body :
[
{"codeProduit": "XXX", "quantite": 10}
]
Business Intelligence : get_stock
to: business_intelligence
functionname : get_stock
body :
{
"stock":
[
{"codeProduit": "XXX", "quantite": 10}
]
}
Business Intelligence : get_resupply
to: business-intelligence
functionname : get_resupply
body :
{
"idCommande": 1000,
"produits":
[
{"codeProduit": "XXX", "quantite": 10}
]
}
Business Intelligence : get_delivery
to: business-intelligence
functionname : get_delivery
body :
{
"idCommande": 1000,
"produits":
[
{"codeProduit": "XXX", "quantite": 10}
]
}