GET api/InspectionTemplates/GetListInspectionTemplateByAccountIdAndSubIndustry?accountId={accountId}&subIndustry={subIndustry}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
subIndustry | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of InspectionTemplateListModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
None. |
|
LocationTypes | Collection of integer |
None. |
|
Status | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Title": "sample string 2", "LocationTypes": [ 1, 2 ], "Status": "sample string 3" }, { "Id": 1, "Title": "sample string 2", "LocationTypes": [ 1, 2 ], "Status": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfInspectionTemplateListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.InspectionsTemplates"> <InspectionTemplateListModel> <Id>1</Id> <LocationTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </LocationTypes> <Status>sample string 3</Status> <Title>sample string 2</Title> </InspectionTemplateListModel> <InspectionTemplateListModel> <Id>1</Id> <LocationTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </LocationTypes> <Status>sample string 3</Status> <Title>sample string 2</Title> </InspectionTemplateListModel> </ArrayOfInspectionTemplateListModel>