openapi: 3.2.0 info: title: Trade Compliance Management HTTP Risk Assessment Applications API description: Thank you for using our HTTP API documentation. version: '4.0' servers: - url: https://rz3.aeb.de/test4ce/rest security: - SWAGGER_AUTH_KEY: [] - BASIC_AUTH: [] tags: - name: Risk Assessment Applications description: Get URLs to various parts of the Risk Assessment application. paths: /RiskAssessmentApplications/questionnaire: post: tags: - Risk Assessment Applications summary: Questionnaire description: Returns a URL that allows you to embed the questionnaire into another application. operationId: questionnaire requestBody: description: Request parameters for starting the "questionnaire" application. content: application/json: schema: $ref: '#/components/schemas/QuestionnaireRequestDTO' application/xml: schema: $ref: '#/components/schemas/QuestionnaireRequestDTO' responses: '200': description: OK. URL to embed the questionnaire. content: application/json: schema: $ref: '#/components/schemas/ApplicationFacadeDTO' application/xml: schema: $ref: '#/components/schemas/ApplicationFacadeDTO' '400': description: Bad request. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '401': description: Unauthorized. Missing or invalid authorization token. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '405': description: Method not allowed. Use POST. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '406': description: Not Acceptable. This resource produces application/json or application/xml. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '415': description: Unsupported Media Type. This resource accepts application/json or application/xml. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '500': description: Internal server error. See errorMessage for details. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' /RiskAssessmentApplications/searchQuestionnaires: post: tags: - Risk Assessment Applications summary: Questionnaire overview description: Returns an URL that allows you to embed the questionnaires overview into another application. operationId: searchQuestionnaires requestBody: description: Request parameters for starting the "search questionnaires" application. content: application/json: schema: $ref: '#/components/schemas/SearchQuestionnairesRequestDTO' application/xml: schema: $ref: '#/components/schemas/SearchQuestionnairesRequestDTO' responses: '200': description: OK. URL to embed the questionnaires overview. content: application/json: schema: $ref: '#/components/schemas/ApplicationFacadeDTO' application/xml: schema: $ref: '#/components/schemas/ApplicationFacadeDTO' '400': description: Bad request. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '401': description: Unauthorized. Missing or invalid authorization token. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '405': description: Method not allowed. Use POST. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '406': description: Not Acceptable. This resource produces application/json or application/xml. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '415': description: Unsupported Media Type. This resource accepts application/json or application/xml. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' '500': description: Internal server error. See errorMessage for details. content: application/json: schema: $ref: '#/components/schemas/ErrorData' application/xml: schema: $ref: '#/components/schemas/ErrorData' components: schemas: AFExecuteProcessParmsDTO: type: object properties: executableFile: type: string description: The name of the executable (including path name, or expected to be found within search path) This must not contain any parameters, and it must not be enclosed with quotes even if the string contains spaces. parameters: type: string description: Parameters to the executable. may be null. most processes expect parameters separated by spaces, and honor enclosing quotes for a parameter if it contains spaces. workDir: type: string description: The current directory to be set for the process created as given in executable may be null description: 'Parameters of UI API invocation when this is to be done via create process: The client has to invoke the process as specified by the properties of this object.' AFShellExecuteParmsDTO: type: object properties: fileName: type: string description: This is the name of the file that has to be created in some temporary directory and filled with what contents contains contents: type: string description: This is the contents that has to be written to the file format: byte description: 'Parameters of application UI API when this is to be done via shellexecute: The client has to create a file with the given name in a temporary directory, the contents of the file is given in the variable ''contents''. Then "shellExecute" has to be invoked which assumes that the file type as given by filename is registered on client''s machine' QuestionnaireRequestDTO: type: object properties: generalParms: $ref: '#/components/schemas/ApplicationFacadeParmsDTO' questionnaireParms: $ref: '#/components/schemas/QuestionnaireParmsDTO' description: Request for the application open questionnaire. AbsoluteIntervalFilterDTO: type: object properties: from: type: string description: Start date of the interval in the format 'yyyy-MM-dd[ HH:mm:ss[z]]' (the time and zone is optional).
If no time zone is specified, the local zone of the server is used.
Use 'Z' for UTC/GMT or offsets like '+01', '-0600' or 'GMT+04:30'. to: type: string description: End date of the interval in the format 'yyyy-MM-dd[ HH:mm:ss[z]]' (the time and zone is optional).
If no time zone is specified, the local zone of the server is used.
Use 'Z' for UTC/GMT or offsets like '+01', '-0600' or 'GMT+04:30'. description: Initializes the filter with a fix interval between two dates. SearchQuestionnairesRequestDTO: type: object properties: generalParms: $ref: '#/components/schemas/ApplicationFacadeParmsDTO' filterParms: $ref: '#/components/schemas/QuestionnairesFilterParmsDTO' description: Request for the application search questionnaires. ErrorData: type: object properties: errorMessage: type: string errorCause: type: string ApplicationFacadeDTO: type: object properties: sessionid: type: string description: The session id of the UI API which may be used as a parameter to read results from the application facade. (Currently not supported.) httpUrl: type: string description: Used when the UI API is to be opened in a browser an http:// or https:// URL which is a web side to display the UI API. urlCloseToken: type: string description: URL token to check on the remote system (for example SAP) if the browser was closed. executeProcess: $ref: '#/components/schemas/AFExecuteProcessParmsDTO' shellExecute: $ref: '#/components/schemas/AFShellExecuteParmsDTO' description: A data transfer object which describes an UI API. There are various techniques possible how to "open" the "application" on the client; typically only one of the fields is filled, but when more than one possibility is not null the client may choose the type most suitable. Supported types include
Possible values are 'DAYS', 'WDAYS', 'WEEKS', 'MONTHS' and 'YEARS'.
This is a mandatory attribute. duration: type: integer description: Defines the duration for the interval from 'now'.
The duration can be negative for the past and positive for the future.
This is a mandatory attribute.
format: int32
description: Initializes the filter with a time interval relative to 'today'.
QuestionnaireParmsDTO:
required:
- clientSystemId
- questTemplId
- referenceIdHost
type: object
properties:
questTemplId:
maxLength: 20
type: string
description: ID of the questionnaire template used for the questionnaire.
example: '000005'
clientSystemId:
maxLength: 20
type: string
description: ID of the partner system the questionnaire was created by.
example: API-TEST
referenceIdHost:
maxLength: 255
type: string
description: Unique reference key of the object in the partner system for which a questionnaire should be found.
example: ref-121
isReadOnly:
type: boolean
description: If true, the questionnaire is opened in read-only mode.
example: false
default: false
description: Passing the parameters to identify the questionnaire.
The fields questTemplId, clientSystemId, and referenceIdHost are mandatory.
QuestionnairesFilterParmsDTO:
type: object
properties:
partnerName:
maxLength: 20
type: string
description: Filter to find questionnaires with companies/persons of a specific name.
example: Company XY
partnerCountryIsoCode:
maxLength: 2
type: string
description: Filter to find questionnaires with companies/persons in a specific country. Country is given as two-letter ISO code.
example: DE
companyName:
maxLength: 20
type: string
description: Filter to find questionnaires of a specific company.
example: AEB SE
isCompleted:
type: boolean
description: Filter to find only completed or only incomplete questionnaires.
example: true
questionnaireId:
type: string
description: Filter to find questionnaires with a specific questionnaire ID.
example: 00000048
reference:
maxLength: 250
type: string
description: Filter to find questionnaires with a specific reference. The reference is searched for in these fields:
OKWARNINGSTOPThe caller must ensure that the corresponding session has been established
language: type: string description: The two letter ISO code of the language of the new session. example: en displayFullWorkplace: type: boolean description:true to display the complete workspace (central, user and info panel). Use false or null to display only the single ac.
example: true
isACEmbedded:
type: boolean
description: true to display header and statusbar, false if ac should be embedded in another
example: true
displayStatusbar:
type: boolean
description: true to display statusbar, false
example: true
displayTitlebar:
type: boolean
description: true to display header, false if ac should not show header
example: true
stylevariant:
type: string
description: Deprecated.
example: NEUTRAL
acceptTechnology:
type: string
description: 'Specify which technology the clients wants to access the application; one token (or several, separated by semicolon) - the server may chose to ignore this possible tokens are specific for each server technology, XNSG-Servers currently honor strings from the GUIInvocationTechnology enum (e.g.: VAADIN) if null a default technology is chosen.'
example: VAADIN
productname:
type: string
description: Optional field, which may be set if productname differs from standard product name
productShortName:
type: string
description: Optional field, which may be set if productShortName differs from standard product name
preferredWidth:
type: integer
description: Optional field, which may be set if preferred width of AF should be different from default. Preferred height may not be always applyable but wins against workstation settings. - not available for vaadin, invoker must open browser in correct way
format: int32
preferredHeight:
type: integer
description: Optional field, which may be set if preferred height of AF should be different from default. Preferred height may not be always applyable but wins against workstation settings. - not available for vaadin, invoker must open browser in correct way
format: int32
openToTray:
type: boolean
description: 'Optional field, which may be set if application should be opened to tray (default: false) - currently not available for vaadin, will be ignored'
description: A data transfer object to be the parameter of the method IFoundationBF.getNewApplicationFacade()
RelativeIntervalFilterDTO:
type: object
properties:
from:
$ref: '#/components/schemas/IntervalFromNowFilterDTO'
to:
$ref: '#/components/schemas/IntervalFromNowFilterDTO'
description: Initializes the filter with a relative time range.If only one attribute is filled, the interval is relative to 'today'. securitySchemes: SWAGGER_AUTH_KEY: type: apiKey name: X-XNSG_WEB_TOKEN in: header BASIC_AUTH: type: http scheme: basic x-proxy-enabled: false