GET api/customers/{customerId}/messages/count?state={state}

Get the number of messages which have been sent to a customer (for all his meters).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer ID

string

Required

state

Message state (All = -1, Unread = 1, Read = 2)

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1