Base path: [ENVIRONMENT_URL]/rest/console
Send "Accept" HTTP header to specify content format. Possible values are "application/xml" for XML format, "application/json" for JSON format, and "text/plain" for text format (where permitted for simple string, boolean, and numeric responses).
Default response format is "application/xml".
Use BASIC authorization.
Description: | Retrieves a list of console pals | |||
Method: | GET | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/consolePalList | |||
Parameters: | Name | Type | Source | Description |
search | PalSearch | Request headers: category description exactCategory exactDescription exactName exactPublisher includeInstalled includeTest matchAny name publisher startRecord |
Optional PalSearch object (created from headers map). | |
Returns: | List of PalInfo | |||
Sample: |
GET https://secure.cloudpiston.com/cpservice/rest/console/consolePalList HTTP/1.1 name: my pal category: development startRecord: 100 |
Description: | Creates a single use token for the specified console pal | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/token | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
ssoId | String | Form parameter ssoId | SSO | |
useEnterpriseProfile | boolean | Form parameter useEnterpriseProfile | If true use enterprise profile, if false use personal profile | |
action | String | Form parameter action | action to run when accessing console pal from token | |
Returns: | String | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/token HTTP/1.1 ssoId=SSO-11A4FD35049-30E75B79&useEnterpriseProfile=true&action=myAction |
Description: | Run the console web service workflow from the console pal specified by palId | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/runWorkflow | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
content | ConsoleContent | Deserialized from request body | Console content | |
Returns: | ConsoleResult | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/runWorkflow HTTP/1.1 <ConsoleContent> <postData> <NameValue> <name>param1</name> <value>value1</value> </NameValue> <NameValue> <name>param2</name> <value>value2</value> </NameValue> </postData> </ConsoleContent> |
Description: | Run the console web service workflow from the console pal specified by palId | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/run | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
content | ConsoleContent | Deserialized from request body | Console content | |
Returns: | List of NameValue | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/run HTTP/1.1 <ConsoleContent> <postData> <NameValue> <name>param1</name> <value>value1</value> </NameValue> <NameValue> <name>param2</name> <value>value2</value> </NameValue> </postData> </ConsoleContent> |
Description: | Grants access to the specified console pal | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/grantConsolePalAccess | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
ssoId | String | Form parameter ssoId | SSO | |
useEnterpriseProfile | boolean | Form parameter useEnterpriseProfile | If true use enterprise profile, if false use personal profile | |
Returns: | boolean | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/grantConsolePalAccess HTTP/1.1 ssoId=SSO--11A4FD35049-30E75B79&useEnterpriseProfile=true |
Description: | Removes access to the specified console pal | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/deleteConsolePalAccess | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
ssoId | String | Form parameter ssoId | SSO | |
useEnterpriseProfile | boolean | Form parameter useEnterpriseProfile | If true use enterprise profile, if false use personal profile | |
Returns: | boolean | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/deleteConsolePalAccess HTTP/1.1 ssoId=SSO--11A4FD35049-30E75B79&useEnterpriseProfile=true |
Description: | Run the console web service workflow from the console pal specified by palId | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/console/*/executeWorkflow | |||
Parameters: | Name | Type | Source | Description |
palId | String | Path element #1 | Console Pal ID | |
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/console/PAL-LL-118611DE003-4D837E4E/executeWorkflow HTTP/1.1 <YourStructure> <Something> <WhatEver>Stuff here</WhatEver> </Something> </YourStructure> |