Share this link

    Message Definitions

    1682 0 Created on 2020-10-08 09:02:09; Last updated on 2022-07-01 13:01:13

    Search and list message definitions for a given environment.

    Parameters

    • name: A string search on the channel name. 
    • description: A string search on the channel description. 
    • since: Returns only gateways created after the given timestamp. 
    • before: Returns only gateways created before the given timestamp. 
    • direction: Returns only gateways with the specified direction : IN or OUT. 
    • type: Returns only gateways with the specified type. 
    • start:  An integer to set the first result. By default, the value is at 0. The API returns  25 results per query. To get the 25 following ones, it should be 25, then   50, then 75,

    Examples

    • List all the message definitions IN of environment 26112 in JSON format

    https://www.babelway.net/SelfService3/rest/v2/hub-26112/messageDefinitions.json?direction=IN

    [
    	{
    		"id":106869,
    		"direction":"IN",
    		"type":"CSV",
    		"creationMoment":1337609602000,
    		"lastUpdateMoment":1342613179000,
    		"name":"MyOrder",
    		"description":null,
    		"hub":26112
    	}
    ]

    

    0 people found this helpful.

    Related Articles