API Explorer

v4.0.0 (490 APIs)

Bank
Accounts
Views
Counterparties
Transactions

Create new Insurance Policy

Create new Insurance Policy.

Which insurance policies the customer already has.

Property List:

  • name: description of name field, can be markdown text.
  • number: description of number field, can be markdown text.

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"InsurancePolicy"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Typical Successful Response:

								
									
{ "bank-id":"gh.29.uk", "insurance_policy":{ "insurancePolicyId":"5fdc69ba-b45d-457b-9298-ebbdf27c9758", "name":"James Brown", "number":698761728 } }
Required Roles:
  • CanCreateDynamicEntity_InsurancePolicy - Please login to request this Role
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-10001: Incorrect json format.
  • OBP-50000: Unknown Error.
Connector Methods:
Version: OBPv4.0.0, function_name: by dynamicEntity_createInsurancePolicy, operation_id: OBPv4.0.0-dynamicEntity_createInsurancePolicy Tags: _InsurancePolicy, New-Style, Dynamic-Entity, Dynamic,

Delete Insurance Policy by id

Delete Insurance Policy by id

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"InsurancePolicy"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Typical Successful Response:

								
									
{ "bank-id":"gh.29.uk", "insurance_policy":{ "insurancePolicyId":"c771a7f7-32dc-4ae6-8a57-d7fb41d58068", "name":"James Brown", "number":698761728 } }
Required Roles:
  • CanDeleteDynamicEntity_InsurancePolicy - Please login to request this Role
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-10001: Incorrect json format.
  • OBP-50000: Unknown Error.
Connector Methods:
Version: OBPv4.0.0, function_name: by dynamicEntity_deleteInsurancePolicy, operation_id: OBPv4.0.0-dynamicEntity_deleteInsurancePolicy Tags: _InsurancePolicy, New-Style, Dynamic-Entity, Dynamic,

Get Insurance Policy List

Get Insurance Policy List.

Which insurance policies the customer already has.

Property List:

  • name: description of name field, can be markdown text.
  • number: description of number field, can be markdown text.

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"InsurancePolicy"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Can do filter on the fields
e.g: /InsurancePolicy?name=James%20Brown&number=123.456&number=11.11
Will do filter by this rule: name == "James Brown" && (number==123.456 || number=11.11)

Typical Successful Response:

								
									
{ "bank-id":"gh.29.uk", "insurance_policy_list":[{ "bank-id":"gh.29.uk", "insurance_policy":{ "insurancePolicyId":"06ab011b-0d32-4a25-a1d3-afa21d4d7abc", "name":"James Brown", "number":698761728 } }] }
Required Roles:
  • CanGetDynamicEntity_InsurancePolicy - Please login to request this Role
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Connector Methods:
Version: OBPv4.0.0, function_name: by dynamicEntity_getInsurancePolicyList, operation_id: OBPv4.0.0-dynamicEntity_getInsurancePolicyList Tags: _InsurancePolicy, New-Style, Dynamic-Entity, Dynamic,

Get Insurance Policy by id

Get Insurance Policy by id.

Which insurance policies the customer already has.

Property List:

  • name: description of name field, can be markdown text.
  • number: description of number field, can be markdown text.

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"InsurancePolicy"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Typical Successful Response:

								
									
{ "bank-id":"gh.29.uk", "insurance_policy":{ "insurancePolicyId":"fe816ed4-b994-4deb-814e-826405d41a20", "name":"James Brown", "number":698761728 } }
Required Roles:
  • CanGetDynamicEntity_InsurancePolicy - Please login to request this Role
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-50000: Unknown Error.
Connector Methods:
Version: OBPv4.0.0, function_name: by dynamicEntity_getSingleInsurancePolicy, operation_id: OBPv4.0.0-dynamicEntity_getSingleInsurancePolicy Tags: _InsurancePolicy, New-Style, Dynamic-Entity, Dynamic,

Update Insurance Policy

Update Insurance Policy.

Which insurance policies the customer already has.

Property List:

  • name: description of name field, can be markdown text.
  • number: description of number field, can be markdown text.

MethodRouting settings example:

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"InsurancePolicy"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

Authentication is Mandatory

Typical Successful Response:

								
									
{ "bank-id":"gh.29.uk", "insurance_policy":{ "insurancePolicyId":"f30380e2-604a-4599-a2aa-1a7749dcf45e", "name":"James Brown", "number":698761728 } }
Required Roles:
  • CanUpdateDynamicEntity_InsurancePolicy - Please login to request this Role
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-20006: User is missing one or more roles:
  • OBP-10001: Incorrect json format.
  • OBP-50000: Unknown Error.
Connector Methods:
Version: OBPv4.0.0, function_name: by dynamicEntity_updateInsurancePolicy, operation_id: OBPv4.0.0-dynamicEntity_updateInsurancePolicy Tags: _InsurancePolicy, New-Style, Dynamic-Entity, Dynamic,