GET api/ContractTypes

Fetch a list of all contract types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ListResultOfContractType
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Items

Collection of ContractType

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "Items": [
    {
      "Cashflow": "sample string 1",
      "EntityLayoutId": 2,
      "CompanyId": 3,
      "Name": "sample string 4",
      "LastModified": "2025-12-08T04:39:10.6026184+00:00",
      "Created": "2025-12-08T04:39:10.6026184+00:00",
      "Id": 7
    },
    {
      "Cashflow": "sample string 1",
      "EntityLayoutId": 2,
      "CompanyId": 3,
      "Name": "sample string 4",
      "LastModified": "2025-12-08T04:39:10.6026184+00:00",
      "Created": "2025-12-08T04:39:10.6026184+00:00",
      "Id": 7
    }
  ]
}

application/xml, text/xml

Sample:
<ListResultOfContractTypeHWVxl9UY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
  <Items>
    <ContractType>
      <Id>7</Id>
      <Created>2025-12-08T04:39:10.6026184+00:00</Created>
      <LastModified>2025-12-08T04:39:10.6026184+00:00</LastModified>
      <Name>sample string 4</Name>
      <CompanyId>3</CompanyId>
      <Cashflow>sample string 1</Cashflow>
      <EntityLayoutId>2</EntityLayoutId>
    </ContractType>
    <ContractType>
      <Id>7</Id>
      <Created>2025-12-08T04:39:10.6026184+00:00</Created>
      <LastModified>2025-12-08T04:39:10.6026184+00:00</LastModified>
      <Name>sample string 4</Name>
      <CompanyId>3</CompanyId>
      <Cashflow>sample string 1</Cashflow>
      <EntityLayoutId>2</EntityLayoutId>
    </ContractType>
  </Items>
  <TotalCount>1</TotalCount>
</ListResultOfContractTypeHWVxl9UY>