nihsny vihsn 1418 updatte
api auth
External System Integration
BzCtrl provides a native API ecosystem allowing external operational systems to create Incidents and Tasks seamlessly. This guarantees that issues and required actions are flagged automatically right within internal workflows, ensuring seamless lifecycle tracking and audit readiness directly inside BzCtrl.
Integration Lifecycle Architecture
UI/UX Configuration & Business Requirements
| Context Scope | Payload Key | Value / Format | Functional Rules & Integration Comments |
|---|---|---|---|
| INCIDENT, TASK | todoType* | INCIDENT | System type flag. Consumers may toggle manually to TASK or leave fixed as an explicit constant. |
| INCIDENT, TASK | domain* | IMP-NLD-EXA-SWA | The overarching functional domain route assigned to the integrated customer client portfolio. |
| INCIDENT, TASK | workspace* | SWA | Target workspace configuration context mapped securely underneath the organizational master domain profile. |
| INCIDENT, TASK | title* | Free text input | Explicit user-facing text field. Defines the summary header of the target issue or event item. |
| INCIDENT, TASK | description* | Free text input | Rich operational notes detailing context logs. Allows external users to offer clear scope narratives. |
| TASK | result | Free text input | Optional. Capture resolution details or expected metric outcomes when running actions explicitly. |
| INCIDENT | financialImpact | Numeric format | Evaluated in EUR (€) currency. Raw integer values are automatically mapped inside the dashboard. |
| INCIDENT | impact | High, Medium, Low | Optional. Dropdown matrix mapping determining risk classifications inside the enterprise architecture. |
| INCIDENT | likelihood | High, Medium, Low | Optional. Probability index calculation variable used to define priority sort orders. |
| INCIDENT, TASK | status* | In Progress | Defaults to In Progress. If marked as Done, due date triggers match runtime transactions automatically. |
| INCIDENT, TASK | priority | High, Medium, Low | Optional. Escalation index classification used by teams to structure internal workflows. |
| INCIDENT, TASK | assignee* | user@example.com | Target action worker identity address. Usually identical to the reporting manager account parameters. |
| INCIDENT, TASK | reporter* | user@example.com | Active communication email address of the authenticated authoring agent who opened the file. |
| INCIDENT, TASK | orderID* | ServiceOrder # | Mapped directly into BzCtrl metadata engines as an searchable Index Tag attribute flag. |
| INCIDENT, TASK | LRN | LRN String | Optional. If accessible, provides secondary lookup search capabilities in internal trace tables. |
| INCIDENT, TASK | reminderDate | YYYY-MM-DD | Optional. Sets a date for a tracking alert event or task push notification trigger. |
incidence
Add Task API Documentation
After receiving the access token from the OAuth API, use the Add Task API to create a new Task or Incident.
ACC Endpoint
https://acc.bzctrl.com/bzctrl-core-api/api/v1/task/add-task
Production Endpoint
https://www.bzctrl.com/bzctrl-core-api/api/v1/task/add-task
Request Method
POST
Required Headers
Content-Type: application/json
Authorization: Bearer {access_token}
Sample Request Body
{
"todoType":"TASK",
"domainWorkSpace":"VTT-NLD-TML-FIN",
"title":"title",
"description":"description",
"result":"result",
"financialImpact":"123",
"impact":"HIGH",
"likelihood":"MEDIUM",
"status":"TODO",
"priority":"HIGH",
"assignee":"rge@vtti.com",
"reporter":"user@vtti.com",
"category":["Customs","Fetsa"],
"subCategory":["high"],
"lrn":"test",
"orderID":"tag",
"reminderDate":"2024-09-27"
}
Field Reference
domainWorkSpace - Workspace value from URL (Example: VTT-BEL-ATP)
todoType - TASK, INCIDENT (must be uppercase)
status - TODO, INPROGRESS, DONE
priority - LOW, MEDIUM, HIGH
impact - LOW, MEDIUM, HIGH
likelihood - LOW, MEDIUM, HIGH
assignee - Valid email address (Example: rge@vtti.com)
reporter - Valid email address (Example: user@vtti.com)
reminderDate - Format YYYY-MM-DD
Allowed Values
todoType: TASK, INCIDENT
status: TODO, INPROGRESS, DONE
priority: LOW, MEDIUM, HIGH
impact: LOW, MEDIUM, HIGH
likelihood: LOW, MEDIUM, HIGH
Sample Response
{
"title":"Potential Customs claim",
"taskType":"INCIDENT",
"description":"Operation started without proper approvals",
"taskLink":"https://www.bzctrl.com/app/#/todo/IMP-NLD-EXA-SWA-03",
"tags":["SO 777"]
}
Note: The access token received from the OAuth Token API must be included in the Authorization header using the Bearer scheme.