GET api/support_ticket/company_tickets_with_custom_fields_by_page/{id}/{pageNumber}/{pageSize}

Retrieves company tickets with custom fields by pages.

Request Information

Parameters

NameDescriptionAdditional information
id
The Id of the customer to retrieve

Define this parameter in the request URI.

pageNumber
The page number to get

Define this parameter in the request URI.

pageSize
The page size to get

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "is_last": true,
  "tickets": [
    {
      "assigned_by_id": 1,
      "assigned_to_id": 1,
      "assigned_to_full_name": "sample string 1",
      "body": "sample string 2",
      "brand_id": 1,
      "date_created": "2019-01-18T19:38:48.9738456-05:00",
      "date_last_modified": "2019-01-18T19:38:48.9738456-05:00",
      "last_modifier_full_name": "sample string 5",
      "date_resolved": "2019-01-18T19:38:48.9738456-05:00",
      "external_id": "sample string 6",
      "is_resolved": true,
      "overall_status": {
        "is_resolved": true,
        "name": "sample string 2",
        "system_type": 3,
        "id": 1
      },
      "owner": {
        "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
      },
      "priority": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "product": {
        "description": "sample string 1",
        "name": "sample string 2",
        "id": 1
      },
      "row_guid": "sample string 8",
      "source": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "sub_id": 9,
      "subject": "sample string 10",
      "ticket_type": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "views": 11,
      "date_sla_failed": "2019-01-18T19:38:48.9738456-05:00",
      "due_date": "2019-01-18T19:38:48.9738456-05:00",
      "form_id": 12,
      "id": 1
    },
    {
      "assigned_by_id": 1,
      "assigned_to_id": 1,
      "assigned_to_full_name": "sample string 1",
      "body": "sample string 2",
      "brand_id": 1,
      "date_created": "2019-01-18T19:38:48.9738456-05:00",
      "date_last_modified": "2019-01-18T19:38:48.9738456-05:00",
      "last_modifier_full_name": "sample string 5",
      "date_resolved": "2019-01-18T19:38:48.9738456-05:00",
      "external_id": "sample string 6",
      "is_resolved": true,
      "overall_status": {
        "is_resolved": true,
        "name": "sample string 2",
        "system_type": 3,
        "id": 1
      },
      "owner": {
        "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
      },
      "priority": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "product": {
        "description": "sample string 1",
        "name": "sample string 2",
        "id": 1
      },
      "row_guid": "sample string 8",
      "source": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "sub_id": 9,
      "subject": "sample string 10",
      "ticket_type": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "views": 11,
      "date_sla_failed": "2019-01-18T19:38:48.9738456-05:00",
      "due_date": "2019-01-18T19:38:48.9738456-05:00",
      "form_id": 12,
      "id": 1
    },
    {
      "assigned_by_id": 1,
      "assigned_to_id": 1,
      "assigned_to_full_name": "sample string 1",
      "body": "sample string 2",
      "brand_id": 1,
      "date_created": "2019-01-18T19:38:48.9738456-05:00",
      "date_last_modified": "2019-01-18T19:38:48.9738456-05:00",
      "last_modifier_full_name": "sample string 5",
      "date_resolved": "2019-01-18T19:38:48.9738456-05:00",
      "external_id": "sample string 6",
      "is_resolved": true,
      "overall_status": {
        "is_resolved": true,
        "name": "sample string 2",
        "system_type": 3,
        "id": 1
      },
      "owner": {
        "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
      },
      "priority": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "product": {
        "description": "sample string 1",
        "name": "sample string 2",
        "id": 1
      },
      "row_guid": "sample string 8",
      "source": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "sub_id": 9,
      "subject": "sample string 10",
      "ticket_type": {
        "name": "sample string 1",
        "system_type": 2,
        "id": 1
      },
      "views": 11,
      "date_sla_failed": "2019-01-18T19:38:48.9738456-05:00",
      "due_date": "2019-01-18T19:38:48.9738456-05:00",
      "form_id": 12,
      "id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<support_tickets_page xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Ticketing">
  <is_last>true</is_last>
  <tickets>
    <support_ticket>
      <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
      <assigned_by_id>1</assigned_by_id>
      <assigned_to_full_name>sample string 1</assigned_to_full_name>
      <assigned_to_id>1</assigned_to_id>
      <body>sample string 2</body>
      <brand_id>1</brand_id>
      <date_created>2019-01-18T19:38:48.9738456-05:00</date_created>
      <date_last_modified>2019-01-18T19:38:48.9738456-05:00</date_last_modified>
      <date_resolved>2019-01-18T19:38:48.9738456-05:00</date_resolved>
      <date_sla_failed>2019-01-18T19:38:48.9738456-05:00</date_sla_failed>
      <due_date>2019-01-18T19:38:48.9738456-05:00</due_date>
      <external_id>sample string 6</external_id>
      <form_id>12</form_id>
      <is_resolved>true</is_resolved>
      <last_modifier_full_name>sample string 5</last_modifier_full_name>
      <overall_status>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <is_resolved>true</is_resolved>
        <name>sample string 2</name>
        <system_type>3</system_type>
      </overall_status>
      <owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:address1>sample string 1</d4p1:address1>
        <d4p1:alternate_phone_number>sample string 3</d4p1:alternate_phone_number>
        <d4p1:city>sample string 4</d4p1:city>
        <d4p1:company_name>sample string 5</d4p1:company_name>
        <d4p1:country>sample string 6</d4p1:country>
        <d4p1:customerid>2</d4p1:customerid>
        <d4p1:date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <d4p1:adjust_for_daylight_savings>true</d4p1:adjust_for_daylight_savings>
          <d4p1:date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:date_format>
          <d4p1:time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:time_format>
        </d4p1:date_time_format>
        <d4p1:description>sample string 7</d4p1:description>
        <d4p1:full_name>sample string 8</d4p1:full_name>
        <d4p1:is_active>true</d4p1:is_active>
        <d4p1:is_agent>true</d4p1:is_agent>
        <d4p1:location>sample string 11</d4p1:location>
        <d4p1:phone_number>sample string 12</d4p1:phone_number>
        <d4p1:postal_code>sample string 13</d4p1:postal_code>
        <d4p1:signature>sample string 14</d4p1:signature>
        <d4p1:title>sample string 15</d4p1:title>
        <d4p1:username>sample string 16</d4p1:username>
      </owner>
      <priority>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </priority>
      <product xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:description>sample string 1</d4p1:description>
        <d4p1:name>sample string 2</d4p1:name>
      </product>
      <row_guid>sample string 8</row_guid>
      <source>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </source>
      <sub_id>9</sub_id>
      <subject>sample string 10</subject>
      <ticket_type>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </ticket_type>
      <views>11</views>
    </support_ticket>
    <support_ticket>
      <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
      <assigned_by_id>1</assigned_by_id>
      <assigned_to_full_name>sample string 1</assigned_to_full_name>
      <assigned_to_id>1</assigned_to_id>
      <body>sample string 2</body>
      <brand_id>1</brand_id>
      <date_created>2019-01-18T19:38:48.9738456-05:00</date_created>
      <date_last_modified>2019-01-18T19:38:48.9738456-05:00</date_last_modified>
      <date_resolved>2019-01-18T19:38:48.9738456-05:00</date_resolved>
      <date_sla_failed>2019-01-18T19:38:48.9738456-05:00</date_sla_failed>
      <due_date>2019-01-18T19:38:48.9738456-05:00</due_date>
      <external_id>sample string 6</external_id>
      <form_id>12</form_id>
      <is_resolved>true</is_resolved>
      <last_modifier_full_name>sample string 5</last_modifier_full_name>
      <overall_status>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <is_resolved>true</is_resolved>
        <name>sample string 2</name>
        <system_type>3</system_type>
      </overall_status>
      <owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:address1>sample string 1</d4p1:address1>
        <d4p1:alternate_phone_number>sample string 3</d4p1:alternate_phone_number>
        <d4p1:city>sample string 4</d4p1:city>
        <d4p1:company_name>sample string 5</d4p1:company_name>
        <d4p1:country>sample string 6</d4p1:country>
        <d4p1:customerid>2</d4p1:customerid>
        <d4p1:date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <d4p1:adjust_for_daylight_savings>true</d4p1:adjust_for_daylight_savings>
          <d4p1:date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:date_format>
          <d4p1:time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:time_format>
        </d4p1:date_time_format>
        <d4p1:description>sample string 7</d4p1:description>
        <d4p1:full_name>sample string 8</d4p1:full_name>
        <d4p1:is_active>true</d4p1:is_active>
        <d4p1:is_agent>true</d4p1:is_agent>
        <d4p1:location>sample string 11</d4p1:location>
        <d4p1:phone_number>sample string 12</d4p1:phone_number>
        <d4p1:postal_code>sample string 13</d4p1:postal_code>
        <d4p1:signature>sample string 14</d4p1:signature>
        <d4p1:title>sample string 15</d4p1:title>
        <d4p1:username>sample string 16</d4p1:username>
      </owner>
      <priority>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </priority>
      <product xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:description>sample string 1</d4p1:description>
        <d4p1:name>sample string 2</d4p1:name>
      </product>
      <row_guid>sample string 8</row_guid>
      <source>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </source>
      <sub_id>9</sub_id>
      <subject>sample string 10</subject>
      <ticket_type>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </ticket_type>
      <views>11</views>
    </support_ticket>
    <support_ticket>
      <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
      <assigned_by_id>1</assigned_by_id>
      <assigned_to_full_name>sample string 1</assigned_to_full_name>
      <assigned_to_id>1</assigned_to_id>
      <body>sample string 2</body>
      <brand_id>1</brand_id>
      <date_created>2019-01-18T19:38:48.9738456-05:00</date_created>
      <date_last_modified>2019-01-18T19:38:48.9738456-05:00</date_last_modified>
      <date_resolved>2019-01-18T19:38:48.9738456-05:00</date_resolved>
      <date_sla_failed>2019-01-18T19:38:48.9738456-05:00</date_sla_failed>
      <due_date>2019-01-18T19:38:48.9738456-05:00</due_date>
      <external_id>sample string 6</external_id>
      <form_id>12</form_id>
      <is_resolved>true</is_resolved>
      <last_modifier_full_name>sample string 5</last_modifier_full_name>
      <overall_status>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <is_resolved>true</is_resolved>
        <name>sample string 2</name>
        <system_type>3</system_type>
      </overall_status>
      <owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:address1>sample string 1</d4p1:address1>
        <d4p1:alternate_phone_number>sample string 3</d4p1:alternate_phone_number>
        <d4p1:city>sample string 4</d4p1:city>
        <d4p1:company_name>sample string 5</d4p1:company_name>
        <d4p1:country>sample string 6</d4p1:country>
        <d4p1:customerid>2</d4p1:customerid>
        <d4p1:date_time_format>
          <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
          <d4p1:adjust_for_daylight_savings>true</d4p1:adjust_for_daylight_savings>
          <d4p1:date_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:date_format>
          <d4p1:time_format>
            <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
            <d4p1:name>sample string 1</d4p1:name>
          </d4p1:time_format>
        </d4p1:date_time_format>
        <d4p1:description>sample string 7</d4p1:description>
        <d4p1:full_name>sample string 8</d4p1:full_name>
        <d4p1:is_active>true</d4p1:is_active>
        <d4p1:is_agent>true</d4p1:is_agent>
        <d4p1:location>sample string 11</d4p1:location>
        <d4p1:phone_number>sample string 12</d4p1:phone_number>
        <d4p1:postal_code>sample string 13</d4p1:postal_code>
        <d4p1:signature>sample string 14</d4p1:signature>
        <d4p1:title>sample string 15</d4p1:title>
        <d4p1:username>sample string 16</d4p1:username>
      </owner>
      <priority>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </priority>
      <product xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <d4p1:description>sample string 1</d4p1:description>
        <d4p1:name>sample string 2</d4p1:name>
      </product>
      <row_guid>sample string 8</row_guid>
      <source>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </source>
      <sub_id>9</sub_id>
      <subject>sample string 10</subject>
      <ticket_type>
        <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
        <name>sample string 1</name>
        <system_type>2</system_type>
      </ticket_type>
      <views>11</views>
    </support_ticket>
  </tickets>
</support_tickets_page>