Get Identity IDs

Description

This method retrieves the list of all identities which the user has created.

HTTP Method

GET

Path

/identities/

Authentication

Requires an authenticated user.

Parameters

No Parameters.

Error Codes

150001 ( Common )

The endpoint requires an authenticated account

40000 ( Identity )

An unhanded exception occured.

Response Schema

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://xsd.poken.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="contactsInfo">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="expireDate" type="xs:dateTime"/>
        <xs:element name="contact" nillable="true" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="accountId" type="xs:long"/>
              <xs:element name="identity" nillable="true" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="identityId" type="xs:long"/>
                    <xs:element name="access" type="xs:string"/>
                    <xs:element name="label" type="xs:string" minOccurs="0"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="tag" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
              <xs:element name="note" type="xs:string" minOccurs="0"/>
              <xs:element name="eventDate" type="xs:dateTime" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="unregistered" nillable="true" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="hardwareId" type="xs:long"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

Sample Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<contactsInfo xmlns="http://xsd.poken.com">
  <expireDate>2009-08-07T16:40:24.816+02:00
  </expireDate>
  <contact>
    <accountId>614323</accountId>
    <identity>
      <identityId>614083</identityId>
      <access>READ_WRITE</access>
      <label>business</label>
    </identity>
    <identity>
      <identityId>827503</identityId>
      <access>READ_WRITE</access>
      <label>testing new label</label>
    </identity>
    <identity>
      <identityId>827502</identityId>
      <access>READ_WRITE</access>
      <label></label>
    </identity>
    <identity>
      <identityId>827453</identityId>
      <access>READ_WRITE</access>
      <label></label>
    </identity>
    <identity>
      <identityId>830502</identityId>
      <access>READ_WRITE</access>
      <label></label>
    </identity>
    <note></note>
  </contact>
</contactsInfo>