GET api/Individual?customerId={customerId}

Retrieves the contacts of a customer.

Request Information

Parameters

NameDescriptionAdditional information
customerId
The Id of the customer

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "is_last": true,
  "contact_info": [
    {
      "customer_name": "sample string 1",
      "contact_photo": "sample string 2",
      "user": {
        "address1": "sample string 1",
        "customerid": 2,
        "alternate_phone_number": "sample string 3",
        "city": "sample string 4",
        "company_name": "sample string 5",
        "country": "sample string 6",
        "date_time_format": {
          "adjust_for_daylight_savings": true,
          "date_format": {
            "name": "sample string 1",
            "id": 1
          },
          "time_format": {
            "name": "sample string 1",
            "id": 1
          },
          "id": 1
        },
        "description": "sample string 7",
        "full_name": "sample string 8",
        "is_active": true,
        "is_agent": true,
        "location": "sample string 11",
        "phone_number": "sample string 12",
        "postal_code": "sample string 13",
        "signature": "sample string 14",
        "title": "sample string 15",
        "username": "sample string 16",
        "id": 1
      }
    },
    {
      "customer_name": "sample string 1",
      "contact_photo": "sample string 2",
      "user": {
        "address1": "sample string 1",
        "customerid": 2,
        "alternate_phone_number": "sample string 3",
        "city": "sample string 4",
        "company_name": "sample string 5",
        "country": "sample string 6",
        "date_time_format": {
          "adjust_for_daylight_savings": true,
          "date_format": {
            "name": "sample string 1",
            "id": 1
          },
          "time_format": {
            "name": "sample string 1",
            "id": 1
          },
          "id": 1
        },
        "description": "sample string 7",
        "full_name": "sample string 8",
        "is_active": true,
        "is_agent": true,
        "location": "sample string 11",
        "phone_number": "sample string 12",
        "postal_code": "sample string 13",
        "signature": "sample string 14",
        "title": "sample string 15",
        "username": "sample string 16",
        "id": 1
      }
    },
    {
      "customer_name": "sample string 1",
      "contact_photo": "sample string 2",
      "user": {
        "address1": "sample string 1",
        "customerid": 2,
        "alternate_phone_number": "sample string 3",
        "city": "sample string 4",
        "company_name": "sample string 5",
        "country": "sample string 6",
        "date_time_format": {
          "adjust_for_daylight_savings": true,
          "date_format": {
            "name": "sample string 1",
            "id": 1
          },
          "time_format": {
            "name": "sample string 1",
            "id": 1
          },
          "id": 1
        },
        "description": "sample string 7",
        "full_name": "sample string 8",
        "is_active": true,
        "is_agent": true,
        "location": "sample string 11",
        "phone_number": "sample string 12",
        "postal_code": "sample string 13",
        "signature": "sample string 14",
        "title": "sample string 15",
        "username": "sample string 16",
        "id": 1
      }
    }
  ]
}

application/xml, text/xml

Sample:
<contacts_page xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
  <contact_info>
    <contacts_page_item>
      <contact_photo>sample string 2</contact_photo>
      <customer_name>sample string 1</customer_name>
      <user>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <address1>sample string 1</address1>
        <alternate_phone_number>sample string 3</alternate_phone_number>
        <city>sample string 4</city>
        <company_name>sample string 5</company_name>
        <country>sample string 6</country>
        <customerid>2</customerid>
        <date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <adjust_for_daylight_savings>true</adjust_for_daylight_savings>
          <date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </date_format>
          <time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </time_format>
        </date_time_format>
        <description>sample string 7</description>
        <full_name>sample string 8</full_name>
        <is_active>true</is_active>
        <is_agent>true</is_agent>
        <location>sample string 11</location>
        <phone_number>sample string 12</phone_number>
        <postal_code>sample string 13</postal_code>
        <signature>sample string 14</signature>
        <title>sample string 15</title>
        <username>sample string 16</username>
      </user>
    </contacts_page_item>
    <contacts_page_item>
      <contact_photo>sample string 2</contact_photo>
      <customer_name>sample string 1</customer_name>
      <user>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <address1>sample string 1</address1>
        <alternate_phone_number>sample string 3</alternate_phone_number>
        <city>sample string 4</city>
        <company_name>sample string 5</company_name>
        <country>sample string 6</country>
        <customerid>2</customerid>
        <date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <adjust_for_daylight_savings>true</adjust_for_daylight_savings>
          <date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </date_format>
          <time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </time_format>
        </date_time_format>
        <description>sample string 7</description>
        <full_name>sample string 8</full_name>
        <is_active>true</is_active>
        <is_agent>true</is_agent>
        <location>sample string 11</location>
        <phone_number>sample string 12</phone_number>
        <postal_code>sample string 13</postal_code>
        <signature>sample string 14</signature>
        <title>sample string 15</title>
        <username>sample string 16</username>
      </user>
    </contacts_page_item>
    <contacts_page_item>
      <contact_photo>sample string 2</contact_photo>
      <customer_name>sample string 1</customer_name>
      <user>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <address1>sample string 1</address1>
        <alternate_phone_number>sample string 3</alternate_phone_number>
        <city>sample string 4</city>
        <company_name>sample string 5</company_name>
        <country>sample string 6</country>
        <customerid>2</customerid>
        <date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <adjust_for_daylight_savings>true</adjust_for_daylight_savings>
          <date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </date_format>
          <time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <name>sample string 1</name>
          </time_format>
        </date_time_format>
        <description>sample string 7</description>
        <full_name>sample string 8</full_name>
        <is_active>true</is_active>
        <is_agent>true</is_agent>
        <location>sample string 11</location>
        <phone_number>sample string 12</phone_number>
        <postal_code>sample string 13</postal_code>
        <signature>sample string 14</signature>
        <title>sample string 15</title>
        <username>sample string 16</username>
      </user>
    </contacts_page_item>
  </contact_info>
  <is_last>true</is_last>
</contacts_page>