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
Request Body - application/json ()
Root Schema : schema
Match All
Show Source
Nested Schema : setupOfferingCSVImports-item
Type: object
Show Source
  • Title: Functional Area Code
    The unique code of the setup functional area. This attribute is required when importing setup data for a functional area.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
Nested Schema : type
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcess
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
  • Title: Process Complete
    Indicates whether the import process is complete. This attribute does not have a default value.
  • Title: Process ID
    The unique identifier of the import process.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request-allOf[1]
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the 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.
  • Title: Process Name
    Name of the 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 offering or functional area included in the 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 import process.
  • Title: Status Code
    The status of the 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 : setupOfferingCSVImports-item
Type: object
Show Source
  • Title: Functional Area Code
    The unique code of the setup functional area. This attribute is required when importing setup data for a functional area.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
Nested Schema : type
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcess
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
  • Title: Process Complete
    Indicates whether the import process is complete. This attribute does not have a default value.
  • Title: Process ID
    The unique identifier of the import process.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-request-allOf[1]
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the 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.
  • Title: Process Name
    Name of the 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 offering or functional area included in the 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 import process.
  • Title: Status Code
    The status of the 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 : setupOfferingCSVImports-item-response
Match All
Show Source
Nested Schema : ItemProperties
Type: object
Show Source
Nested Schema : setupOfferingCSVImports-item
Type: object
Show Source
  • Title: Functional Area Code
    The unique code of the setup functional area. This attribute is required when importing setup data for a functional area.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
Nested Schema : setupOfferingCSVImports-item-response-allOf[2]
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcess
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-response
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-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 packaged file containing the setup offering CSV files.
  • Title: Offering Code
    The unique code of the setup offering. This attribute is required when importing setup data for an offering or a functional area.
  • Title: Process Complete
    Indicates whether the import process is complete. This attribute does not have a default value.
  • Title: Process ID
    The unique identifier of the import process.
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-item-response-allOf[2]
Type: object
Show Source
Nested Schema : SetupOfferingCSVImportProcessResult
Type: array
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item-response
Match All
Show Source
Nested Schema : setupOfferingCSVImports-SetupOfferingCSVImportProcess-SetupOfferingCSVImportProcessResult-item
Type: object
Show Source
  • Title: Process ID
    The unique identifier of the 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.
  • Title: Process Name
    Name of the 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 offering or functional area included in the 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 import process.
  • Title: Status Code
    The status of the 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 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",
                                        "FileContent": "UEsDBBQACAgIAFqhi00AAAAAAAAAAAAAAAAUAAAATEVfMTIxNDQxNjcxMzY1NS5jc3ZVzkEOwiAQBdC9x2DtKaSNm0YT0QNMYGgmsQOBsQmeXqq06gp48z8ZZVB0cKj26pxGYHqCUOBGF/SYkC0eU3jEE0wLtkMnBEF3KOu91roq9dmhYJqIgeVa4iIDZLlFV8ct8oUhjMR/8vnTlNx7j1ZoXkv6DjmTJ/u74xYyAklacsOe3Zt2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hJTERfRk9SX0lOVk9SRy5jc3ZQSwECFAAUAAgICABaoYtNrbMidnoEAADqIAAAJgAAAAAAAAAAAAAAAACrDwIAT1JBX0lOVl9JVEVNX09SR19QQVJFTlRfRk9SX0lOVk9SRy5jc3ZQSwECFAAUAAgICABaoYtN8I2TmY8MAADJfQAAGgAAAAAAAAAAAAAAAAB5FAIAQVNNX1NFVFVQX0NTVl9NRVRBREFUQS54bWxQSwUGAAAAABUAFQAcBgAAUCECAA=="}]
}

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"
        }
    ]
}
Back to Top