Count number of messages

Service description

Use this service to get the number of pending messages. The same header values are accepted as for Get next message - including Filter-Response-Type and Service Provider options.

Request

GET https://connect.lhv.com/messages/count

Headers

NameValueDescription

Client-Code

customer value

For Service Providers only. Company registration code of the Service Provider or its customer. When using the Service Provider own value also related customers messages are returned by default - see also Filter-Service-Provider for more options.

Client-Country

customer value

For Service Providers only. Should match the value of Client-CodeA

Body

JSon with count of messages as Integer.

Response

Headers

NameValueDescription

Content-Type

application/json

Format of the message body

X-Bank-Code

LHVUK, LHVEE

LHV Bank entity

Client-Code

customer value

When using service provider model - customer entity related to the message

Client-Country

customer value

When using service provider model - customer entity related to the message

Body

OK

{
  "count": 10
}

Last updated