GET api/Companies

Fetch a list of all companies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ListResultOfNamedObject
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Items

Collection of NamedObject

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "Items": [
    {
      "Name": "sample string 1",
      "LastModified": "2025-12-08T14:20:53.6389134+00:00",
      "Created": "2025-12-08T14:20:53.6389134+00:00",
      "Id": 4
    },
    {
      "Name": "sample string 1",
      "LastModified": "2025-12-08T14:20:53.6389134+00:00",
      "Created": "2025-12-08T14:20:53.6389134+00:00",
      "Id": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ListResultOfNamedObjectHWVxl9UY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
  <Items>
    <NamedObject>
      <Id>4</Id>
      <Created>2025-12-08T14:20:53.6389134+00:00</Created>
      <LastModified>2025-12-08T14:20:53.6389134+00:00</LastModified>
      <Name>sample string 1</Name>
    </NamedObject>
    <NamedObject>
      <Id>4</Id>
      <Created>2025-12-08T14:20:53.6389134+00:00</Created>
      <LastModified>2025-12-08T14:20:53.6389134+00:00</LastModified>
      <Name>sample string 1</Name>
    </NamedObject>
  </Items>
  <TotalCount>1</TotalCount>
</ListResultOfNamedObjectHWVxl9UY>