Provides services to import and delete catalogs and videos.

Import Catalog

Imports the specified catalog.

POST JSON /import/catalog
Parameters
Name Description Example
filename
Required
Name of the file affected by the operation. catalog.pdf
forwarding
Required
Indicates whether the content should be shared with partners. false
password
Required
The user's password. ****************
targetLevel
Required
Defines the Handelsstufen for which the content should be visible. WHOLESALE
type
Required
Defines the content type. All possible types and the corresponding codes can be found at Dokumenttypen . flyer
user
Required
Username of the OXOMI user to use for the operation. john.doe
additionalLanguages Defines additional languages for which this content is available. This parameter could be provided multiple times, for each language one parameter-value-pair is necessary. All available languages and their abbreviations can be found at Sprachen . en
additionalSearchTerms Defines additional search terms for this document. This parameter could be provided multiple times, for each term one parameter-value-pair is necessary. Industrie Highlights 2023
brand Defines a brand for the content. BRAND_ID
category Defines a category for the content. The category must already exist in OXOMI categories. CATEGORY_ID
code Defines a code which can be used to specifically address the element. Industry_Highlights_23
countries Defines for which countries this content is available. The value is a country code. This parameter could be provided multiple times, for each country one parameter-value-pair is necessary. All available countries and their abbreviations can be found at Länder . de
description Defines a text that is used as a description of the content. This is a description text.
editorMail This email address gets notified when new comments are added in this document in your own portals. editor@scireum.de
fileHash Defines the MD5 hash of the content file. If provided, OXOMI checks whether the file is different from the one currently stored based on this value. d0765f518ff0cab426dbbd6d467c9967
id Defines the OXOMI ID of an already existing content whose metadata should be updated. The "id" is also presented as "entityId" in the server response after a successful operation. 1193
internalName Use this parameter to define the internal name. The parameter "publicName" defines the name visible to portals and integrations. Industry Highlights 01 2023
language Defines for which language this content is available. The value is a language code. If not specified, the default language of the tenant is used. All available languages and their abbreviations can be found at Sprachen . de
pageOffset If the page of the document, on which the page number "1" is printed, is on the third page of the document, the page offset is 2. 2
partnerRole Defines a partner role for the content. PARTNER_ROLE_ID
portalRole-* Defines the portal role via ID that should be assigned to the content in the specified portal (via ID). ABC123
printable Defines if the document has a print version available. true
publicName Defines the name that will be displayed for the content if there is no translation of the name into a certain language. Industry Highlights 2023
publicName-** Defines the name that will be displayed in OXOMI in a specific language for the content. The suffix "**" in the parameter stands for a language abbreviation that defines the target language. For example "publicName-de". All available languages and their abbreviations can be found at Sprachen . Industrie Highlights 2023
series Defines a series for the content. SERIES_ID
surcharge Defines additional information about the document. This is an additional description or hint for the document.
tags Defines tags that will be added to this content. This parameter could be provided multiple times, for each tag one parameter-value-pair is necessary. Exhibition_2023
updateInfo Defines whether the attached metadata should overwrite the existing one if the content already exists. If this parameter is not provided the existing metadata will not be overwritten. Possible values are: true/false. true
validDateFrom Defines a date from when the content is visible. Format: DD.MM.YYYY 01.01.2019
validDateUntil Defines a date until when the content is visible. Format: DD.MM.YYYY 31.12.2019
Responses
Description Example
200 Your changes have been saved. Triggered when the request successfully started a new import job.
Content-Type: application/json
        {
            "success": true,
            "error": false,
            "message": "Your changes have been saved.",
            "entityId": "1203",
            "jobId": "QU1CG7VKQU4VD796NLKT9L1TCS"
        }
200 Your changes have been saved. Triggered when an update took place, which requires updateInfo to be true.
Content-Type: application/json
        {
            "success": true,
            "error": false,
            "message": "Your changes have been saved.",
            "entityId": "1200"
        }
400 Missing parameter or malformed request
Content-Type: application/json
{
    "success": false,
    "error": true,
    "message": "The parameter {missingParameter} must be filled."
}
401 Authentication required but none provided
Content-Type: application/json
403 Invalid authentication or missing permission
Content-Type: application/json
404 Resource not found
Content-Type: application/json
405 Incorrect request method, e.g. GET instead of POST
Content-Type: application/json
500 Unexpected server-side error
Content-Type: application/json

Delete Catalog

Deletes the specified catalog.

GET JSON /import/catalog/delete
Parameters
Name Description Example
filename
Required
Name of the file affected by the operation. catalog.pdf
password
Required
The user's password. ****************
user
Required
Username of the OXOMI user to use for the operation. john.doe
deleteOld Determines if the content should be deleted (true) or archived (false). false
Responses
Description Example
200 Successful response
Content-Type: application/json
{
    "success": true,
    "error": false,
    "message": "The object was deleted successfully.",
    "entityId": "1191"
}
400 Missing parameter or malformed request
Content-Type: application/json
{
    "success": false,
    "error": true,
    "message": "The parameter {missingParameter} must be filled."
}
401 Authentication required but none provided
Content-Type: application/json
403 Invalid authentication or missing permission
Content-Type: application/json
404 Resource not found
Content-Type: application/json
405 Incorrect request method, e.g. GET instead of POST
Content-Type: application/json
500 Unexpected server-side error
Content-Type: application/json

