Export / Import
Exports custom entities with corresponding schemas.
- : Required for managing schemas.
Your Emporix tenant name.
Note: Always write the tenant name in lowercase.
^[a-z][a-z0-9]+$The request was successful.
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
POST /schema/{tenant}/custom-entities/export HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 39
[
"CUSTOM_PRODUCT",
"MANUFACTURER",
"CAR"
]{
"code": 400,
"status": "Bad Request",
"message": "Language header validation failed.",
"details": [
{
"message": "Following languages are not supported: 'ru'"
}
]
}Imports custom entities with corresponding schemas.
Note: If given Custom Entity Type or Schema already exists then it will be created with _COPY suffix. For example, CUSTOM_PRODUCT will be created as CUSTOM_PRODUCT_COPY.
- : Required for managing schemas.
Your Emporix tenant name.
Note: Always write the tenant name in lowercase.
^[a-z][a-z0-9]+$Base64 representation of custom entities with corresponding schemas.
No content
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
POST /schema/{tenant}/custom-entities/import HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"data": "MQUlOVF9BR0VOVF9DT05URVhUIl19XX1dfQ=="
}{
"code": 400,
"status": "Bad Request",
"message": "Language header validation failed.",
"details": [
{
"message": "Following languages are not supported: 'ru'"
}
]
}Last updated
Was this helpful?

