-
Notifications
You must be signed in to change notification settings - Fork 2
CreateSystem
Diego Ramos edited this page Apr 27, 2023
·
1 revision
Gets events paginated, first you will need to create a client
Base Url : http://your-app-base-url.com
Endpoint : /system
Method : POST
Auth required : Yes
header key | header value | description |
---|---|---|
Authorization | BEARER jwtToken | access_token generated using /token
|
Permissions required : Access string 'system:select'
type: body
{
"identifier": "system_identifier",
"name": "system name",
"type": "SASS",
"clientId": 1,
"description": "Some system"
}
Request Fields Description
key | value | description |
---|---|---|
itemsPerPage | 5 | events per page |
pageIndex | 0 | pagination page index |
order | desc | pagination order |
{
"code": 200000,
"message": "Select completed",
"content": { "systemId": 1 }
}
Response Fields Description
key | value | description |
---|---|---|
code | 200000 | result code |
message | Select completed | result message |
content | { "systemId": 1 } | the id of the added system |
Response codes
- If response is success, http status will be 200 and code in body will be 200000
code | description |
---|---|
500000 | Not categorized error |
400024 | The client does not exist. |
200000 | event list selected |
- Get token with client credential grant
- More oauth2 enpoints here
- get all events
- GET /event
- create events
- POST /event
- update events
- PUT /event
- delete event
- DELETE /event
- get all received events
- get details of received event
- GET /event/received/:id
- get details of executed contracts
- GET /received/execution-detail/:id
- create system