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 whose submitOnChange property is set to true. The body of the request contains all information about the component that initiated the request and the values of all fields of the current form. The corezoid process makes decisions about the changes on the existing page, about 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"
}
]
}
}