ChainChannel List [GET]

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/channel


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter0Unique identificator of the chain.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterascMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/source


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
idinttrueId of the ChainChannel
codestringtrueCode of the ChainChannel
namestringtrueName of the ChainChannel
orderinttrueOrder of the ChainChannel
chainChannelGroupIdinttrueChainChannelGroup Id

Example response

{
  "count": 5,
  "offset": 0,
  "limit": 3,
  "list": [
		    {
             "id": 20,
             "code": "MAIL",
             "name": "E mail",
             "order": 1,
             "chainChannelGroupId": 1
        	},
	        {
             "id": 21,
             "code": "TELF",
             "name": "Phone call",
             "order": 2,
             "chainChannelGroupId": 2
	        },
	        {
             "id": 22,
             "code": "FRONT",
             "name": "Front Desk",
             "order": 3,
             "chainChannelGroupId": 3
	        }
  		  ]
}