Get job details

get

/fscmRestApi/resources/11.13.18.05/erpintegrations/{OperationName}

Request

Path Parameters
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : erpintegrations-item-response
Type: object
Show Source
  • Title: Callback URL
    The callback URL of the service implemented by a customer to receive the job status of an Enterprise Scheduling Service job upon its completion.
  • Title: Comments
    The action that appends the specified comments to a file.
  • Title: Content Type
    The type of content within a data file to be processed by the ERP Integration Service.
  • Title: Document Account
    The account parameter to search for files corresponding to a specified security account.
  • Title: Document Content
    The content of the file in Base64 encoded format.
  • Title: Document Identifier
    The unique identifier of a file associated with the row.
  • Title: Parameters
    The list of parameters used to run the Enterprise Scheduling Service job. The list determines the order of the parameters. The corresponding entry in the list should be blank when a given parameter is not passed.
  • Title: File Name
    The name of the data file to be processed by the ERP Integration Service.
  • Title: File Type
    The file type that determines the execution details to be downloaded. Specify LOG as the file type to download the log and output file. Specify OUT as the file type to download only the output file. If no file type is specified, both the log files and output files are downloaded.
  • Title: Job Definition Name
    The name of the Enterprise Scheduling Service job definition that must be submitted.
  • Title: Job Name
    The job name and job package name separated by a comma.
  • Title: Job Options
    A web service operation input parameter. It specifies the inbound bulk data processing variation and the output file type that is generated when the data is processed.
  • Title: Job Package Name
    The name of the Enterprise Scheduling Service job package that must be submitted.
  • Links
  • Title: Load Request Identifier
    The unique identifier of the load process that populates data in a product interface table.
  • Title: Notification Code
    The two-digit code that determines the notification type and when the notification should be sent. Currently the bell and email notifications are supported only for loadAndImportData, ImportBulkData, ExportBulkData, and extractAndPurge operations.
  • Title: Operation Name
    The name of the ERP Integration Service operations used to manage inbound and outbound data flows.
  • Title: Parameter List
    The list of parameters used to run the Enterprise Scheduling Service job. The list determines the order of the parameters. The corresponding entry in the list must be blank when a given parameter is not passed.
  • Title: Process Name
    The name of a particular business application's data import process.
  • Title: Request Identifier
    The unique identifier of the submitted Enterprise Scheduling Service job request.
  • Title: Request Status
    The current status of the Enterprise Scheduling Service job.
  • Title: Status Code
    The code representing the current status of the Enterprise Scheduling Service job.
Back to Top

Examples

Example 1: DownloadESSJobExecutionDetails Operation

The downloadESSJobExecutionDetails operation downloads the ESS job output and the logs as a zip file.

The following example shows how to download ESS job execution details by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations?finder=ESSJobExecutionDetailsRF;requestId=14557,fileType=ALL

Example Response Body

The following example shows the contents of the response body in JSON format:

