GET api/Customer/domain?domain={domain}

Retrieves the customer with the specified Domain and Name.

Request Information

Parameters

NameDescriptionAdditional information
domain
The domain of the customer to retrieve

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "address1": "sample string 1",
  "address2": "sample string 2",
  "city": "sample string 3",
  "company_name": "sample string 4",
  "country": "sample string 5",
  "date_created": "2024-03-09T18:43:02.6550665-05:00",
  "date_last_updated": "2024-03-09T18:43:02.6550665-05:00",
  "DateTimeFormat": {
    "adjust_for_daylight_savings": true,
    "date_format": {
      "name": "sample string 1",
      "id": 1
    },
    "time_format": {
      "name": "sample string 1",
      "id": 1
    },
    "id": 1
  },
  "is_active": true,
  "location": "sample string 8",
  "notes": "sample string 9",
  "phone_number": "sample string 10",
  "postal_code": "sample string 11",
  "id": 1
}

application/xml, text/xml

Sample:
<customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
  <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
  <DateTimeFormat>
    <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>
  </DateTimeFormat>
  <address1>sample string 1</address1>
  <address2>sample string 2</address2>
  <city>sample string 3</city>
  <company_name>sample string 4</company_name>
  <country>sample string 5</country>
  <date_created>2024-03-09T18:43:02.6550665-05:00</date_created>
  <date_last_updated>2024-03-09T18:43:02.6550665-05:00</date_last_updated>
  <is_active>true</is_active>
  <location>sample string 8</location>
  <notes>sample string 9</notes>
  <phone_number>sample string 10</phone_number>
  <postal_code>sample string 11</postal_code>
</customer>