Download OpenAPI specification:Download
The request is sent to the corezoid process before the page is loaded. The corezoid process decides whether to display the requested page or to redirect the user to another page. Optionally, data for dynamic injection into the page body can be sent in the response.
timeout | number Default: 30 |
Array of objects The list of request results |
{- "timeout": 30,
- "ops": [
- {
- "conv_id": "{{CONV_ID}}",
- "company_id": "{{COMPANY_ID}}",
- "type": "create",
- "obj": "task",
- "data": {
- "body": {
- "page": "index",
- "context": {
- "actorId": "111",
- "rootActorId": "123",
- "appId": "124"
}, - "query": { }
}, - "path": "/get",
- "sessionData": {
- "userInfo": {
- "id": "12",
- "nick": "John Doe",
- "login": "john.doe@corezod.com"
}
}
}
}
]
}
{- "code": 200,
- "data": {
- "viewModel": {
- "key": "value"
}
}
}
The request is sent to the Corezoid process when a button is clicked or when interacting with a component which submitOnChange property is set to true. The request's body contains all information about the component that initiated the request and the values of all fields in the current form. The Corezoid process makes decisions regarding changes on the existing page, displaying notifications, or redirecting the user to another page.
timeout | number Default: 30 |
Array of objects The list of request results |
{- "timeout": 30,
- "ops": [
- {
- "conv_id": "{{CONV_ID}}",
- "company_id": "{{COMPANY_ID}}",
- "type": "create",
- "obj": "task",
- "data": {
- "body": {
- "page": "index",
- "query": { },
- "context": {
- "actorId": "111",
- "rootActorId": "123",
- "appId": "124"
}, - "formId": "logIn",
- "sectionId": "credentials",
- "buttonId": "submit",
- "data": {
- "login": "admin",
- "password": "qwerty"
}
}, - "path": "/send",
- "sessionData": {
- "userInfo": {
- "id": "12",
- "nick": "John Doe",
- "login": "john.doe@corezod.com"
}
}
}
}
]
}
{- "code": 200,
- "data": {
- "changes": [
- {
- "id": "componentId",
- "visibility": "hidden",
- "skipSubmitOnChange": false
}
]
}
}