Count number of messages
Last updated
Was this helpful?
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.
GET https://connect.lhv.com/messages/count
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-Code
JSon with count of messages as Integer.
Headers
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
OK
Error code and description
Last updated
Was this helpful?
Was this helpful?
{
"count": 10
}<Errors>
<Error>
<ErrorCode>FORBIDDEN</ErrorCode>
<Description>User doesn't exist</Description>
</Error>
</Errors>