POST api/ControlType/GetAll

Request Information

URI Parameters

None.

Body Parameters

ControlTypeLister
NameDescriptionTypeAdditional information
ControlTypes

Collection of ControlType

None.

SearchCriteria

ControlType

None.

Pager

Pager

None.

Request Formats

application/json, text/json

Sample:
{
  "ControlTypes": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsActive": true,
      "Code": "sample string 4",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:29:36.5532159+00:00",
      "CreatedBy": 7,
      "LastModifiedDate": "2025-08-29T20:29:36.5532159+00:00",
      "LastModifiedBy": 9,
      "DeletedDate": "2025-08-29T20:29:36.5532159+00:00",
      "DeletedBy": 1
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsActive": true,
      "Code": "sample string 4",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:29:36.5532159+00:00",
      "CreatedBy": 7,
      "LastModifiedDate": "2025-08-29T20:29:36.5532159+00:00",
      "LastModifiedBy": 9,
      "DeletedDate": "2025-08-29T20:29:36.5532159+00:00",
      "DeletedBy": 1
    }
  ],
  "SearchCriteria": {
    "Id": 1,
    "Name": "sample string 2",
    "IsActive": true,
    "Code": "sample string 4",
    "IsHide": true,
    "CreatedDate": "2025-08-29T20:29:36.5532159+00:00",
    "CreatedBy": 7,
    "LastModifiedDate": "2025-08-29T20:29:36.5532159+00:00",
    "LastModifiedBy": 9,
    "DeletedDate": "2025-08-29T20:29:36.5532159+00:00",
    "DeletedBy": 1
  },
  "Pager": {
    "PageSize": 1,
    "Take": 2,
    "Skip": 3,
    "CurrentPage": 4.0,
    "TotalPage": "sample string 5",
    "TotalRecord": 6.0
  }
}

application/xml, text/xml

Sample:
<ControlTypeLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <ControlTypes>
    <ControlType>
      <Code>sample string 4</Code>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2025-08-29T20:29:36.5532159+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:29:36.5532159+00:00</DeletedDate>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsHide>true</IsHide>
      <LastModifiedBy>9</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:29:36.5532159+00:00</LastModifiedDate>
      <Name>sample string 2</Name>
    </ControlType>
    <ControlType>
      <Code>sample string 4</Code>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2025-08-29T20:29:36.5532159+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:29:36.5532159+00:00</DeletedDate>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsHide>true</IsHide>
      <LastModifiedBy>9</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:29:36.5532159+00:00</LastModifiedDate>
      <Name>sample string 2</Name>
    </ControlType>
  </ControlTypes>
  <Pager>
    <CurrentPage>4</CurrentPage>
    <PageSize>1</PageSize>
    <Skip>3</Skip>
    <Take>2</Take>
    <TotalPage>sample string 5</TotalPage>
    <TotalRecord>6</TotalRecord>
  </Pager>
  <SearchCriteria>
    <Code>sample string 4</Code>
    <CreatedBy>7</CreatedBy>
    <CreatedDate>2025-08-29T20:29:36.5532159+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:29:36.5532159+00:00</DeletedDate>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsHide>true</IsHide>
    <LastModifiedBy>9</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:29:36.5532159+00:00</LastModifiedDate>
    <Name>sample string 2</Name>
  </SearchCriteria>
</ControlTypeLister>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.