Request

GET /organization/

Response

200 OK
Content-Type: application/json
{
    "meta": {
        "previous": null, 
        "total_count": 3, 
        "offset": 0, 
        "limit": 20, 
        "next": null
    }, 
    "objects": [
        {
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004ba/addresses/0/"
                }
            ], 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": null, 
            "phones": [
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004ba/phones/0/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "contacts": [], 
            "private": true, 
            "corporate_name": "Company A", 
            "note": null, 
            "gravatar_mail": null, 
            "photo": null, 
            "id": "5231cbf04ab63c53dc9004ba", 
            "photo_uri": null, 
            "emails": [
                {
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004ba/emails/0/", 
                    "type": "WORK", 
                    "email": "contact@naeka.fr", 
                    "label": null
                }
            ], 
            "tags": [], 
            "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004ba/"
        }, 
        {
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bb/addresses/0/"
                }
            ], 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": null, 
            "phones": [
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bb/phones/0/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "contacts": [], 
            "private": true, 
            "corporate_name": "Company A", 
            "note": null, 
            "gravatar_mail": null, 
            "photo": null, 
            "id": "5231cbf04ab63c53dc9004bb", 
            "photo_uri": null, 
            "emails": [
                {
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bb/emails/0/", 
                    "type": "WORK", 
                    "email": "contact@naeka.fr", 
                    "label": null
                }
            ], 
            "tags": [], 
            "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bb/"
        }, 
        {
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bc/addresses/0/"
                }
            ], 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": null, 
            "phones": [
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bc/phones/0/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "contacts": [], 
            "private": true, 
            "corporate_name": "Company A", 
            "note": null, 
            "gravatar_mail": null, 
            "photo": null, 
            "id": "5231cbf04ab63c53dc9004bc", 
            "photo_uri": null, 
            "emails": [
                {
                    "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bc/emails/0/", 
                    "type": "WORK", 
                    "email": "contact@naeka.fr", 
                    "label": null
                }
            ], 
            "tags": [], 
            "resource_uri": "/api/v1/organization/5231cbf04ab63c53dc9004bc/"
        }
    ]
}

Request

GET /organization/

Response

200 OK
Content-Type: application/xml; charset=utf-8
<response>
  <objects type="list">
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004ba/addresses/0/</resource_uri>
        </object>
      </addresses>
      <contacts type="list"/>
      <photo_source type="null"/>
      <phones type="list">
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004ba/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <private type="boolean">True</private>
      <corporate_name>Company A</corporate_name>
      <note type="null"/>
      <gravatar_mail type="null"/>
      <photo type="null"/>
      <id>5231cbf04ab63c53dc9004ba</id>
      <photo_uri type="null"/>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>WORK</type>
          <email>contact@naeka.fr</email>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004ba/emails/0/</resource_uri>
        </object>
      </emails>
      <tags type="list"/>
      <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004ba/</resource_uri>
    </object>
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bb/addresses/0/</resource_uri>
        </object>
      </addresses>
      <contacts type="list"/>
      <photo_source type="null"/>
      <phones type="list">
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bb/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <private type="boolean">True</private>
      <corporate_name>Company A</corporate_name>
      <note type="null"/>
      <gravatar_mail type="null"/>
      <photo type="null"/>
      <id>5231cbf04ab63c53dc9004bb</id>
      <photo_uri type="null"/>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>WORK</type>
          <email>contact@naeka.fr</email>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bb/emails/0/</resource_uri>
        </object>
      </emails>
      <tags type="list"/>
      <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bb/</resource_uri>
    </object>
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bc/addresses/0/</resource_uri>
        </object>
      </addresses>
      <contacts type="list"/>
      <photo_source type="null"/>
      <phones type="list">
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bc/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <private type="boolean">True</private>
      <corporate_name>Company A</corporate_name>
      <note type="null"/>
      <gravatar_mail type="null"/>
      <photo type="null"/>
      <id>5231cbf04ab63c53dc9004bc</id>
      <photo_uri type="null"/>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>WORK</type>
          <email>contact@naeka.fr</email>
          <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bc/emails/0/</resource_uri>
        </object>
      </emails>
      <tags type="list"/>
      <resource_uri>/api/v1/organization/5231cbf04ab63c53dc9004bc/</resource_uri>
    </object>
  </objects>
  <meta type="hash">
    <next type="null"/>
    <total_count type="integer">3</total_count>
    <previous type="null"/>
    <limit type="integer">20</limit>
    <offset type="integer">0</offset>
  </meta>
</response>

Request

GET /organization/

Response

200 OK
Content-Type: text/yaml; charset=utf-8
meta: {limit: 20, next: null, offset: 0, previous: null, total_count: 3}
objects:
- addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004ba/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
contacts: []
corporate_name: !!python/unicode 'Company A'
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'contact@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004ba/emails/0/',
type: !!python/unicode 'WORK'}
gravatar_mail: null
id: !!python/unicode '5231cbf04ab63c53dc9004ba'
note: null
phones:
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004ba/phones/0/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: null
photo_uri: null
private: true
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004ba/'
tags: []
- addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bb/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
contacts: []
corporate_name: !!python/unicode 'Company A'
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'contact@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bb/emails/0/',
type: !!python/unicode 'WORK'}
gravatar_mail: null
id: !!python/unicode '5231cbf04ab63c53dc9004bb'
note: null
phones:
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bb/phones/0/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: null
photo_uri: null
private: true
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bb/'
tags: []
- addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bc/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
contacts: []
corporate_name: !!python/unicode 'Company A'
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'contact@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bc/emails/0/',
type: !!python/unicode 'WORK'}
gravatar_mail: null
id: !!python/unicode '5231cbf04ab63c53dc9004bc'
note: null
phones:
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bc/phones/0/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: null
photo_uri: null
private: true
resource_uri: !!python/unicode '/api/v1/organization/5231cbf04ab63c53dc9004bc/'
tags: []