GET api/InspectionTemplates/GetGlobalInspectionTemplateBySubIndustryId?dbScope={dbScope}&pageNumber={pageNumber}&pageSize={pageSize}&subIndustryId={subIndustryId}&searchByInsepectionTitle={searchByInsepectionTitle}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dbScope | string |
Required |
|
pageNumber | integer |
Required |
|
pageSize | integer |
Required |
|
subIndustryId | integer |
Default value is 0 |
|
searchByInsepectionTitle | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of GlobalInspectionTemplateInformationName | Description | Type | Additional information |
---|---|---|---|
PageCount | integer |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
SubIndustryId | integer |
None. |
|
TemplateQuestionCount | integer |
None. |
|
Id | integer |
None. |
|
CreatedBy | string |
None. |
|
Status | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PageCount": 1, "Title": "sample string 2", "Description": "sample string 3", "SubIndustryId": 4, "TemplateQuestionCount": 5, "Id": 6, "CreatedBy": "sample string 7", "Status": "sample string 8" }, { "PageCount": 1, "Title": "sample string 2", "Description": "sample string 3", "SubIndustryId": 4, "TemplateQuestionCount": 5, "Id": 6, "CreatedBy": "sample string 7", "Status": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfGlobalInspectionTemplateInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.InspectionsTemplates"> <GlobalInspectionTemplateInformation> <CreatedBy>sample string 7</CreatedBy> <Description>sample string 3</Description> <Id>6</Id> <PageCount>1</PageCount> <Status>sample string 8</Status> <SubIndustryId>4</SubIndustryId> <TemplateQuestionCount>5</TemplateQuestionCount> <Title>sample string 2</Title> </GlobalInspectionTemplateInformation> <GlobalInspectionTemplateInformation> <CreatedBy>sample string 7</CreatedBy> <Description>sample string 3</Description> <Id>6</Id> <PageCount>1</PageCount> <Status>sample string 8</Status> <SubIndustryId>4</SubIndustryId> <TemplateQuestionCount>5</TemplateQuestionCount> <Title>sample string 2</Title> </GlobalInspectionTemplateInformation> </ArrayOfGlobalInspectionTemplateInformation>