Base path: [ENVIRONMENT_URL]/rest/transactions
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: | Create a new transaction from the specified pal and returns the ID of the transaction.. | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions | |||
Parameters: | Name | Type | Source | Description |
palId | String | Form parameter palId | Pal ID | |
Returns: | String | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions HTTP/1.1 palId=PAL-LL-118611E36AE-73EBCFA6 |
Description: | Retrieves a list of transactions matching the search criteria. | |||
Method: | GET | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions | |||
Parameters: | Name | Type | Source | Description |
search | TransactionSearch | Request headers: category description exactCategory exactDescription exactName includeTest name palId sso startRecord status systemStatus webServiceStatus |
Optional TransactionSearch object (created from headers map | |
Returns: | List of TransactionInfo | |||
Sample: |
GET https://secure.cloudpiston.com/cpservice/rest/transactions HTTP/1.1 name: my pal category: development startRecord: 100 |
Description: | Returns information on the given transaction including the action associated with the email link | |||
Method: | GET | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/getTransactionFromEmail | |||
Parameters: | Name | Type | Source | Description |
encryptedToken | String | Form parameter encryptedToken | Encrypted Token for link | |
encryptedAction | String | Form parameter encryptedAction | Encrypted Action for link | |
Returns: | TransactionResult | |||
Sample: |
GET https://secure.cloudpiston.com/cpservice/rest/transactions/getTransactionFromEmail HTTP/1.1 encryptedToken=5EC84E4FF8D151FBA0AF590F4E14420C310ADC3B190236B9592C5253D07D91D2&encryptedAction=5EC84E4FF8D151FBA0AF590F4E14420C310ADC3B190236B9592C5253D07D91D2 |
Description: | Removes all roles for the given SSO for caller's enterprise | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/removeAllRoles | |||
Parameters: | Name | Type | Source | Description |
userSSO | String | Form parameter userSSO | SSO for user | |
Returns: | int | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/removeAllRoles HTTP/1.1 userSSO=SSO--11A4FD35049-30E75B79 |
Description: | Creates a single use token for the specified transaction which is good for 60 seconds. | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/*/token | |||
Parameters: | Name | Type | Source | Description |
transactionId | String | Path element #1 | Transaction ID | |
userSSO | String | Form parameter userSSO | SSO for user | |
Returns: | String | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP/token HTTP/1.1 userSSO=SSO--11A4FD35049-30E75B79 |
Description: | Retrieves TransactionInfo object details | |||
Method: | GET | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/* | |||
Parameters: | Name | Type | Source | Description |
id | String | Path element #1 | Transaction ID | |
Returns: | TransactionInfo | |||
Sample: |
GET https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP HTTP/1.1 |
Description: | Run the web service workflow from the transaction specified by transactionId | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/*/runWorkflow | |||
Parameters: | Name | Type | Source | Description |
transactionId | String | Path element #1 | Transaction ID | |
content | TransactionContent | Deserialized from request body | Transaction content | |
Returns: | TransactionResult | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP/runWorkflow HTTP/1.1 <TransactionContent> <postData> <NameValue> <name>param1</name> <value>value1</value> </NameValue> <NameValue> <name>param2</name> <value>value2</value> </NameValue> </postData> </TransactionContent> |
Description: | Run the web service workflow from the transaction specified by transactionId | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/*/run | |||
Parameters: | Name | Type | Source | Description |
transactionId | String | Path element #1 | Transaction ID | |
content | TransactionContent | Deserialized from request body | Transaction content | |
Returns: | List of NameValue | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP/run HTTP/1.1 <TransactionContent> <postData> <NameValue> <name>param1</name> <value>value1</value> </NameValue> <NameValue> <name>param2</name> <value>value2</value> </NameValue> </postData> </TransactionContent> |
Description: | Removes all roles for the given SSO on the specified transaction | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/*/removeRole | |||
Parameters: | Name | Type | Source | Description |
transactionId | String | Path element #1 | Transaction ID | |
userSSO | String | Form parameter userSSO | SSO for user | |
Returns: | int | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP/removeRole HTTP/1.1 userSSO=SSO--11A4FD35049-30E75B79 |
Description: | Creates a single use token for anonymous access to the specified transaction which is good for 60 seconds. | |||
Method: | POST | |||
Path: | [ENVIRONMENT_URL]/cpservice/rest/transactions/*/anonymous | |||
Parameters: | Name | Type | Source | Description |
transactionId | String | Path element #1 | Transaction ID | |
userSSO | String | Form parameter userSSO | SSO for user | |
action | String | Form parameter action | action to pass to workflow | |
Returns: | String | |||
Sample: |
POST https://secure.cloudpiston.com/cpservice/rest/transactions/34FD8D6B-E935-B5AF-BCD1-19B98A605174:03E8:NX-TXP/anonymous HTTP/1.1 userSSO=SSO--11A4FD35049-30E75B79&action=review-anonymous |