POST api/InspectionType/GetAll

Request Information

URI Parameters

None.

Body Parameters

InspectionTypeLister
NameDescriptionTypeAdditional information
InspectionTypes

Collection of InspectionType

None.

SearchCriteria

InspectionType

None.

Pager

Pager

None.

Request Formats

application/json, text/json

Sample:
{
  "InspectionTypes": [
    {
      "CustomerInspectionTypes": [
        {
          "Id": 1,
          "InspectionTypeId": 2,
          "CompanyName": "sample string 3",
          "CreatedBy": 4,
          "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
          "LastModifiedBy": 6,
          "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
          "CustomerName": "sample string 8"
        },
        {
          "Id": 1,
          "InspectionTypeId": 2,
          "CompanyName": "sample string 3",
          "CreatedBy": 4,
          "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
          "LastModifiedBy": 6,
          "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
          "CustomerName": "sample string 8"
        }
      ],
      "Id": 1,
      "InspectionTemplateId": 2,
      "Type": "sample string 3",
      "Description": "sample string 4",
      "CreatedBy": 5,
      "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
      "LastModifiedBy": 7,
      "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
      "IsWithoutRiskAssessment": true,
      "IsSpecificCustomer": true,
      "IsActive": true,
      "IsHide": true,
      "AnswerTypeId": 1,
      "IsCE": true,
      "IsUKCA": true,
      "IsDraftWatermark": true,
      "LoginUserId": 16,
      "CustomerCompanys": [
        "sample string 1",
        "sample string 2"
      ],
      "InspectionTemplateName": "sample string 17",
      "CompanyName": "sample string 18",
      "InspectionInternalNo": 19,
      "IsanswerTypeIdSwitch": true
    },
    {
      "CustomerInspectionTypes": [
        {
          "Id": 1,
          "InspectionTypeId": 2,
          "CompanyName": "sample string 3",
          "CreatedBy": 4,
          "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
          "LastModifiedBy": 6,
          "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
          "CustomerName": "sample string 8"
        },
        {
          "Id": 1,
          "InspectionTypeId": 2,
          "CompanyName": "sample string 3",
          "CreatedBy": 4,
          "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
          "LastModifiedBy": 6,
          "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
          "CustomerName": "sample string 8"
        }
      ],
      "Id": 1,
      "InspectionTemplateId": 2,
      "Type": "sample string 3",
      "Description": "sample string 4",
      "CreatedBy": 5,
      "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
      "LastModifiedBy": 7,
      "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
      "IsWithoutRiskAssessment": true,
      "IsSpecificCustomer": true,
      "IsActive": true,
      "IsHide": true,
      "AnswerTypeId": 1,
      "IsCE": true,
      "IsUKCA": true,
      "IsDraftWatermark": true,
      "LoginUserId": 16,
      "CustomerCompanys": [
        "sample string 1",
        "sample string 2"
      ],
      "InspectionTemplateName": "sample string 17",
      "CompanyName": "sample string 18",
      "InspectionInternalNo": 19,
      "IsanswerTypeIdSwitch": true
    }
  ],
  "SearchCriteria": {
    "CustomerInspectionTypes": [
      {
        "Id": 1,
        "InspectionTypeId": 2,
        "CompanyName": "sample string 3",
        "CreatedBy": 4,
        "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
        "LastModifiedBy": 6,
        "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
        "DeletedBy": 1,
        "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
        "CustomerName": "sample string 8"
      },
      {
        "Id": 1,
        "InspectionTypeId": 2,
        "CompanyName": "sample string 3",
        "CreatedBy": 4,
        "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
        "LastModifiedBy": 6,
        "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
        "DeletedBy": 1,
        "DeletedDate": "2025-08-29T20:25:37.9039718+00:00",
        "CustomerName": "sample string 8"
      }
    ],
    "Id": 1,
    "InspectionTemplateId": 2,
    "Type": "sample string 3",
    "Description": "sample string 4",
    "CreatedBy": 5,
    "CreatedDate": "2025-08-29T20:25:37.9039718+00:00",
    "LastModifiedBy": 7,
    "LastModifiedDate": "2025-08-29T20:25:37.9039718+00:00",
    "IsWithoutRiskAssessment": true,
    "IsSpecificCustomer": true,
    "IsActive": true,
    "IsHide": true,
    "AnswerTypeId": 1,
    "IsCE": true,
    "IsUKCA": true,
    "IsDraftWatermark": true,
    "LoginUserId": 16,
    "CustomerCompanys": [
      "sample string 1",
      "sample string 2"
    ],
    "InspectionTemplateName": "sample string 17",
    "CompanyName": "sample string 18",
    "InspectionInternalNo": 19,
    "IsanswerTypeIdSwitch": true
  },
  "Pager": {
    "PageSize": 1,
    "Take": 2,
    "Skip": 3,
    "CurrentPage": 4.0,
    "TotalPage": "sample string 5",
    "TotalRecord": 6.0
  }
}

application/xml, text/xml

