HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: must-revalidate, private, max-age=0
Content-Type: application/json; charset=utf-8
Status: 200
X-Rate-Limit-Limit: 60
X-Rate-Limit-Remaining: 59
X-Rate-Limit-Reset: 2
Content-Length: 4150
Connection: keep-alive

{
    "total_entries": 2,
    "_links": {
        "self": {
            "href": "/api/v2/companies/1/customers?page=1&per_page=30",
            "class": "page"
        },
        "first": {
            "href": "/api/v2/companies/1/customers?page=1&per_page=30",
            "class": "page"
        },
        "last": {
            "href": "/api/v2/companies/1/customers?page=1&per_page=30",
            "class": "page"
        },
        "next": null,
        "previous": null
    },
    "_embedded": {
        "entries": [
            {
                "first_name": "John",
                "last_name": "Doe",
                "company": "ACME, Inc",
                "title": "Senior Ninja",
                "external_id": null,
                "background": "This guy can be a challenge to work with",
                "language": "en_us",
                "locked_until": null,
                "created_at": "2013-06-04T19:44:11Z",
                "updated_at": "2013-06-04T19:44:11Z",
                "custom_fields": {
                    "level": "vip"
                },
                "emails": [
                    {
                        "type": "work",
                        "value": "john@acme.com"
                    },
                    {
                        "type": "home",
                        "value": "john@home.com"
                    }
                ],
                "phone_numbers": [
                    {
                        "type": "work",
                        "value": "123-456-7890"
                    }
                ],
                "addresses": [
                    {
                        "type": "work",
                        "value": "123 Main St, San Francisco, CA 94105"
                    }
                ],
                "_links": {
                    "self": {
                        "href": "/api/v2/customers/1",
                        "class": "customer"
                    },
                    "company": {
                        "href": "/api/v2/companies/1",
                        "class": "company"
                    },
                    "cases": {
                        "href": "/api/v2/customers/1/cases",
                        "class": "case"
                    },
                    "locked_by": null
                }
            },
            {
                "first_name": "Bob",
                "last_name": "Doe",
                "company": "ACME, Inc",
                "title": "Senior Ninja",
                "external_id": null,
                "background": "Easy to work with",
                "language": "en_us",
                "locked_until": null,
                "created_at": "2013-06-04T19:44:11Z",
                "updated_at": "2013-06-04T19:44:11Z",
                "custom_fields": {
                    "level": "vip"
                },
                "emails": [
                    {
                        "type": "work",
                        "value": "bob@acme.com"
                    },
                    {
                        "type": "home",
                        "value": "bob@home.com"
                    }
                ],
                "phone_numbers": [
                    {
                        "type": "work",
                        "value": "123-456-7890"
                    }
                ],
                "addresses": [
                    {
                        "type": "work",
                        "value": "123 Main St, San Francisco, CA 94105"
                    }
                ],
                "_links": {
                    "self": {
                        "href": "/api/v2/customers/2",
                        "class": "customer"
                    },
                    "company": {
                        "href": "/api/v2/companies/1",
                        "class": "company"
                    },
                    "cases": {
                        "href": "/api/v2/customers/2/cases",
                        "class": "case"
                    },
                    "locked_by": null
                }
            }
        ]
    }
}
