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":"6c7a1f9d-3ac2-4b0d-8a24-47fb32dfe831", "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":"ba118f88-ab23-468d-a0e1-7ef460a16cb9", "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":"5ef85d53-543e-44c8-a512-62f135fc480f", "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":"b29ece91-653f-4231-8f64-f50a0030f552", "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":"c66c6b60-326d-41f6-802d-e1fdb1fa4ea5", "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,