Sample:
<InspectionTypeLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <InspectionTypes>
    <InspectionType>
      <AnswerTypeId>1</AnswerTypeId>
      <CompanyName>sample string 18</CompanyName>
      <CreatedBy>5</CreatedBy>
      <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
      <CustomerCompanys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CustomerCompanys>
      <CustomerInspectionTypes>
        <CustomerInspectionType>
          <CompanyName>sample string 3</CompanyName>
          <CreatedBy>4</CreatedBy>
          <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
          <CustomerName>sample string 8</CustomerName>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
          <Id>1</Id>
          <InspectionTypeId>2</InspectionTypeId>
          <LastModifiedBy>6</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
        </CustomerInspectionType>
        <CustomerInspectionType>
          <CompanyName>sample string 3</CompanyName>
          <CreatedBy>4</CreatedBy>
          <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
          <CustomerName>sample string 8</CustomerName>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
          <Id>1</Id>
          <InspectionTypeId>2</InspectionTypeId>
          <LastModifiedBy>6</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
        </CustomerInspectionType>
      </CustomerInspectionTypes>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <InspectionInternalNo>19</InspectionInternalNo>
      <InspectionTemplateId>2</InspectionTemplateId>
      <InspectionTemplateName>sample string 17</InspectionTemplateName>
      <IsActive>true</IsActive>
      <IsCE>true</IsCE>
      <IsDraftWatermark>true</IsDraftWatermark>
      <IsHide>true</IsHide>
      <IsSpecificCustomer>true</IsSpecificCustomer>
      <IsUKCA>true</IsUKCA>
      <IsWithoutRiskAssessment>true</IsWithoutRiskAssessment>
      <IsanswerTypeIdSwitch>true</IsanswerTypeIdSwitch>
      <LastModifiedBy>7</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
      <LoginUserId>16</LoginUserId>
      <Type>sample string 3</Type>
    </InspectionType>
    <InspectionType>
      <AnswerTypeId>1</AnswerTypeId>
      <CompanyName>sample string 18</CompanyName>
      <CreatedBy>5</CreatedBy>
      <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
      <CustomerCompanys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CustomerCompanys>
      <CustomerInspectionTypes>
        <CustomerInspectionType>
          <CompanyName>sample string 3</CompanyName>
          <CreatedBy>4</CreatedBy>
          <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
          <CustomerName>sample string 8</CustomerName>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
          <Id>1</Id>
          <InspectionTypeId>2</InspectionTypeId>
          <LastModifiedBy>6</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
        </CustomerInspectionType>
        <CustomerInspectionType>
          <CompanyName>sample string 3</CompanyName>
          <CreatedBy>4</CreatedBy>
          <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
          <CustomerName>sample string 8</CustomerName>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
          <Id>1</Id>
          <InspectionTypeId>2</InspectionTypeId>
          <LastModifiedBy>6</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
        </CustomerInspectionType>
      </CustomerInspectionTypes>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <InspectionInternalNo>19</InspectionInternalNo>
      <InspectionTemplateId>2</InspectionTemplateId>
      <InspectionTemplateName>sample string 17</InspectionTemplateName>
      <IsActive>true</IsActive>
      <IsCE>true</IsCE>
      <IsDraftWatermark>true</IsDraftWatermark>
      <IsHide>true</IsHide>
      <IsSpecificCustomer>true</IsSpecificCustomer>
      <IsUKCA>true</IsUKCA>
      <IsWithoutRiskAssessment>true</IsWithoutRiskAssessment>
      <IsanswerTypeIdSwitch>true</IsanswerTypeIdSwitch>
      <LastModifiedBy>7</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
      <LoginUserId>16</LoginUserId>
      <Type>sample string 3</Type>
    </InspectionType>
  </InspectionTypes>
  <Pager>
    <CurrentPage>4</CurrentPage>
    <PageSize>1</PageSize>
    <Skip>3</Skip>
    <Take>2</Take>
    <TotalPage>sample string 5</TotalPage>
    <TotalRecord>6</TotalRecord>
  </Pager>
  <SearchCriteria>
    <AnswerTypeId>1</AnswerTypeId>
    <CompanyName>sample string 18</CompanyName>
    <CreatedBy>5</CreatedBy>
    <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
    <CustomerCompanys xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CustomerCompanys>
    <CustomerInspectionTypes>
      <CustomerInspectionType>
        <CompanyName>sample string 3</CompanyName>
        <CreatedBy>4</CreatedBy>
        <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
        <CustomerName>sample string 8</CustomerName>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
        <Id>1</Id>
        <InspectionTypeId>2</InspectionTypeId>
        <LastModifiedBy>6</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
      </CustomerInspectionType>
      <CustomerInspectionType>
        <CompanyName>sample string 3</CompanyName>
        <CreatedBy>4</CreatedBy>
        <CreatedDate>2025-08-29T20:25:37.9039718+00:00</CreatedDate>
        <CustomerName>sample string 8</CustomerName>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:25:37.9039718+00:00</DeletedDate>
        <Id>1</Id>
        <InspectionTypeId>2</InspectionTypeId>
        <LastModifiedBy>6</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
      </CustomerInspectionType>
    </CustomerInspectionTypes>
    <Description>sample string 4</Description>
    <Id>1</Id>
    <InspectionInternalNo>19</InspectionInternalNo>
    <InspectionTemplateId>2</InspectionTemplateId>
    <InspectionTemplateName>sample string 17</InspectionTemplateName>
    <IsActive>true</IsActive>
    <IsCE>true</IsCE>
    <IsDraftWatermark>true</IsDraftWatermark>
    <IsHide>true</IsHide>
    <IsSpecificCustomer>true</IsSpecificCustomer>
    <IsUKCA>true</IsUKCA>
    <IsWithoutRiskAssessment>true</IsWithoutRiskAssessment>
    <IsanswerTypeIdSwitch>true</IsanswerTypeIdSwitch>
    <LastModifiedBy>7</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:25:37.9039718+00:00</LastModifiedDate>
    <LoginUserId>16</LoginUserId>
    <Type>sample string 3</Type>
  </SearchCriteria>
</InspectionTypeLister>

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.