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
- application/vnd.oracle.adf.resourceitem+json
- application/json
Nested Schema : setupTaskCSVImports-item
Type:
Show Source
object-
ImportSupportedFlag: string
Title:
Import from CSV SupportIndicates whether CSV import is supported for the setup task. -
TaskCode: string
Title:
Task CodeMaximum Length:255The unique code of the setup task for which the CSV data files are imported.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type:
Show Source
object-
FileContent: string
(byte)
Title:
File ContentPattern:^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$The .zip file containing the setup task CSV files. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the setup task CSV import process is complete. This attribute doesn't have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Task Setup Data Although Revisions MismatchIndicates 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. -
TaskCode: string
Title:
Task CodeThe unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request-allOf[1]
Type:
Show Source
objectNested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
ProcessLog: string
(byte)
Title:
Process LogRead Only:truePattern:^(?:[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. -
ProcessName: string
Title:
Process NameName of the setup task CSV import process. -
ProcessResultsReport: string
(byte)
Title:
Process Results ReportRead Only:truePattern:^(?:[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. -
ProcessResultsSummaryReport: string
(byte)
Title:
Process Results Summary ReportRead Only:truePattern:^(?:[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. -
StatusCode: string
Title:
Status CodeThe status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Nested Schema : setupTaskCSVImports-item
Type:
Show Source
object-
ImportSupportedFlag: string
Title:
Import from CSV SupportIndicates whether CSV import is supported for the setup task. -
TaskCode: string
Title:
Task CodeMaximum Length:255The unique code of the setup task for which the CSV data files are imported.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type:
Show Source
object-
FileContent: string
(byte)
Title:
File ContentPattern:^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$The .zip file containing the setup task CSV files. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the setup task CSV import process is complete. This attribute doesn't have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Task Setup Data Although Revisions MismatchIndicates 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. -
TaskCode: string
Title:
Task CodeThe unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-request-allOf[1]
Type:
Show Source
objectNested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
ProcessLog: string
(byte)
Title:
Process LogRead Only:truePattern:^(?:[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. -
ProcessName: string
Title:
Process NameName of the setup task CSV import process. -
ProcessResultsReport: string
(byte)
Title:
Process Results ReportRead Only:truePattern:^(?:[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. -
ProcessResultsSummaryReport: string
(byte)
Title:
Process Results Summary ReportRead Only:truePattern:^(?:[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. -
StatusCode: string
Title:
Status CodeThe status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Nested Schema : ItemProperties
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : setupTaskCSVImports-item
Type:
Show Source
object-
ImportSupportedFlag: string
Title:
Import from CSV SupportIndicates whether CSV import is supported for the setup task. -
TaskCode: string
Title:
Task CodeMaximum Length:255The unique code of the setup task for which the CSV data files are imported.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
The value of this attribute changes with each update to the resource instance. The value of the changeIndicator attribute is same as the entity tag (ETag) in the HTTP header.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item
Type:
Show Source
object-
FileContent: string
(byte)
Title:
File ContentPattern:^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$The .zip file containing the setup task CSV files. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the setup task CSV import process is complete. This attribute doesn't have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Task Setup Data Although Revisions MismatchIndicates 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. -
TaskCode: string
Title:
Task CodeThe unique identifier of the setup task CSV import process.
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-item-response-allOf[2]
Type:
Show Source
objectNested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item-response
Match All
Show Source
Nested Schema : setupTaskCSVImports-SetupTaskCSVImportProcess-SetupTaskCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the setup task CSV import process. -
ProcessLog: string
(byte)
Title:
Process LogRead Only:truePattern:^(?:[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. -
ProcessName: string
Title:
Process NameName of the setup task CSV import process. -
ProcessResultsReport: string
(byte)
Title:
Process Results ReportRead Only:truePattern:^(?:[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. -
ProcessResultsSummaryReport: string
(byte)
Title:
Process Results Summary ReportRead Only:truePattern:^(?:[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. -
StatusCode: string
Title:
Status CodeThe status of the setup task CSV import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
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",
"FileContent": "UEsDBBQACAgIADypokoAAAAAAAAAAAAAAAASAAAASlRGX1JTX1JPTEVTX0IuY3N2fVDRjsIgEHz3KwzP9xNYq2fS4qWoiU9kLRsloUDo5i7+/ZWUanNnfCDMTGaHYVnjLR7uAQuvkX2wRDOUiBr1xsJ1IDV2F4yZcN0ZZ3qKQH7SKoSHFxxcn+aWzDdmkuIFdNNLa+zbaAIZ7waliAiEenVPcdDTMegHn3qlqvLHUHvDyBas+ORClJWSvCplisj8izcHUTaq3jaDKoZzzveEz0/3MruXNRd8W6aJ9P0Uqfi63ol/rNqf1HxxJ7AvyrQ3cA6tChDJYVTBRwKrYNzeny5z/H5wXPtYcnOUu72Yg5fVfgFQSwcIdbMYV+MAAADmAQAAUEsDBBQACAgIADypokoAAAAAAAAAAAAAAAAaAAAAQVNNX1NFVFVQX0NTVl9NRVRBREFUQS54bWzNVlFzmkAQfu+vYPKs5aDVaIYwgxQbW4QMR5xMX5gTdpQOgoUjmfz73p2igNGYtJn2ydvl+75ddj9AbRovckLjLL3NsxCKwsSzKVASEUpmrv5BkiTtJMTLHgWKA7fXJ5HeHQ6HmryPWwiHrECfkpQsQPKgyMo8ZIcsgSJQkXKJekgN0KDXV5Vg2N8LCVpL6gsUYR6veXtvUKyz28KEgs65XdTrIlVSlSs0vOr1P36u3ZoAVUR3/hNCipdZTkWnNz+CqeEYX63As7B755ns4NoW1uQ2sqngP61B9w38vQKKRIUxc2BFo9HTOGGj57CALSTAljebmJYmN69XrPYOR2URp+x3U6C2UaWivIrV8MG5btjimqL7oXzzx4GHNyMLRoHvGQ62DX/iOpp8jNNSJjRc8ryUlklyfUHzEi7kFuh+lRiU5vG8pGDHBdV3A+zYpKB362gbcTdxMXGoGYfB0kXJjNfBwnY81OQD2YOqThbBLaFLXa4My4Vnbitkg21k/JykRSK2ciwvSKKFXY1mdZ7G8KuENARd0eRGXNu//GYD/E/WeV+78NmbbH7CFvxJFQEGiCAaJ2TRmcJqDrk4GtEqThmJTSbbZGwgW5R4d21hIY0fQByPmu6US3kHvBP8GLM7gvzvuvEfGusVPOX4q4+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/jsonExample 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"
}
]
}