• Platform
    • Manager
    • Maestro
    • Exchange
    • Workspaces
    • Analytics
    • Springboard
    • API
Transact Services Guide (TSG)

Transact Services Guide (TSG)

  • Getting Started
  • Groovy Guide
  • Service Development
  • Groovy Services API
  • REST API

›Workspaces API

Getting Started

  • Introduction

Groovy Guide

  • Groovy Guide
  • Groovy Declarations
  • Control Statements

Service Development

  • Service Development
  • Transaction Processing Sequence
  • Service Logging
  • Remote Service Calls
  • Fluent Security Configuration
  • Third-party Libraries

Groovy Services API

  • Groovy Services API
  • Fluent Function
  • Delivery Function
  • Form Version Selector
  • Form Security Filter
  • Form Prefill
  • Tracking Number
  • Form Dynamic Data
  • Submission Preprocessor
  • Receipt Number
  • Form Saved Processor
  • Submission Data Validator
  • Submission Completed Processor
  • Render Receipt Service
  • Delivery Process
  • Task Expiry Process
  • Email Service
  • Job Action
  • Scheduled Service
  • Groovy Service
  • SSO Revalidation
  • SSO Get Authentication Token
  • SSO Authentication OK Response
  • SSO Authentication Provider
  • Transaction History Publisher
  • Virus Scan

REST API

  • REST API
  • REST Application Package API
  • REST Delivery API
  • REST Form Groups API
  • REST Groovy Service Invoke v2
  • REST Service Definitions API
  • REST Tasks API
  • REST TestCenter API
  • REST TPac API
  • REST Transactions API
  • REST Transaction History API

Workspaces API

  • Workspaces API
  • Filters
  • Sort
  • Workspaces Category API
  • Workspaces Current User API
  • Workspaces Extract Name API
  • Workspaces Form API
  • Workspaces Group API
  • Workspaces Job API
  • Workspaces Org API
  • Workspaces Property Name API
  • Workspaces Space API
  • Workspaces Txn API
  • Workspaces User API

Workspaces Org API

The Org API provides a REST service for querying Clients/Organizations in Journey Manager in a secure and efficient manner.

Security

To access the Workspaces REST endpoint the caller needs to pass through Spring Security Session Management. First the user has to be authenticated with the Workspaces configured security manager. The user may authenticate via a login page or via Single Sign-on such as ADFS, oAuth2 or custom SSO.

The result of the API calls is subject to the user security policy.

URL Endpoint

The Workspaces Org API URL endpoint is as follows:

``` https:///workspaces/secure/api/v1/org ```

Service API


This section provides a description all the Org API operations including:

  • POST Query Org


POST Query Org

Returns a list of organisations filtered on the specified criteria.

The result will be ordered alphabetically by name.

URL Format

POST https://<tm server>/workspaces/secure/api/v1/org/query

POST Body

The POST request must contain a JSON structure describing the org query. To support multiple parameters this API uses the HTTP Content Type: application/json

The set of query JSON attributes is listed below (all attributes are optional unless indicated otherwise):

Attribute Type Description
fetchLimit Integer Specifies the fetchLimit of the query and is the max number of results returned.
Default value is applied if fetchLimit entered is greater than 10,000. Default value is 10,000 (required)
fetchOffset Integer Specifies fetchOffset of the query.
Returns (fetchOffset + fetchLimit) number of results starting from the fetchOffset index. Default value is 0 (optional)

Any additional attributes will give a Bad Request response.

Example: Query Org

Please ensure you specify Content-Type: application/json

POST <b>/workspaces/secure/api/v1/org/query</b> HTTP/1.1
Host: https://transact.workspaces.com
Content-Type: application/json

{
    "fetchLimit": 2,
    "fetchOffset": 0
}

200 Response

{
    "fetchLimit": 2,
    "fetchOffset": 0,
    "durationMs": 26,
    "result": [
        {
            "orgName": "Bank",
            "clientCode": "Bank",
            "categoryNames": [],
            "spaceNames": [
                "Maguire",
                "Web Plug-in",
                "Work Spaces"
            ]
        },
        {
            "orgName": "Workspaces",
            "clientCode": "workspace",
            "categoryNames": [
                "Deposit Account Opening",
                "Loan applications"
            ],
            "spaceNames": [
                "Maguire",
                "Salesforce",
                "Web Plug-in",
                "Work Space",
                "Work Spaces"
            ]
        }
    ]
}

Error Messages

Error Key Error Error Code
illegalArgument Please see Error Log ID {number} 400 - Bad Request
internalError Please see Error Log ID {number} 500 - Internal Server Error
unableToResolvePortal Unable to resolve portal from request 400 - Bad Request

Error Responses

400 - Bad Request
Bad request or request parameter. Check error message for details.
404 - Not Found
Ensure the URL endpoint is entered correctly.
500 - Internal Server Error
Exception occurred in org query. Contact administrator.
← Workspaces Job APIWorkspaces Property Name API →
  • Service API

Terms & Conditions

Privacy Policy

Cookie Policy

Copyright © 2003-2022 Temenos Headquarters SA