Import Video

Imports the specified Video.

POST JSON /import/video
Parameters
Name Description Example
filename
Required
Name of the file affected by the operation. video.mp4
forwarding
Required
Indicates whether the content should be shared with partners. false
password
Required
The user's password. ****************
targetLevel
Required
Defines the Handelsstufen for which the content should be visible. WHOLESALE
type
Required
Defines the content type. All possible types and the corresponding codes can be found at Videotypen . usage
user
Required
Username of the OXOMI user to use for the operation. john.doe
additionalLanguages Defines additional languages for which this content is available. This parameter could be provided multiple times, for each language one parameter-value-pair is necessary. All available languages and their abbreviations can be found at Sprachen . en
brand Defines a brand for the content. BRAND_ID
category Defines a category for the content. The category must already exist in OXOMI categories. CATEGORY_ID
code Defines a code which can be used to specifically address the element. Tool_Usage_2023
countries Defines for which countries this content is available. The value is a country code. This parameter could be provided multiple times, for each country one parameter-value-pair is necessary. All available countries and their abbreviations can be found at Länder . de
description Defines a text that is used as a description of the content. This is a description text.
fileHash Defines the MD5 hash of the content file. If provided, OXOMI checks whether the file is different from the one currently stored based on this value. d0765f518ff0cab426dbbd6d467c9967
id Defines the OXOMI ID of an already existing content whose metadata should be updated. The "id" is also presented as "entityId" in the server response after a successful operation. 1193
internalName Use this parameter to define the internal name. The parameter "publicName" defines the name visible to portals and integrations. Tool Usage Demonstration 01 2023
language Defines for which language this content is available. The value is a language code. If not specified, the default language of the tenant is used. All available languages and their abbreviations can be found at Sprachen . de
partnerRole Defines a partner role for the content. PARTNER_ROLE_ID
publicName Defines the name that will be displayed for the content if there is no translation of the name into a certain language. Tool Usage Demonstration
publicName-** Defines the name that will be displayed in OXOMI in a specific language for the content. The suffix "**" in the parameter stands for a language abbreviation that defines the target language. For example "publicName-de". All available languages and their abbreviations can be found at Sprachen Demonstration der Werkzeugverwendung
series Defines a series for the content. SERIES_ID
tags Defines tags that will be added to this content. This parameter could be provided multiple times, for each tag one parameter-value-pair is necessary. Exhibition_2023
updateInfo Defines whether the attached metadata should overwrite the existing one if the content already exists. If this parameter is not provided the existing metadata will not be overwritten. Possible values are: true/false. true
validDateFrom Defines a date from when the content is visible. Format: DD.MM.YYYY 01.01.2019
validDateUntil Defines a date until when the content is visible. Format: DD.MM.YYYY 31.12.2019
Responses
Description Example
200 Your changes have been saved. Triggered when the request successfully started a new import job.
Content-Type: application/json
        {
            "success": true,
            "error": false,
            "message": "Your changes have been saved.",
            "entityId": "1203",
            "jobId": "QU1CG7VKQU4VD796NLKT9L1TCS"
        }
200 Your changes have been saved. Triggered when an update took place, which requires updateInfo to be true.
Content-Type: application/json
        {
            "success": true,
            "error": false,
            "message": "Your changes have been saved.",
            "entityId": "1200"
        }
400 Missing parameter or malformed request
Content-Type: application/json
{
    "success": false,
    "error": true,
    "message": "The parameter {missingParameter} must be filled."
}
401 Authentication required but none provided
Content-Type: application/json
403 Invalid authentication or missing permission
Content-Type: application/json
404 Resource not found
Content-Type: application/json
405 Incorrect request method, e.g. GET instead of POST
Content-Type: application/json
500 Unexpected server-side error
Content-Type: application/json

Delete Video

Deletes the specified Video.

GET JSON /import/video/delete
Parameters
Name Description Example
filename
Required
Name of the file affected by the operation. video.mp4
password
Required
The user's password. ****************
user
Required
Username of the OXOMI user to use for the operation. john.doe
deleteOld Determines if the content should be deleted (true) or archived (false). false
Responses
Description Example
200 Successful response
Content-Type: application/json
{
    "success": true,
    "error": false,
    "message": "The object was deleted successfully.",
    "entityId": "1191"
}
400 Missing parameter or malformed request
Content-Type: application/json
{
    "success": false,
    "error": true,
    "message": "The parameter {missingParameter} must be filled."
}
401 Authentication required but none provided
Content-Type: application/json
403 Invalid authentication or missing permission
Content-Type: application/json
404 Resource not found
Content-Type: application/json
405 Incorrect request method, e.g. GET instead of POST
Content-Type: application/json
500 Unexpected server-side error
Content-Type: application/json