Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.sourcesegment


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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



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

Code Block
languagepowershell
themeDJango
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/sourcesegment



Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity


Insert excerpt
UAPI:ChainSourceUAPI:ChainSourceChainSegment
ChainSegment
nopaneltrue

Example response

Code Block
themeDJango
{
    "count": 1019,
    "offset": 0,
    "limit": 10,
    "list": [
			    {
	 		     "id": 21,
      "code": "OTA",       "namecode": "Online Travel Agency"
    },
  HOME",
 {       "id": 8,       "code": "CS2",
      "name": "ChainSourceHouse 2Account",
    },     {       "idorder": 1416,
      "code": "CS3",       "namechainSegmentGroupId": "ChainSource1
 3"     },  	 },
 {       "id": 20,	 {
      "code": "CS4",       "nameid": "ChainSource2,
4"     },     {       "idcode": 26"FREE",
      "code": "CS5",       "name": "ChainSourceFree of 5Charge",
    },     {       "idorder": 3217,
      "code": "CS6",       "namechainSegmentGroupId": "ChainSource2
6"     },     {
      "id": 38	 },
      "code": "CS7", 	 {
    "name": "ChainSource 7"
    },
    {       "id": 443,
      "code": "CS8",       "namecode": "ChainSource 8LEISU"
,
   },     {       "idname": 50"Leisure",
      "code": "CS9",       "nameorder": "ChainSource 9"
    }0,
    {       "id": 56,
      "codechainSegmentGroupId": "CS10",
 null
    "name": "ChainSource 10"    	 }
  			]
}