POST api/FollowUp/GetFollowupByFilters

Request Information

URI Parameters

None.

Body Parameters

FollowupFilters
NameDescriptionTypeAdditional information
AccountId

integer

Required

UserId

string

Required

RoleId

integer

Required

PageNumber

integer

Required

PageSize

integer

Required

Sorted

boolean

None.

CreatedDateFrom

date

Required

CreatedDateTo

date

Required

DueDateFrom

date

None.

DueDateTo

date

None.

StatusIds

Collection of integer

None.

OverDueFlag

Collection of string

None.

RatingIds

Collection of integer

None.

Evaluators

Collection of string

None.

Operators

Collection of string

None.

TopicIds

Collection of integer

None.

InspectionId

integer

None.

TEGIds

Collection of integer

None.

LocationNodeLevelType

string

None.

LocationNodeLevelIds

string

None.

LocationModelIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "UserId": "sample string 2",
  "RoleId": 3,
  "PageNumber": 4,
  "PageSize": 5,
  "Sorted": true,
  "CreatedDateFrom": "2025-04-04T00:46:33.55268+00:00",
  "CreatedDateTo": "2025-04-04T00:46:33.55268+00:00",
  "DueDateFrom": "2025-04-04T00:46:33.55268+00:00",
  "DueDateTo": "2025-04-04T00:46:33.55268+00:00",
  "StatusIds": [
    1,
    2
  ],
  "OverDueFlag": [
    "sample string 1",
    "sample string 2"
  ],
  "RatingIds": [
    1,
    2
  ],
  "Evaluators": [
    "sample string 1",
    "sample string 2"
  ],
  "Operators": [
    "sample string 1",
    "sample string 2"
  ],
  "TopicIds": [
    1,
    2
  ],
  "InspectionId": 9,
  "TEGIds": [
    1,
    2
  ],
  "LocationNodeLevelType": "sample string 10",
  "LocationNodeLevelIds": "sample string 11",
  "LocationModelIds": "sample string 12"
}

application/xml, text/xml

Sample:
<FollowupFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp">
  <AccountId>1</AccountId>
  <CreatedDateFrom>2025-04-04T00:46:33.55268+00:00</CreatedDateFrom>
  <CreatedDateTo>2025-04-04T00:46:33.55268+00:00</CreatedDateTo>
  <DueDateFrom>2025-04-04T00:46:33.55268+00:00</DueDateFrom>
  <DueDateTo>2025-04-04T00:46:33.55268+00:00</DueDateTo>
  <Evaluators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Evaluators>
  <InspectionId>9</InspectionId>
  <LocationModelIds>sample string 12</LocationModelIds>
  <LocationNodeLevelIds>sample string 11</LocationNodeLevelIds>
  <LocationNodeLevelType>sample string 10</LocationNodeLevelType>
  <Operators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Operators>
  <OverDueFlag xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OverDueFlag>
  <PageNumber>4</PageNumber>
  <PageSize>5</PageSize>
  <RatingIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </RatingIds>
  <RoleId>3</RoleId>
  <Sorted>true</Sorted>
  <StatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </StatusIds>
  <TEGIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TEGIds>
  <TopicIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TopicIds>
  <UserId>sample string 2</UserId>
</FollowupFilters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of FollowupFilterModel
NameDescriptionTypeAdditional information
FollowupId

integer

None.

InspectionId

integer

None.

Location

string

None.

DueDate

date

None.

CreatedOn

date

None.

AssignedTo

string

None.

CreatedBy

string

None.

Topic

string

None.

OverDueFlag

string

None.

Question

string

None.

StatusId

integer

None.

OverDueDay

integer

None.

Status

string

None.

InspectionTemplateName

string

None.

TotalResult

integer

None.

PageCount

integer

None.

Notes

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FollowupId": 1,
    "InspectionId": 2,
    "Location": "sample string 3",
    "DueDate": "2025-04-04T00:46:33.5683053+00:00",
    "CreatedOn": "2025-04-04T00:46:33.5683053+00:00",
    "AssignedTo": "sample string 4",
    "CreatedBy": "sample string 5",
    "Topic": "sample string 6",
    "OverDueFlag": "sample string 7",
    "Question": "sample string 8",
    "StatusId": 9,
    "OverDueDay": 10,
    "Status": "sample string 11",
    "InspectionTemplateName": "sample string 12",
    "TotalResult": 13,
    "PageCount": 14,
    "Notes": "sample string 15"
  },
  {
    "FollowupId": 1,
    "InspectionId": 2,
    "Location": "sample string 3",
    "DueDate": "2025-04-04T00:46:33.5683053+00:00",
    "CreatedOn": "2025-04-04T00:46:33.5683053+00:00",
    "AssignedTo": "sample string 4",
    "CreatedBy": "sample string 5",
    "Topic": "sample string 6",
    "OverDueFlag": "sample string 7",
    "Question": "sample string 8",
    "StatusId": 9,
    "OverDueDay": 10,
    "Status": "sample string 11",
    "InspectionTemplateName": "sample string 12",
    "TotalResult": 13,
    "PageCount": 14,
    "Notes": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFollowupFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp">
  <FollowupFilterModel>
    <AssignedTo>sample string 4</AssignedTo>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-04-04T00:46:33.5683053+00:00</CreatedOn>
    <DueDate>2025-04-04T00:46:33.5683053+00:00</DueDate>
    <FollowupId>1</FollowupId>
    <InspectionId>2</InspectionId>
    <InspectionTemplateName>sample string 12</InspectionTemplateName>
    <Location>sample string 3</Location>
    <Notes>sample string 15</Notes>
    <OverDueDay>10</OverDueDay>
    <OverDueFlag>sample string 7</OverDueFlag>
    <PageCount>14</PageCount>
    <Question>sample string 8</Question>
    <Status>sample string 11</Status>
    <StatusId>9</StatusId>
    <Topic>sample string 6</Topic>
    <TotalResult>13</TotalResult>
  </FollowupFilterModel>
  <FollowupFilterModel>
    <AssignedTo>sample string 4</AssignedTo>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-04-04T00:46:33.5683053+00:00</CreatedOn>
    <DueDate>2025-04-04T00:46:33.5683053+00:00</DueDate>
    <FollowupId>1</FollowupId>
    <InspectionId>2</InspectionId>
    <InspectionTemplateName>sample string 12</InspectionTemplateName>
    <Location>sample string 3</Location>
    <Notes>sample string 15</Notes>
    <OverDueDay>10</OverDueDay>
    <OverDueFlag>sample string 7</OverDueFlag>
    <PageCount>14</PageCount>
    <Question>sample string 8</Question>
    <Status>sample string 11</Status>
    <StatusId>9</StatusId>
    <Topic>sample string 6</Topic>
    <TotalResult>13</TotalResult>
  </FollowupFilterModel>
</ArrayOfFollowupFilterModel>