Transformations
Data transformation rules
All endpoints require a bearer token (oh_... API key or user JWT) and are served under https://api.orderly-hub.com. Use the Try it consoles to run a request against the Preview (test) server.
List transformations
GET
/api/v1/transformationsResponses
200 Transformation list
GET
/api/v1/transformationsList transformations
https://api-test.orderly-hub.com/api/v1/transformationsCreate a transformation
POST
/api/v1/transformationsRequest body
| Field | Type | Description |
|---|---|---|
name | string | |
bridgeId | string | |
taskName | string | |
direction | inbound | outbound | |
mappings | array | |
isActive | boolean |
{
"name": "Jane Doe",
"bridgeId": "550e8400-e29b-41d4-a716-446655440000",
"taskName": "string",
"direction": "inbound",
"mappings": [
{}
],
"isActive": true
}
Responses
201 Transformation created
POST
/api/v1/transformationsCreate a transformation
https://api-test.orderly-hub.com/api/v1/transformationsTest an unsaved transformation
POST
/api/v1/transformations/testRequest body
| Field | Type | Description |
|---|---|---|
mappings | array | |
sampleData | object |
{
"mappings": [
{}
],
"sampleData": {}
}
Responses
200 Transformation test result
POST
/api/v1/transformations/testTest an unsaved transformation
https://api-test.orderly-hub.com/api/v1/transformations/testGet transformation details
GET
/api/v1/transformations/{id}Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string |
Responses
200 Transformation details
GET
/api/v1/transformations/{id}Get transformation details
https://api-test.orderly-hub.com/api/v1/transformations/Update a transformation
PATCH
/api/v1/transformations/{id}Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string |
Request body
{}
Responses
200 Transformation updated
PATCH
/api/v1/transformations/{id}Update a transformation
https://api-test.orderly-hub.com/api/v1/transformations/Delete a transformation
DELETE
/api/v1/transformations/{id}Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string |
Responses
200 Transformation deleted
DELETE
/api/v1/transformations/{id}Delete a transformation
https://api-test.orderly-hub.com/api/v1/transformations/Test a saved transformation with sample data
POST
/api/v1/transformations/{id}/testParameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string |
Request body
| Field | Type | Description |
|---|---|---|
sampleData | object |
{
"sampleData": {}
}
Responses
200 Transformation test result
POST
/api/v1/transformations/{id}/testTest a saved transformation with sample data
https://api-test.orderly-hub.com/api/v1/transformations//test