Resello REST API Documentation

GET contact

Returns a list of contacts, matching an optinal customer id.

Resource URL

https://backoffice.hostcontrol.com/api/v1/contact?customer=[customer_id]

Parameters

None

Example request


GET    https://backoffice.hostcontrol.com/api/v1/contact?customer=42

Result

{
   "result": [
      {
         "customer": {
            "is_enabled": true,
            "updated": "2013-10-14T12:44:05.487411+00:00",
            "is_dns_management_enabled": true,
            "created": "2013-10-14T12:44:05.487372+00:00",
            "primary_contact": {
               "city": "Zwolle",
               "fax": "",
               "voice": "+31.31384578954",
               "updated": "2013-10-14T12:44:05.493933+00:00",
               "name": "John Doe",
               "created": "2013-10-14T12:44:05.493898+00:00",
               "gender": null,
               "organisation": "",
               "extra": {},
               "zipcode": "8021BA",
               "email": "john@doe-incorporated.com",
               "state": "Overijssel",
               "address": "Streetwise 123",
               "domains": [
                  "my-brand-new-domain.net"
               ],
               "vat_number": null,
               "country": {
                  "code": "NL",
                  "name": "Netherlands"
               },
               "type": "primary",
               "id": 16
            },
            "is_receiving_support_notifications": true,
            "is_ns_management_enabled": true,
            "is_verified": true,
            "id": 42
         },
         "city": "Zwolle",
         "fax": "",
         "voice": "+31.31384578954",
         "updated": "2013-10-14T12:44:05.493933+00:00",
         "name": "John Doe",
         "created": "2013-10-14T12:44:05.493898+00:00",
         "gender": null,
         "organisation": "Doe Incorporated",
         "extra": {},
         "zipcode": "8000JP",
         "email": "john@doe-incorporated.com",
         "state": "Overijssel",
         "address": "Contact-specific-street 123",
         "domains": [
            "my-brand-new-domain.net"
         ],
         "vat_number": null,
         "country": {
            "code": "NL",
            "name": "Netherlands"
         },
         "type": "primary",
         "id": 16
      }
   ],
   "success": true
}