Administrator
- Administrator
- All Products
<METHOD><base URL> Content-Type: application/json Accept: application/json IDS-SESSION-ID: <SessionId>
/DSRepo/rest/api/v1/services/run/<service name>
Field
| Type
| Required
| Description
|
---|---|---|---|
agentGroupId
| String
| Yes
| ID of the Secure agent group to process the request.
|
input
| Default input port for the data service.
| ||
type
| string
| Yes
| Whether the input is a file or data. Use one of the following values:
|
value
| string
| Yes
| Value of the input type.
|
output
| Default output port for the data service.
| ||
type
| String
| Yes
| Whether the output is provided as data or saved to a target file path. Use one of the following values:
|
value
| String
| Required when type is FILE
| Value of the output file path.
|
additionalInputs
| Array
| Additional input ports for the data service.
| |
name
| String
| Name of the additional input port.
| |
type
| String
| Whether the additional input is a file or data. Use one of the following values:
| |
value
| String
| Value of the additional input type.
| |
additionalOutputs
| Array
| Required for some data services.
| Additional output ports for the data service.
For HL7, provide the following additional outputs:
|
name
| String
| Yes
| Name of the additional output port.
|
type
| String
| Yes
| Whether the additional output is provided data or saved to a target file path. Use one of the following values:
|
value
| String
| Required when type is FILE
| Value of the additional output file path.
|
serviceParameters
| Array
| Variables in the service parameter ports.
| |
name
| String
| Name of the service parameter.
| |
value
| String
| Value of the service parameter.
|
POST <serverUrl>/DSRepo/rest/api/v1/services/run/HL7_2_6_ADT_A01_Parser Content-Type: application/json Accept:application/json IDS-SESSION-ID:2l0oeVx22Rujiej7yTokmT { "agentGroupId": "010BM02500000000000K", "input": { "type": "FILE", "value": "/root/TEST/v25_s2.txt" }, "output": { "type": "FILE", "value":"/root/TEST/" }, "additionalInputs": [], "serviceParameters": [], "additionalOutputs": [ { "name": "Errors", "type": "FILE", "value":"/root/TEST/" }, { "name": "ErrorsFound", "type": "FILE", "value":"/root/TEST/" } ] }
{ "output": "/root/TEST/HL7_2_6_ADT_A01_Parser_output.xml", "additionalOutputs": [ { "type": "file", "value": "/root/TEST/HL7_2_6_ADT_A01_Parser_Errors.xml", "name": "Errors" }, { "type": "file", "value": "/root/TEST/HL7_2_6_ADT_A01_Parser_ErrorsFound.xml", "name": "ErrorsFound" } ], "message": "Success" }