dispatches
Adds a dispatch configuration
Necessary flows are automatically created.
post/dispatches
Request body
Example request
[
{
"applicationName": "SnazzyContacts",
"applicationUid": "32bsf84hzsf8a",
"adapterComponentId": "46u08ejsf",
"transformerComponentId": "twg9huh46",
"secretId": "548z9jvsda",
"outbound": {
"active": true,
"flows": [
{
"adapterAction": "getPersons",
"transformerAction": "transformToOih",
"schemaUri": "http://metadata.openintegrationhub.com/api/v1/domains/testDomainId/schemas/person"
}
]
},
"inbound": {
"active": true,
"flows": [
{
"adapterAction": "createPerson",
"transformerAction": "transformFromOih",
"schemaUri": "http://metadata.openintegrationhub.com/api/v1/domains/testDomainId/schemas/person",
"operation": "CREATE"
}
]
}
}
]Response
The created configuration.
Example response
{
"data": {
"id": "adgeth2huo31r59",
"tenant": "aeg0ihq3w328",
"applications": [
{
"applicationName": "SnazzyContacts",
"applicationUid": "32bsf84hzsf8a",
"adapterComponentId": "46u08ejsf",
"transformerComponentId": "twg9huh46",
"secretId": "548z9jvsda",
"outbound": {
"active": true,
"flows": [
{
"adapterAction": "getPersons",
"transformerAction": "transformToOih",
"schemaUri": "http://metadata.openintegrationhub.com/api/v1/domains/testDomainId/schemas/person"
}
]
},
"inbound": {
"active": true,
"flows": [
{
"adapterAction": "createPerson",
"transformerAction": "transformFromOih",
"schemaUri": "http://metadata.openintegrationhub.com/api/v1/domains/testDomainId/schemas/person",
"operation": "CREATE"
}
]
}
}
]
}
}Changes
Changed in 2 of the 6 revisions of this API.11
- ▲
the request's body type changed from no type to
arrayrequest-body-type-changed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○