API Explorer

v5.1.0 (545 APIs)

Anfitrión de la API: https://api.ttk.com.mk
Banco
Cuentas
Vistas
Contrapartes
Transacciones

Create User

Create User

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEndpointProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"url_pattern",
        "value":"http://localhost:8080/user/save"
    },
    {
        "key":"http_method",
        "value":"POST"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Respuesta Exitosa Típica:

								
									
{ "id":1, "first_name":"string", "last_name":"string", "age":1, "career":"string" }
Roles Requeridos:
  • CanCreateDynamicEndpoint_User469 - Please login to request this Role
Validaciones:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Posibles Errores:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Métodos de conector::
Version: OBPv4.0.0, function_name: by dynamicEndpoint_POST_save, operation_id: OBPv4.0.0-dynamicEndpoint_POST_save Tags: Example Title, Dynamic-Endpoint, Dynamic,

Delete User

Delete user by user ID

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEndpointProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"url_pattern",
        "value":"http://localhost:8080/user/delete/{userId}"
    },
    {
        "key":"http_method",
        "value":"DELETE"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Respuesta Exitosa Típica:

								
									
"the successful delete user by user ID"
Roles Requeridos:
  • CanDeleteDynamicEndpoint_User972 - Please login to request this Role
Validaciones:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Posibles Errores:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Métodos de conector::
Version: OBPv4.0.0, function_name: by dynamicEndpoint_DELETE_delete_USER_ID, operation_id: OBPv4.0.0-dynamicEndpoint_DELETE_delete_USER_ID Tags: Example Title, Dynamic-Endpoint, Dynamic,

Get User

Get reuested user by user ID

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEndpointProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"url_pattern",
        "value":"http://localhost:8080/user/getById/{userId}"
    },
    {
        "key":"http_method",
        "value":"GET"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Respuesta Exitosa Típica:

								
									
{ "id":1, "first_name":"string", "last_name":"string", "age":1, "career":"string" }
Roles Requeridos:
  • CanGetDynamicEndpoint_User202 - Please login to request this Role
Validaciones:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Posibles Errores:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Métodos de conector::
Version: OBPv4.0.0, function_name: by dynamicEndpoint_GET_getById_USER_ID, operation_id: OBPv4.0.0-dynamicEndpoint_GET_getById_USER_ID Tags: Example Title, Dynamic-Endpoint, Dynamic,

Get Users

Get list of users

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEndpointProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"url_pattern",
        "value":"http://localhost:8080/user/listUsers"
    },
    {
        "key":"http_method",
        "value":"GET"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Respuesta Exitosa Típica:

								
									
[{ "id":1, "first_name":"string", "last_name":"string", "age":1, "career":"string" }]
Roles Requeridos:
  • CanGetDynamicEndpoint_Users187 - Please login to request this Role
Validaciones:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Posibles Errores:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Métodos de conector::
Version: OBPv4.0.0, function_name: by dynamicEndpoint_GET_listUsers, operation_id: OBPv4.0.0-dynamicEndpoint_GET_listUsers Tags: Example Title, Dynamic-Endpoint, Dynamic,

Update User

Update User

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEndpointProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"url_pattern",
        "value":"http://localhost:8080/user/updateUser"
    },
    {
        "key":"http_method",
        "value":"PUT"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Respuesta Exitosa Típica:

								
									
{ "id":1, "first_name":"string", "last_name":"string", "age":1, "career":"string" }
Roles Requeridos:
  • CanUpdateDynamicEndpoint_User114 - Please login to request this Role
Validaciones:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Posibles Errores:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Métodos de conector::
Version: OBPv4.0.0, function_name: by dynamicEndpoint_PUT_updateUser, operation_id: OBPv4.0.0-dynamicEndpoint_PUT_updateUser Tags: Example Title, Dynamic-Endpoint, Dynamic,