List (REST queue)
De Wiki1000
(Différences entre les versions)
Ligne 32 : | Ligne 32 : | ||
"result":0, | "result":0, | ||
"queues":[ | "queues":[ | ||
− | {"name":"DBQUEUE1","caption":"DBQUEUE1","topic":"topic1","provider":0,"providerName":"DatabaseMQ"},{"name":"QUEUE_IMPORT_BIENS","caption":"QueueImportBien","topic":"Topic_ImportBiens","provider":0,"providerName":"DatabaseMQ"},{"name":"QUEUE_IMPORT_ECRITURES","caption":"QueueImportEcritures","topic":"topic_ImportEcritures","provider":0,"providerName":"DatabaseMQ"},{"name":"QUEUE_IMPORT_REMISES","caption":"QueueImportRemises","topic":"topic_importremises","provider":0,"providerName":"DatabaseMQ"},{"name":"QueueAzure","caption":"Queue Azure","topic":"queue1","provider":6,"providerName":"AZURE"} | + | {"name":"DBQUEUE1","caption":"DBQUEUE1","topic":"topic1","provider":0,"providerName":"DatabaseMQ"}, |
+ | {"name":"QUEUE_IMPORT_BIENS","caption":"QueueImportBien","topic":"Topic_ImportBiens","provider":0,"providerName":"DatabaseMQ"}, | ||
+ | {"name":"QUEUE_IMPORT_ECRITURES","caption":"QueueImportEcritures","topic":"topic_ImportEcritures","provider":0,"providerName":"DatabaseMQ"}, | ||
+ | {"name":"QUEUE_IMPORT_REMISES","caption":"QueueImportRemises","topic":"topic_importremises","provider":0,"providerName":"DatabaseMQ"}, | ||
+ | {"name":"QueueAzure","caption":"Queue Azure","topic":"queue1","provider":6,"providerName":"AZURE"} | ||
]}} | ]}} | ||
<pre> | <pre> |
Version du 26 février 2015 à 17:19
Cette action liste les files d'attente disponibles
http://.../servicename/server/rpc.l1000/rest/queue.list?queuename=nom_de_file
Paramètre | type | Valeur |
---|---|---|
queuename | string | Nom de la file d'attente (Optionnel) |
Remarques :
- Si le paramètre queuename est fourni les informations de cette file sont retournées
Exemple :
Request: POST http://hostname/servicename/server/rpc.l1000/rest/queue.list content:application/x-www-form-encoded Authorization:Bearer 160000768..... Accept:application/json Response: {"response":{ "result":0, "queues":[ {"name":"DBQUEUE1","caption":"DBQUEUE1","topic":"topic1","provider":0,"providerName":"DatabaseMQ"}, {"name":"QUEUE_IMPORT_BIENS","caption":"QueueImportBien","topic":"Topic_ImportBiens","provider":0,"providerName":"DatabaseMQ"}, {"name":"QUEUE_IMPORT_ECRITURES","caption":"QueueImportEcritures","topic":"topic_ImportEcritures","provider":0,"providerName":"DatabaseMQ"}, {"name":"QUEUE_IMPORT_REMISES","caption":"QueueImportRemises","topic":"topic_importremises","provider":0,"providerName":"DatabaseMQ"}, {"name":"QueueAzure","caption":"Queue Azure","topic":"queue1","provider":6,"providerName":"AZURE"} ]}} <pre> Voir aussi : {{footer|Service_RPC_file_d'attente_(server)}} [[Category:Actions REST]]