Retrieve Successfully Registered Entries

get

/iot/api/v2/registrations/{registration-id}/successEntries

This API allows the client to get the a list of entries that were successfully registered.

Request

Path Parameters
Back to Top

Response

Supported Media Types
Back to Top

Examples

The following example shows how to view a list of successful entries during a specific batch registration request by submitting a GET request on the REST resource using cURL. Note that in the request, iotserver will be replaced by the name and port of your assigned IoT cloud server. The format of the Cloud Service instance is, myinstance-myidentitydomain.iot.us.oraclecloud.com and the default port is 443. For more information about cURL, see Use cURL.

curl -k -X GET -u username@example.com:welcome1 https://iotserver/iot/api/v2/registrations/0-AI/successEntries

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "items" : [ {
    "rowNo" : 1,
    "endpointId" : "0-5UBQ",
    "sharedSecret" : "DeviceSecret1",
    "deviceUID" : "0-XX11",
    "status" : "ADDED"
  }, {
    "rowNo" : 2,
    "endpointId" : "0-5YBQ",
    "sharedSecret" : "DeviceSecret2",
    "deviceUID" : "0-VV22",
    "status" : "ADDED"
  } ],
  "links" : [ {
    "href" : "http://iotserver/iot/api/v2/registrations/0-AI/successEntries",
    "rel" : "self"
  }, {
    "href" : "http://iotserver/iot/api/v2/registrations/0-AI/successEntries",
    "rel" : "canonical"
  } ]
}
curl -X GET 
   -u <username>:<password>
   -H 'Accept: application/json'
   https://iotserver/iot/api/v2/registrations/{registration-id}/successEntries




Complete cURL Example

The following example shows a complete cURL command that you can use to perform the described operation:

curl -X GET 
   -u <username>:<password>
   -H 'Accept: application/json'
   https://iotserver/iot/api/v2/registrations/37e76ee13ad-4f5c/successEntries



Note that in the request, https://iotserver will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is https://myinstance-myidentitydomain.iot.us.oraclecloud.com and the default port is 443.
Back to Top