Home / API Documentation

Get Account List By UtcLastchanged By Company

Method: GET api/v1/Account/GetAccountListLastChangedByCompany?companyid={companyid}&utclastchanged={utclastchanged}&page={page}&pagelimit={pagelimit}

Response Format:

application/json

Required Parameters Description Additional information
companyid

Define this parameter in the request URI.

utclastchanged

Define this parameter in the request URI.

page
by default page = -1 it will be return all records without paging

Define this parameter in the request URI.

pagelimit
by default = 5000

Define this parameter in the request URI.

application/json, text/json

Sample Response:
                        [
  {
    "accountid": 1,
    "companyid": 2,
    "accountnumber": "sample string 3",
    "isactive": 4,
    "utclastchanged": "2025-06-06T08:48:07.8327824+00:00",
    "lastchangeby": "sample string 5",
    "utctimestamp": "2025-06-06T08:48:07.8327824+00:00",
    "customerid": 6,
    "customertype": 7,
    "iscustomeractive": true,
    "customerfirstname": "sample string 9",
    "customermiddlename": "sample string 10",
    "customerlastname": "sample string 11",
    "customerutcLastChanged": "2025-06-06T08:48:07.8332974+00:00",
    "customerlastchangedby": "sample string 12",
    "customerutctimestamp": "2025-06-06T08:48:07.8332974+00:00",
    "locationutclastchanged": "2025-06-06T08:48:07.8332974+00:00",
    "locationlastchangedby": "sample string 13",
    "locationutctimestamp": "2025-06-06T08:48:07.8332974+00:00",
    "secondaryaddress": "sample string 14",
    "phonenumber": "sample string 15",
    "emailaddress": "sample string 16",
    "businessaddres": {
      "accountid": 1,
      "siteid": 2,
      "addressid": 3,
      "streetnumber": "sample string 4",
      "streetsuffix": "sample string 5",
      "streetname": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9"
    },
    "sitesadress": [
      {
        "accountid": 1,
        "siteid": 2,
        "addressid": 3,
        "streetnumber": "sample string 4",
        "streetsuffix": "sample string 5",
        "streetname": "sample string 6",
        "city": "sample string 7",
        "state": "sample string 8",
        "postalcode": "sample string 9"
      },
      {
        "accountid": 1,
        "siteid": 2,
        "addressid": 3,
        "streetnumber": "sample string 4",
        "streetsuffix": "sample string 5",
        "streetname": "sample string 6",
        "city": "sample string 7",
        "state": "sample string 8",
        "postalcode": "sample string 9"
      }
    ]
  },
  {
    "accountid": 1,
    "companyid": 2,
    "accountnumber": "sample string 3",
    "isactive": 4,
    "utclastchanged": "2025-06-06T08:48:07.8327824+00:00",
    "lastchangeby": "sample string 5",
    "utctimestamp": "2025-06-06T08:48:07.8327824+00:00",
    "customerid": 6,
    "customertype": 7,
    "iscustomeractive": true,
    "customerfirstname": "sample string 9",
    "customermiddlename": "sample string 10",
    "customerlastname": "sample string 11",
    "customerutcLastChanged": "2025-06-06T08:48:07.8332974+00:00",
    "customerlastchangedby": "sample string 12",
    "customerutctimestamp": "2025-06-06T08:48:07.8332974+00:00",
    "locationutclastchanged": "2025-06-06T08:48:07.8332974+00:00",
    "locationlastchangedby": "sample string 13",
    "locationutctimestamp": "2025-06-06T08:48:07.8332974+00:00",
    "secondaryaddress": "sample string 14",
    "phonenumber": "sample string 15",
    "emailaddress": "sample string 16",
    "businessaddres": {
      "accountid": 1,
      "siteid": 2,
      "addressid": 3,
      "streetnumber": "sample string 4",
      "streetsuffix": "sample string 5",
      "streetname": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9"
    },
    "sitesadress": [
      {
        "accountid": 1,
        "siteid": 2,
        "addressid": 3,
        "streetnumber": "sample string 4",
        "streetsuffix": "sample string 5",
        "streetname": "sample string 6",
        "city": "sample string 7",
        "state": "sample string 8",
        "postalcode": "sample string 9"
      },
      {
        "accountid": 1,
        "siteid": 2,
        "addressid": 3,
        "streetnumber": "sample string 4",
        "streetsuffix": "sample string 5",
        "streetname": "sample string 6",
        "city": "sample string 7",
        "state": "sample string 8",
        "postalcode": "sample string 9"
      }
    ]
  }
];