Get Orchestration
get
/jderest/discover/{orchestration}
Request a single orchestration.
Request
Path Parameters
-
orchestration(required): string
The name or OMW object name of the orchestration
Header Parameters
-
jde-AIS-Auth: string
Token
-
jde-AIS-Auth-Device: string
Device Name
-
jde-AIS-MonitorOnStart: boolean
Monitor on Start
-
jde-AIS-MonitorRequest: string
Monitor RequestAllowed Values:
[ "monitorRequest", "monitorRequestIO" ]
Response
Supported Media Types
- application/json
200 Response
Successful Execution
Root Schema : OrchestrationDiscoveryResponse
Type:
objectLists available orchestrations.
Show Source
-
orchestrations:
array orchestrations
The list of orchestrations.
Nested Schema : orchestrations
Type:
arrayThe list of orchestrations.
Show Source
-
Array of:
object SingleOrchestrationDiscovery
An available orchestration.
Nested Schema : SingleOrchestrationDiscovery
Type:
objectAn available orchestration.
Show Source
-
category:
string
The Category (tag) for the Orchestration.
-
containsContinueOnError:
boolean
If the Orchestration should continue processing after a step error
-
description:
string
The orchestration description.
-
exampleOutput:
string
-
exposeInputsInDiscovery:
boolean
If this Orchestrations Inputs should be exposed.
-
exposeOrchInDiscovery:
boolean
If this Orchestration should be shown as a discoverable entity.
-
fileInputs:
boolean
-
fileInputsRequired:
boolean
-
fileOutputs:
boolean
-
inputFormat:
string
Allowed Values:
[ "Generic", "JDE Standard", "Oracle Cloud IoT" ]The input format. -
inputs:
array inputs
The list of inputs to the orchestration.
-
longDescription:
string
The orchestration long description.
-
name:
string
The orchestration name.
-
omwObjectName:
string
The omw object name for the orchestration UDO.
-
outputs:
array outputs
The list of outputs from the orchestration.
-
scheduleUDOName:
string
The schedule assigned to this orchestration.
-
udoGroup:
string
Allowed Values:
[ "Personal", "Shared", "Reserved", "Pending Approval" ]The the UDO group. -
version:
string
The AIS API version used for form and data service requests.
Nested Schema : inputs
Type:
arrayThe list of inputs to the orchestration.
Show Source
-
Array of:
object OrchestrationInputDiscovery
An input to an orchestration.
Nested Schema : outputs
Type:
arrayThe list of outputs from the orchestration.
Show Source
-
Array of:
object OrchestrationInputDiscovery
An input to an orchestration.
Nested Schema : OrchestrationInputDiscovery
Type:
objectAn input to an orchestration.
Show Source
-
array:
array array
The name of the input array (arrays are only shown in discovery inputs).
-
defaultValue:
string
The default value defined in the orchestration for this input
-
defaultValues:
array defaultValues
The default value defined for this array in the orchestration
-
example:
string
The Example Input or Output values used for discovery
-
gridId:
string
The id of the grid.
-
iterateOver:
string
The name of the Iterate Over object is applicable
-
name:
string
The name of the input or output field.
-
required:
boolean
If the input is required to be passed to the Orchestration
-
stepName:
string
The name of the step that this input or output resides
-
title:
string
The title of the grid.
-
type:
string
Allowed Values:
[ "Array", "String", "Numeric", "Milliseconds", "MM/dd/yyyy", "dd/MMyyyy", "MM/dd/yy", "dd/MM/yy", "yyyy/MM/dd", "yy/MM/dd", "yyy-MM-dd'T'HH:mm:ss.SSSZ" ]The type of the input or output field.
Nested Schema : array
Type:
arrayThe name of the input array (arrays are only shown in discovery inputs).
Show Source
-
Array of:
object OrchestrationInputDiscovery
An input to an orchestration.
Nested Schema : defaultValues
Type:
arrayThe default value defined for this array in the orchestration
Show Source
-
Array of:
object items
Additional Properties Allowed: additionalProperties
Nested Schema : additionalProperties
Type:
object400 Response
Bad Request - Invalid JSON Input
403 Response
Authorization Failure
415 Response
Invalid Content-Type Header - Must use application/json
444 Response
Invalid Token
Root Schema : ServiceErrorResponse
Type:
objectError Response
Show Source
-
errorText:
string
-
exception:
string
The class of the exception if an exception was thrown.
-
exceptionId:
string
ExceptionId, only if an exception record was written to the F980060
-
message:
string
Details about the error.
-
status:
string
Allowed Values:
[ "ERROR", "WARNING" ]Status determined by exception handling -
timeStamp:
string
The timestamp indicating the time the error message was returned.
-
type:
string
Optional type of error
-
userDefinedErrorText:
string
Optional error text added to an orchestration step.
500 Response
Server Failed to Process Request
Root Schema : ServiceErrorResponse
Type:
objectError Response
Show Source
-
errorText:
string
-
exception:
string
The class of the exception if an exception was thrown.
-
exceptionId:
string
ExceptionId, only if an exception record was written to the F980060
-
message:
string
Details about the error.
-
status:
string
Allowed Values:
[ "ERROR", "WARNING" ]Status determined by exception handling -
timeStamp:
string
The timestamp indicating the time the error message was returned.
-
type:
string
Optional type of error
-
userDefinedErrorText:
string
Optional error text added to an orchestration step.
Examples
Example Request
Use this discovery service to request a single orchestration. If found, only one will be returned in the list. Use authentication header jde-AIS-Auth to pass a token or use basic authentication for passing credentials.
Stateless with Token Authorization
curl -i -X GET -H "Content-Type:application/json" -H "jde-AIS-Auth: 0440TS5qGhnT1qYEbEP..." http://ais_server_url/jderest/discover/GetAddressBook_Simple
Example Response
The following example shows the contents of the response body.
{
"orchestrations": [
{
"name": "GetAddressBook_Simple",
"omwObjectName": "ORC_2410240001JDE",
"udoGroup": "Personal",
"description": "GetAddressBook_Simple",
"inputFormat": "Generic",
"version": "v3",
"scheduleUDOName": "",
"longDescription": "",
"containsContinueOnError": false,
"exposeOrchInDiscovery": true,
"exposeInputsInDiscovery": true,
"inputs": [
{
"name": "AddressBookNumber",
"type": "String",
"required": false,
"defaultValue": "7"
}
],
"outputs": [
{
"name": "GetAddressBook_Simple_1",
"type": "Grid",
"gridId": "1",
"stepName": "GetAddressBook_Simple",
"required": false,
"array": [
{
"name": "Address Number",
"type": "Numeric",
"required": false
},
{
"name": "Alpha Name",
"type": "String",
"required": false
},
{
"name": "Industry Class",
"type": "String",
"required": false
}
]
},
{
"name": "jde__status",
"type": "string",
"required": false
},
{
"name": "jde__startTimestamp",
"type": "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"required": false
},
{
"name": "jde__endTimestamp",
"type": "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"required": false
},
{
"name": "jde__serverExecutionSeconds",
"type": "Numeric",
"required": false
}
],
"fileInputs": false,
"fileInputsRequired": false,
"fileOutputs": false,
"exampleOutput": ""
}
]
}