GET api/LocalQuestions/GetLocalQuestionsByInspectionTemplateAndAccountId?inspectionTemplateId={inspectionTemplateId}&accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
inspectionTemplateId

integer

Required

accountId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LocalQuestionModel
NameDescriptionTypeAdditional information
Text

string

None.

AccountId

integer

None.

GlobalQuestionId

integer

None.

DatastateFlag

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Text": "sample string 1",
    "AccountId": 2,
    "GlobalQuestionId": 3,
    "DatastateFlag": "sample string 4",
    "Id": 5,
    "Status": "sample string 6",
    "CreatedBy": "sample string 7",
    "CreateTimestamp": "2024-11-21T11:20:59.8606775+00:00",
    "ModifiedBy": "sample string 9",
    "ModifiedTimestamp": "2024-11-21T11:20:59.8606775+00:00",
    "DataStateFlag": "sample string 10"
  },
  {
    "Text": "sample string 1",
    "AccountId": 2,
    "GlobalQuestionId": 3,
    "DatastateFlag": "sample string 4",
    "Id": 5,
    "Status": "sample string 6",
    "CreatedBy": "sample string 7",
    "CreateTimestamp": "2024-11-21T11:20:59.8606775+00:00",
    "ModifiedBy": "sample string 9",
    "ModifiedTimestamp": "2024-11-21T11:20:59.8606775+00:00",
    "DataStateFlag": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocalQuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.Questions">
  <LocalQuestionModel>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T11:20:59.8606775Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </CreateTimestamp>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 7</CreatedBy>
    <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 10</DataStateFlag>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">5</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 9</ModifiedBy>
    <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T11:20:59.8606775Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </ModifiedTimestamp>
    <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 6</Status>
    <AccountId>2</AccountId>
    <DatastateFlag>sample string 4</DatastateFlag>
    <GlobalQuestionId>3</GlobalQuestionId>
    <Text>sample string 1</Text>
  </LocalQuestionModel>
  <LocalQuestionModel>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T11:20:59.8606775Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </CreateTimestamp>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 7</CreatedBy>
    <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 10</DataStateFlag>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">5</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 9</ModifiedBy>
    <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T11:20:59.8606775Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </ModifiedTimestamp>
    <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 6</Status>
    <AccountId>2</AccountId>
    <DatastateFlag>sample string 4</DatastateFlag>
    <GlobalQuestionId>3</GlobalQuestionId>
    <Text>sample string 1</Text>
  </LocalQuestionModel>
</ArrayOfLocalQuestionModel>