GET api/Agent
Retrieves the agents associated with your account.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "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", "emailaddress": "sample string 17", "photo_filename": "sample string 18", "id": 1 }, { "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", "emailaddress": "sample string 17", "photo_filename": "sample string 18", "id": 1 }, { "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", "emailaddress": "sample string 17", "photo_filename": "sample string 18", "id": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfuser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org"> <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> <emailaddress>sample string 17</emailaddress> <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> <photo_filename>sample string 18</photo_filename> <postal_code>sample string 13</postal_code> <signature>sample string 14</signature> <title>sample string 15</title> <username>sample string 16</username> </user> <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> <emailaddress>sample string 17</emailaddress> <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> <photo_filename>sample string 18</photo_filename> <postal_code>sample string 13</postal_code> <signature>sample string 14</signature> <title>sample string 15</title> <username>sample string 16</username> </user> <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> <emailaddress>sample string 17</emailaddress> <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> <photo_filename>sample string 18</photo_filename> <postal_code>sample string 13</postal_code> <signature>sample string 14</signature> <title>sample string 15</title> <username>sample string 16</username> </user> </ArrayOfuser>