Aptic API Gateway - Guarantees (v1.0)

Download OpenAPI specification:Download

Guarantee related API for Aptic solutions

Guarantees

Get guarantees

Authorizations:
(oauth2apikey)
query Parameters
$filter
string

Filter conditions specified in a simplified OData format

$skip
integer <int32>

List offset when paginating (default 0)

$top
integer <int32>

Maximum size of result (default 25, max 100)

$orderby
string

Sorting conditions E.g. "fullname desc"

Responses

Response samples

Content type
{
  • "count": 0,
  • "skip": 0,
  • "total": 0,
  • "value": [
    ]
}

Get specific guarantee

Authorizations:
(oauth2apikey)
path Parameters
guaranteeGuid
required
string

Guarantee guid

Responses

Response samples

Content type
{
  • "guaranteeGuid": "string",
  • "pledgeType": 0,
  • "referenceNumber": "string",
  • "guaranteeDate": "2019-08-24T14:15:22Z",
  • "originalGuaranteeAmount": 0,
  • "guaranteeAmount": 0,
  • "description": "string",
  • "note": "string",
  • "insurer": "string",
  • "insuranceNumber": "string",
  • "insuredAmount": 0,
  • "insuranceExpiryDate": "2019-08-24T14:15:22Z",
  • "guaranteeType": 0,
  • "guarantors": [
    ],
  • "links": [
    ]
}

Updates a guarantee

Authorizations:
(oauth2apikey)
path Parameters
guaranteeGuid
required
string

Guarantee guid

Request Body schema:

Guarantee information

referenceNumber
string or null

Reference or identification number for pledge

guaranteeDate
string or null <date-time>

Guarantee date

guaranteeAmount
number or null <double>

Guarantee amount

description
string or null

Description of the pledge

note
string or null

Notes for this pledge

insurer
string or null

Insurer for this pledge

insuranceNumber
string or null

Insurance number for this pledge

insuredAmount
number or null <double>

Insured amount for this pledge

insuranceExpiryDate
string or null <date-time>

Expiry date of the insurance for this pledge

guaranteeType
integer or null <int32>

Guarantee type

1 = Absolute guaranty

2 = Sec.obligation

validUntil
string or null <date-time>

Full guarantee valid until

Responses

Request samples

Content type
{
  • "referenceNumber": "string",
  • "guaranteeDate": "2019-08-24T14:15:22Z",
  • "guaranteeAmount": 0,
  • "description": "string",
  • "note": "string",
  • "insurer": "string",
  • "insuranceNumber": "string",
  • "insuredAmount": 0,
  • "insuranceExpiryDate": "2019-08-24T14:15:22Z",
  • "guaranteeType": 0,
  • "validUntil": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}

Deletes a guarantee

Authorizations:
(oauth2apikey)
path Parameters
guaranteeGuid
required
string

Guarantee guid

Responses

Response samples

Content type
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}

Invokes a custom action based on a service definition.

Execute custom service definition in CLVR with possibility to pass in JSON into definition.

Authorizations:
(oauth2apikey)
path Parameters
guid
required
string

Guarantee guid

serviceDefinition
required
string

The invoke service definition request.

query Parameters
async
boolean

Specify if custom action should be performed asynchronously

Request Body schema:

JSON body

any

Responses

Request samples

Content type
{
  • "name1": "string",
  • "name2": false,
  • "name3": {
    }
}

Response samples

Content type
{ }

Invokes a custom action based on a service definition.

Execute custom service definition in CLVR with possibility to pass in JSON into definition.

Authorizations:
(oauth2apikey)
path Parameters
serviceDefinition
required
string

The invoke service definition request.

query Parameters
async
boolean

Specify if custom action should be performed asynchronously

Request Body schema:

JSON body

any

Responses

Request samples

Content type
{
  • "name1": "string",
  • "name2": false,
  • "name3": {
    }
}

Response samples

Content type
{ }

Make a ping request to see that the service is up and running.

This operation enables to check if service is available. The service will return code 200 and an empty json object.

Authorizations:
(oauth2apikey)

Responses

Response samples

Content type
{ }