{
  "items": [
    {
      "OperationName": "downloadESSJobExecutionDetails",
      "DocumentId": null,
      "DocumentContent": "UEsDBBQACAgIADdT4VAAAAAAAAAAAAAAAAAJAAAAMTQ1NTcubG9n1VZNbxs3EL3vr5ijXbRaOW4aQEkDuLINbGBHC0mGjgbFnZVYU+SGH0qUX98Z7q5sAY5r9dJWEGSLmiFn3nvzuDdWVHA1LaEwAV0tJEKxaawL8MkuYYpfIvoAxeUIzn59+/ZddvNi/CSGJgZYWPcAl8qhDNbtRnkcnuUXZXkzn5S5Mj4IIzFH73NXV3naN7cxZL+8+nVM6HiN8kGZFagaboWisg2fD39SvcqDl2usosYqe+ZHoR2Kavck6FpphFmUksqvo9Y7mDthfI3OYQW1sxu4G99ms7jcqBBoif7bw3ht3Qhy64TUmIum8QmEWvGZSmifS7vZWHNr+Syf+7WgTbvFXPWAMwXo3heH3y/8zkjm4KsKa3CHxP02zDJo8YCFUIHhsAbGa6UrKJ3lbn6Q2MEIWVYYShTcUzpr7ayx0Sfeg4XQwQA1ITT4G538Z3XVFzZFHzfUqaipGpAJp6bDifhoNAZFAJ4kOfQK4FJPQYQRLCj1U9QwPIOz4Yjf53A3H8Ob4ZshHFPPfI3wXTUJVDrYBNKoh0oE0S4lzpTZCq0qwG8kX091jcrppLyazour2XHNi4qVQY026IJC3wp61qnfAZqtIto3aMJBVKK8T38hiNT/Q86ou1qt8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zdlBLAQIUABQACAgIADdT4VBd2+dEcwAAAKkAAAARAAAAAAAAAAAAAAAAAF4FAABBUFRFU1QuUFJPUEVSVElFU1BLAQIUABQACAgIADdT4VCgKuY91AAAAA4BAAAJAAAAAAAAAAAAAAAAABAGAAAxNDU2MC5sb2dQSwECFAAUAAgICAA3U+FQnvxvIvcJAAC6TgAACQAAAAAAAAAAAAAAAAAbBwAAMTQ1NjMubG9nUEsFBgAAAAAFAAUAKQEAAEkRAAAAAA==",
      "FileName": null,
      "ContentType": null,
      "FileType": "ALL",
      "DocumentAccount": null,
      "Comments": null,
      "ProcessName": null,
      "LoadRequestId": null,
      "JobPackageName": null,
      "JobDefName": null,
      "ReqstId": "14557",
      "RequestStatus": null,
      "JobName": null,
      "ParameterList": null,
      "NotificationCode": null,
      "CallbackURL": null,
      "JobOptions": null,
      "StatusCode": null,
      "ESSParameters": null,
      "links": [
        {
          "rel": "self",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/downloadESSJobExecutionDetails",
          "name": "erpintegrations",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/downloadESSJobExecutionDetails",
          "name": "erpintegrations",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false,
  "limit": 25,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations",
      "name": "erpintegrations",
      "kind": "collection"
    }
  ]
}

Example 2: GetEssExecutionDetails Operation

The getEssExecutionDetails operation obtains Job Path, Name, Status and all related child job details for a specified request ID.

The following example shows how to get ESS job execution details by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations?finder=ESSExecutionDetailsRF;requestId=14557

Example Response Body

The following example shows the contents of the response body in JSON format:

{
  "items": [
    {
      "OperationName": "getESSExecutionDetails",
      "DocumentId": null,
      "DocumentContent": null,
      "FileName": null,
      "ContentType": null,
      "FileType": null,
      "DocumentAccount": null,
      "Comments": null,
      "ProcessName": null,
      "LoadRequestId": null,
      "JobPackageName": null,
      "JobDefName": null,
      "ReqstId": "14557",
      "RequestStatus": "{\"JOBS\":{\"JOBNAME\":\"Load Interface File for Import\",\"JOBPATH\":\"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader\",\"REQUESTID\":\"14557\",\"STATUS\":\"SUCCEEDED\",\"CHILD\":[{\"JOBNAME\":\"Transfer File\",\"JOBPATH\":\"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader\",\"REQUESTID\":\"14560\",\"STATUS\":\"SUCCEEDED\"},{\"JOBNAME\":\"Load File to Interface\",\"JOBPATH\":\"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader\",\"REQUESTID\":\"14563\",\"STATUS\":\"SUCCEEDED\"}]}}",
      "JobName": null,
      "ParameterList": null,
      "NotificationCode": null,
      "CallbackURL": null,
      "JobOptions": null,
      "StatusCode": null,
      "ESSParameters": null,
      "links": [
        {
          "rel": "self",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getESSExecutionDetails",
          "name": "erpintegrations",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getESSExecutionDetails",
          "name": "erpintegrations",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false,
  "limit": 25,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations",
      "name": "erpintegrations",
      "kind": "collection"
    }
  ]
}

Example 3: GetEssJobStatus Operation

The getEssJobStatus operation obtains the execution status of the submitted ESS job.

The following example shows how to get an ESS job status by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations?finder=ESSJobStatusRF;requestId=14557

Example Response Body

The following example shows the contents of the response body in JSON format:

{
  "items": [
    {
      "OperationName": "getESSJobStatus",
      "DocumentId": null,
      "DocumentContent": null,
      "FileName": null,
      "ContentType": null,
      "FileType": null,
      "DocumentAccount": null,
      "Comments": null,
      "ProcessName": null,
      "LoadRequestId": null,
      "JobPackageName": null,
      "JobDefName": null,
      "ReqstId": "14557",
      "RequestStatus": "SUCCEEDED",
      "JobName": null,
      "ParameterList": null,
      "NotificationCode": null,
      "CallbackURL": null,
      "JobOptions": null,
      "StatusCode": null,
      "ESSParameters": null,
      "links": [
        {
          "rel": "self",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getESSJobStatus",
          "name": "erpintegrations",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getESSJobStatus",
          "name": "erpintegrations",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false,
  "limit": 25,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations",
      "name": "erpintegrations",
      "kind": "collection"
    }
  ]
}

Example 4: GetDocumentIdsForFilePrefix Operation

The getDocumentIdsForFilePrefix operation returns all the documentId that match the provided file name prefix and UCM document account. This excludes documents having a comment that starts with the provided comment. The operation limits the search to only FAFusionImportExport security group if UCM document account is passed and limits the search to only attachment security group if UCM document account is passed as "%23NULL".

The following example shows how to retrieve document IDs for a specified file name prefix by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations?finder=DocumentIdsByFilePrefixRF;filePrefix=GlInterface,docAccount=fin%2FgeneralLedger%2Fimport,comment=NotMyComment

Example Response Body

The following example shows the contents of the response body in JSON format:

{
    "items": [
        {
            "OperationName": "getDocumentIdsForFilePrefix",
            "DocumentId": "233799",
            "DocumentContent": null,
            "FileName": "GlDaily",
            "ContentType": null,
            "FileType": null,
            "DocumentAccount": "fin/generalLedger/import",
            "Comments": null,
            "ProcessName": null,
            "LoadRequestId": null,
            "JobPackageName": null,
            "JobDefName": null,
            "ReqstId": null,
            "RequestStatus": null,
            "JobName": null,
            "ParameterList": null,
            "NotificationCode": null,
            "CallbackURL": null,
            "JobOptions": null,
            "StatusCode": null,
            "ESSParameters": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getDocumentIdsForFilePrefix",
                    "name": "erpintegrations",
                    "kind": "item"
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getDocumentIdsForFilePrefix",
                    "name": "erpintegrations",
                    "kind": "item"
                }
            ]
        }
    ],
    "count": 1,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations",
            "name": "erpintegrations",
            "kind": "collection"
        }
    ]
}

Example 5: GetDocumentForDocumentId Operation

The getDocumentForDocumentId operation returns the document that matches the provided documentId.

The following example shows how to retrieve a document that matches the provided document ID by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations?finder=DocumentRF;docId=233799

Example Response Body

The following example shows the contents of the response body in JSON format:

{
    "items": [
        {
            "OperationName": "getDocumentForDocumentId",
            "DocumentId": "233799",
            "DocumentContent": "VVNELElOUiwyMDE3LzAxLzAxLDIwMTcvMDEvMDEsQ29ycG9yYXRlLDYwLCwgDQpVU0QsRVVSLDIwMTcvMDEvMDEsMjAxNy8wMS8wMSxDb3Jwb3JhdGUsNjAsLCANCg==",
            "FileName": null,
            "ContentType": null,
            "FileType": null,
            "DocumentAccount": null,
            "Comments": null,
            "ProcessName": null,
            "LoadRequestId": null,
            "JobPackageName": null,
            "JobDefName": null,
            "ReqstId": null,
            "RequestStatus": null,
            "JobName": null,
            "ParameterList": null,
            "NotificationCode": null,
            "CallbackURL": null,
            "JobOptions": null,
            "StatusCode": null,
            "ESSParameters": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getDocumentForDocumentId",
                    "name": "erpintegrations",
                    "kind": "item"
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/getDocumentForDocumentId",
                    "name": "erpintegrations",
                    "kind": "item"
                }
            ]
        }
    ],
    "count": 1,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations",
            "name": "erpintegrations",
            "kind": "collection"
        }
    ]
}
Back to Top