Create a setup offering CSV import
post
/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports
Create a setup offering CSV import
Request
There are no request parameters for this operation.
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Nested Schema : setupOfferingCSVImports-item
Type:
Show Source
object-
FunctionalAreaCode: string
Title:
Functional Area CodeThe unique code of the setup functional area. This attribute is required when importing setup data for a functional area. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the import process is complete. This attribute does not have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Offering Setup Data Although Revisions MismatchIndicates an option to proceed with the import even if the revision of the imported offering 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.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request-allOf[1]
Type:
Show Source
objectNested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the 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. -
ProcessName: string
Title:
Process NameName of the 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 offering or functional area included in the 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 import process. -
StatusCode: string
Title:
Status CodeThe status of the import process. The valid values are NOT_STARTED, IN_PROGRESS, COMPLETED, COMPLETED_WARNINGS, and COMPLETED_ERRORS.
Nested Schema : setupOfferingCSVImports-item
Type:
Show Source
object-
FunctionalAreaCode: string
Title:
Functional Area CodeThe unique code of the setup functional area. This attribute is required when importing setup data for a functional area. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the import process is complete. This attribute does not have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Offering Setup Data Although Revisions MismatchIndicates an option to proceed with the import even if the revision of the imported offering 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.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request-allOf[1]
Type:
Show Source
objectNested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the 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. -
ProcessName: string
Title:
Process NameName of the 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 offering or functional area included in the 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 import process. -
StatusCode: string
Title:
Status CodeThe status of the 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 : setupOfferingCSVImports-item
Type:
Show Source
object-
FunctionalAreaCode: string
Title:
Functional Area CodeThe unique code of the setup functional area. This attribute is required when importing setup data for a functional area. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
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 : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-response
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files. -
OfferingCode: string
Title:
Offering CodeThe unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area. -
ProcessCompletedFlag: string
Title:
Process CompleteIndicates whether the import process is complete. This attribute does not have a default value. -
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the import process. -
SourceTargetDiffOkFlag: string
Title:
Option to Import Offering Setup Data Although Revisions MismatchIndicates an option to proceed with the import even if the revision of the imported offering 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.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-response-allOf[2]
Type:
Show Source
objectNested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item-response
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type:
Show Source
object-
ProcessId: integer
(int32)
Title:
Process IDThe unique identifier of the 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. -
ProcessName: string
Title:
Process NameName of the 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 offering or functional area included in the 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 import process. -
StatusCode: string
Title:
Status CodeThe status of the 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 offering 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/setupOfferingCSVImports
Example of Request Body
The following example shows the contents of the request body in JSON format:
Note:
The value of FileContent is in BASE64 encoded zip format.{
"OfferingCode" : "XLE_FINANCIALS_JUR",
"FunctionalAreaCode" : "ORA_ASK_ORGANIZATION_STRUCTURE",
"SetupOfferingCSVImportProcess" : [{ "OfferingCode" : "XLE_FINANCIALS_JUR",
"SourceTargetDiffOkFlag" : "N",
"FileContent": "UEsDBBQACAgIAFqhi00AAAAAAAAAAAAAAAAUAAAATEVfMTIxNDQxNjcxMzY1NS5jc3ZVzkEOwiAQBdC9x2DtKaSNm0YT0QNMYGgmsQOBsQmeXqq06gp48z8ZZVB0cKj26pxGYHqCUOBGF/SYkC0eU3jEE0wLtkMnBEF3KOu91roq9dmhYJqIgeVa4iIDZLlFV8ct8oUhjMR/8vnTlNx7j1ZoXkv6DjmTJ/u74xYyAklacsOe3Zt2L1BLBwgN+fnbhgAAAOkAAABQSwMEFAAICAgAWqGLTQAAAAAAAAAAAAAAABwAAABGVU5fQlVfU0VSVklDRV9QUk9WSURFUlMuY3N27L1Zl9w2si76fn9FLq39cO/aLgrzkC/3cOzWblmqrZLcp/vFKy2l7TotVblLJfd2//oDgEMxB5IAySTIzFott5RgAJn8AggEAjG8iD/fbu8eo29vNl+2L757kX98+/DL5u7235vH2/u7+P6TfnD9cP/77aftQ0VZNhyh/fDb18eH7eZL9u3uo25+9Uk1Jvf/ujvSHN79UY70Nfu8+UU3qae/b4sPserxuP0U/VH+W3VMVIv6+Hrz9fHDb5+qx0+fDwhe3/9ye6dabv74mv7889Z8QUGUv3H8efP16+3Ptx/r75E/qjrcPG4eHnd6VY/Su0/Fg/Jljg5YPjw65MHDctD/58UPt1/VIKub7cPvtx+3X1fv/jNRHY60/sd//P//8R9Jeh2+e/99+uY9PE5l3RcioP8f6v9/o/77m/ov+3Dz6q3+gAAkLwF/CdAK0jUmayQCyihH1JoK5ATiJUQvITTd3vwYqa5v0pubHz+8efVef70UqjtUf9QHwjUpeoldqT2C6I6h+p811UVgiPVbEhcICUHWVBcBIczf0gFCbAUhnh5CJSl/edh+/boKP325vbtVu4oRsrkMPfbEwBHHsJnCqu+RlRxeX//46vvr1z/Gb9/cfHj9PnzzvoJK/XS8AnBN+ZqIAJrVaklPaSAMjGmSwTgWKQIMoYywFBCMOAIZ1RSQU5TTEFUSU9OLmNzdlBLAQIUABQACAgIAFqhi01cQIrlZxcAAPT2AAAhAAAAAAAAAAAAAAAAACeIAQBPUkFfSU5WX09SR19QQVJFTlRfRk9SX0lOVk9SRy5jc3ZQSwECFAAUAAgICABaoYtN27LD73dcAAAGvgYAHgAAAAAAAAAAAAAAAADdnwEASU5WX09SR0FOSVpBVElPTl9QQVJBTUVURVIuY3N2UEsBAhQAFAAICAgAWqGLTeEXQUC4EgAA0owBACUAAAAAAAAAAAAAAAAAoPwBAE9SQV9JTlZfSVRFTV9PUkdfQ0hJTERfRk9SX0lOVk9SRy5jc3ZQSwECFAAUAAgICABaoYtNrbMidnoEAADqIAAAJgAAAAAAAAAAAAAAAACrDwIAT1JBX0lOVl9JVEVNX09SR19QQVJFTlRfRk9SX0lOVk9SRy5jc3ZQSwECFAAUAAgICABaoYtN8I2TmY8MAADJfQAAGgAAAAAAAAAAAAAAAAB5FAIAQVNNX1NFVFVQX0NTVl9NRVRBREFUQS54bWxQSwUGAAAAABUAFQAcBgAAUCECAA=="}]
}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
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
"OfferingCode": "XLE_FINANCIALS_JUR",
"FunctionalAreaCode": "ORA_ASK_ORGANIZATION_STRUCTURE",
"SetupOfferingCSVImportProcess": [
{
"ProcessId": 300100068274939,
"OfferingCode": "XLE_FINANCIALS_JUR",
"ProcessCompletedFlag": null,
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR/child/SetupOfferingCSVImportProcess/300100068274939",
"name": "SetupOfferingCSVImportProcess",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR/child/SetupOfferingCSVImportProcess/300100068274939",
"name": "SetupOfferingCSVImportProcess",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR",
"name": "setupOfferingCSVImports",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR/child/SetupOfferingCSVImportProcess/300100068274939/child/SetupOfferingCSVImportProcessResult",
"name": "SetupOfferingCSVImportProcessResult",
"kind": "collection"
},
{
"rel": "enclosure",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR/child/SetupOfferingCSVImportProcess/300100068274939/enclosure/FileContent",
"name": "FileContent",
"kind": "other"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR",
"name": "setupOfferingCSVImports",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR",
"name": "setupOfferingCSVImports",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/setupOfferingCSVImports/XLE_FINANCIALS_JUR/child/SetupOfferingCSVImportProcess",
"name": "SetupOfferingCSVImportProcess",
"kind": "collection"
}
]
}