Create a setup task CSV import

post

/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match All
Show Source
Nested Schema : setupTaskCSVImports-item
Type: object
Show Source
  • Title: Import from CSV Support
    Indicates whether CSV import is supported for the setup task.
  • Title: Task Code
    Maximum Length: 255
    The unique code of the setup task for which the CSV data files are imported.
Nested Schema : type
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcess
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type: object
Show Source
  • Title: File Content
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The .zip file containing the setup task CSV files.
  • Title: Process Complete
    Indicates whether the setup task CSV import process is complete. This attribute doesn't have a default value.
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Option to Import Task Setup Data Although Revisions Mismatch
    Indicates an option to proceed with the import even if the revision of the imported task setup data is different from the revision of the target environment. If Y, the import process begins. If N, the import doesn't continue. The default value is N.
  • Title: Task Code
    The unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request-allOf[1]
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Process Log
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The log containing the processing details of each business object in the setup task CSV import process.
  • Title: Process Name
    Name of the setup task CSV import process.
  • Title: Process Results Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The report that contains the results for each business object of the task included in the CSV import process.
  • Title: Process Results Summary Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The summary report for the setup task CSV import process.
  • Title: Status Code
    The status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Request Body - application/vnd.oracle.adf.resourceitem+json ()
Root Schema : schema
Match All
Show Source
Nested Schema : setupTaskCSVImports-item
Type: object
Show Source
  • Title: Import from CSV Support
    Indicates whether CSV import is supported for the setup task.
  • Title: Task Code
    Maximum Length: 255
    The unique code of the setup task for which the CSV data files are imported.
Nested Schema : type
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcess
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type: object
Show Source
  • Title: File Content
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The .zip file containing the setup task CSV files.
  • Title: Process Complete
    Indicates whether the setup task CSV import process is complete. This attribute doesn't have a default value.
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Option to Import Task Setup Data Although Revisions Mismatch
    Indicates an option to proceed with the import even if the revision of the imported task setup data is different from the revision of the target environment. If Y, the import process begins. If N, the import doesn't continue. The default value is N.
  • Title: Task Code
    The unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request-allOf[1]
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Process Log
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The log containing the processing details of each business object in the setup task CSV import process.
  • Title: Process Name
    Name of the setup task CSV import process.
  • Title: Process Results Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The report that contains the results for each business object of the task included in the CSV import process.
  • Title: Process Results Summary Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The summary report for the setup task CSV import process.
  • Title: Status Code
    The status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : setupTaskCSVImports-item-response
Match All
Show Source
Nested Schema : ItemProperties
Type: object
Show Source
Nested Schema : setupTaskCSVImports-item
Type: object
Show Source
  • Title: Import from CSV Support
    Indicates whether CSV import is supported for the setup task.
  • Title: Task Code
    Maximum Length: 255
    The unique code of the setup task for which the CSV data files are imported.
Nested Schema : setupTaskCSVImports-item-response-allOf[2]
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcess
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-response
Match All
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type: object
Show Source
  • Title: File Content
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The .zip file containing the setup task CSV files.
  • Title: Process Complete
    Indicates whether the setup task CSV import process is complete. This attribute doesn't have a default value.
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Option to Import Task Setup Data Although Revisions Mismatch
    Indicates an option to proceed with the import even if the revision of the imported task setup data is different from the revision of the target environment. If Y, the import process begins. If N, the import doesn't continue. The default value is N.
  • Title: Task Code
    The unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-response-allOf[2]
Type: object
Show Source
Nested Schema : SetupTaskCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item-response
Match All
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the setup task CSV import process.
  • Title: Process Log
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The log containing the processing details of each business object in the setup task CSV import process.
  • Title: Process Name
    Name of the setup task CSV import process.
  • Title: Process Results Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The report that contains the results for each business object of the task included in the CSV import process.
  • Title: Process Results Summary Report
    Read Only: true
    Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
    The summary report for the setup task CSV import process.
  • Title: Status Code
    The status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Back to Top

Examples

The following example shows how to create a setup task CSV import by submitting a POST request on the REST resource using cURL.

curl -i -u "<username>:<password>" -X POST https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports

Example of Request Body

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

{
  "TaskCode" : "HZ_MANAGE_RESOURCE_ROLES",
  "SetupTaskCSVImportProcess" : [{  "TaskCode" : "HZ_MANAGE_RESOURCE_ROLES",
							 	    "SourceTargetDiffOkFlag" : "N",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GwgW5R4d21hIY0fQByPmu6US3kHvBP8GLM7gvzvuvEfGusVPOX4q4+vuYZ8dtsHLBxma5iRpIQa9ZThnyX8idlZgb0mBsoAnxBSEEKqMuj3LweKGE8b855PzL7WKNv5i9WsPwqafAx1hpaIdfPGcBzLDrAhvp4nkOdK8sbOlxXoU+59eddncjZ/uA6wh6ovYPTfUEsHCJ/X4ztZAgAA2AkAAFBLAQIUABQACAgIADypokp1sxhX4wAAAOYBAAASAAAAAAAAAAAAAAAAAAAAAABKVEZfUlNfUk9MRVNfQi5jc3ZQSwECFAAUAAgICAA8qaJKn9fjO1kCAADYCQAAGgAAAAAAAAAAAAAA"}]
}

Example of Response Header

The following shows an example of the response header.

Status: HTTP/1.1 200 OK
Content-Type : application/vnd.oracle.adf.resourceitem+json
               application/json

Example of Response Body

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

{
    "TaskCode": "HZ_MANAGE_RESOURCE_ROLES",
    "ImportSupportedFlag": null,
    "SetupTaskCSVImportProcess": [
        {
            "ProcessId": 300100022143420,
            "TaskCode": "HZ_MANAGE_RESOURCE_ROLES",
            "ProcessCompletedFlag": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES/child/SetupTaskCSVImportProcess/300100022143420",
                    "name": "SetupTaskCSVImportProcess",
                    "kind": "item"
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES/child/SetupTaskCSVImportProcess/300100022143420",
                    "name": "SetupTaskCSVImportProcess",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES",
                    "name": "setupTaskCSVImports",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES/child/SetupTaskCSVImportProcess/300100022143420/child/SetupTaskCSVImportProcessResult",
                    "name": "SetupTaskCSVImportProcessResult",
                    "kind": "collection"
                },
                {
                    "rel": "enclosure",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES/child/SetupTaskCSVImportProcess/300100022143420/enclosure/FileContent",
                    "name": "FileContent",
                    "kind": "other"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES",
            "name": "setupTaskCSVImports",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES",
            "name": "setupTaskCSVImports",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupTaskCSVImports/HZ_MANAGE_RESOURCE_ROLES/child/SetupTaskCSVImportProcess",
            "name": "SetupTaskCSVImportProcess",
            "kind": "collection"
        }
    ]
}
Back to Top