blockedCertificatesResult

Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

BlockedCerticates is a container for a list of BlockedCerticate returned by a list blocked certificate call. It contains the list of requested BlockedCerticates and a flag signaling whether the limit for the maximum number of returned entities has been reached. If limitExceeded is set, the client is requested to paginate through the result by moving the offset forward and issue a new request to get more data.

Example to get all devices:

String apiPath = "blockedCerticates.xml";
WebResource apisWeb = client.resource(API_URL).path(apiPath);

BlockedCerticatesResult result;
int offset = 0;
do {
// if the "limit" queryParam is not initialized, limit default value = 50
// if the "offset" queryParam is not initialized, offset default value = 0
apisWeb = apisWeb.queryParam("limit", "" + limit);
if (offset > 0)
apisWeb = apisWeb.queryParam("offset", "" + offset);
result = apisWeb.get(BlockedCerticatesResult.class);
offset += limit;
} while (result.isLimitExceeded()):

XML

Elements

name (type) min/max
occurs
description
limitExceeded (boolean) 1/1
blockedCertificate (blockedCertificate) 0/unbounded

JSON

property type description
limitExceeded limitExceeded (boolean)
blockedCertificate array of blockedCertificate (blockedCertificate)