1. Home
  2. API v2.0
  3. Contacts
  4. View Contact

View Contact

Method: /contacts/[id].[format]

Syntax

https://[subdomain].salesbinder.com/api/2.0/contacts/[id].json

HTTP Request Type: GET

Sample Returned JSON Data

{
    "contact": {
        "first_name": "Biff",
        "last_name": "Johnson",
        "job_title": "Warehouse Manager",
        "phone": "555-348-9458",
        "cell": "555-948-9458",
        "fax": "555-837-9488",
        "email_1": "biff@sample.com",
        "email_2": "biff@sample2.com",
        "id": "5695ddfe-ceb4-40c4-9cc5-05716882ca98",
        "modified": "2016-11-11T00:21:33+00:00",
        "created": "2016-01-13T05:17:50+00:00",
        "customers": [
            {
                "id": "54ac6027-d7e0-4a87-91a8-03dba2d10228",
                "name": "Lala Importers",
                "customer_number": 545,
                "office_email": "test@lalagear.com",
                "office_phone": "604-555-1029",
                "office_fax": "",
                "url": "www.lalagear.com",
                "billing_address_1": "98479 Broadway",
                "billing_address_2": "",
                "billing_city": "New York",
                "billing_region_id": null,
                "billing_region": "New York",
                "billing_postal_code": "84734",
                "billing_country_id": null,
                "billing_country": "USA",
                "shipping_address_1": "98479 Broadway",
                "shipping_address_2": "",
                "shipping_city": "New York",
                "shipping_region_id": null,
                "shipping_region": "New York",
                "shipping_postal_code": "84734",
                "shipping_country_id": null,
                "shipping_country": "USA",
                "vat_number": "",
                "context_id": 10,
                "document_count": 30,
                "tax_rate1": null,
                "tax_rate2": null,
                "customer_date": null,
                "archived": false,
                "customer_label_id": "",
                "pricing_tier_id": "",
                "user_id": "",
                "modified": "2016-11-11T00:28:51+00:00",
                "created": "2015-01-06T22:22:31+00:00"
            }
        ]
    }
}

Sample Returned XML Data

<?xml version="1.0" encoding="UTF-8" ?>
<response>
    <contact>
        <first_name>Biff</first_name>
        <last_name>Johnson</last_name>
        <job_title>Warehouse Manager</job_title>
        <phone>555-348-9458</phone>
        <cell>555-948-9458</cell>
        <fax>555-837-9488</fax>
        <email_1>biff@sample.com</email_1>
        <email_2>biff@sample2.com</email_2>
        <id>5695ddfe-ceb4-40c4-9cc5-05716882ca98</id>
        <modified>11/11/16, 12:21 AM</modified>
        <created>1/13/16, 5:17 AM</created>
        <customers>
            <id>54ac6027-d7e0-4a87-91a8-03dba2d10228</id>
            <name>Lala Importers</name>
            <customer_number>545</customer_number>
            <office_email>test@lalagear.com</office_email>
            <office_phone>604-555-1029</office_phone>
            <office_fax/>
            <url>www.lalagear.com</url>
            <billing_address_1>98479 Broadway</billing_address_1>
            <billing_address_2/>
            <billing_city>New York</billing_city>
            <billing_region_id/>
            <billing_region>New York</billing_region>
            <billing_postal_code>84734</billing_postal_code>
            <billing_country_id/>
            <billing_country>USA</billing_country>
            <shipping_address_1>98479 Broadway</shipping_address_1>
            <shipping_address_2/>
            <shipping_city>New York</shipping_city>
            <shipping_region_id/>
            <shipping_region>New York</shipping_region>
            <shipping_postal_code>84734</shipping_postal_code>
            <shipping_country_id/>
            <shipping_country>USA</shipping_country>
            <vat_number/>
            <context_id>10</context_id>
            <document_count>30</document_count>
            <tax_rate1/>
            <tax_rate2/>
            <customer_date/>
            <archived>0</archived>
            <customer_label_id/>
            <pricing_tier_id/>
            <user_id/>
            <modified>11/11/16, 12:28 AM</modified>
            <created>1/6/15, 10:22 PM</created>
            <_joinData>
                <id>58250f0d-6f5c-4018-af2c-40606882ca98</id>
                <contact_id>5695ddfe-ceb4-40c4-9cc5-05716882ca98</contact_id>
                <customer_id>54ac6027-d7e0-4a87-91a8-03dba2d10228</customer_id>
            </_joinData>
        </customers>
    </contact>
</response>
Was this article helpful to you? Yes No