POST api/FollowUp/GetFollowUpDetailByIdAndFilters

Request Information

URI Parameters

None.

Body Parameters

FollowupFiltersForPreviousAndNextId
NameDescriptionTypeAdditional information
AccountId

integer

Required

UserId

string

Required

RoleId

integer

Required

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.

FollowUpId

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,
  "CreatedDateFrom": "2024-11-21T09:08:41.3170025+00:00",
  "CreatedDateTo": "2024-11-21T09:08:41.3170025+00:00",
  "DueDateFrom": "2024-11-21T09:08:41.3170025+00:00",
  "DueDateTo": "2024-11-21T09:08:41.3170025+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": 6,
  "TEGIds": [
    1,
    2
  ],
  "FollowUpId": 7,
  "LocationNodeLevelType": "sample string 8",
  "LocationNodeLevelIds": "sample string 9",
  "LocationModelIds": "sample string 10"
}

application/xml, text/xml

Sample:
<FollowupFiltersForPreviousAndNextId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp">
  <AccountId>1</AccountId>
  <CreatedDateFrom>2024-11-21T09:08:41.3170025+00:00</CreatedDateFrom>
  <CreatedDateTo>2024-11-21T09:08:41.3170025+00:00</CreatedDateTo>
  <DueDateFrom>2024-11-21T09:08:41.3170025+00:00</DueDateFrom>
  <DueDateTo>2024-11-21T09:08:41.3170025+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>
  <FollowUpId>7</FollowUpId>
  <InspectionId>6</InspectionId>
  <LocationModelIds>sample string 10</LocationModelIds>
  <LocationNodeLevelIds>sample string 9</LocationNodeLevelIds>
  <LocationNodeLevelType>sample string 8</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>
  <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>
  <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>
</FollowupFiltersForPreviousAndNextId>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FollowUpGetModel
NameDescriptionTypeAdditional information
PageCount

integer

None.

AccountId

integer

None.

FollowUpId

integer

None.

StatusId

Collection of FollowUpStatusModel

None.

Inspection

Collection of InspectionInfo

None.

Location

string

None.

TEGId

Collection of TegInfo

None.

Inspector

Collection of InspectorInfo

None.

DueDate

date

None.

CreateDate

date

None.

Note

Collection of NotesList

None.

Activity

Collection of NotesList

None.

Responsibles

Collection of RespList

None.

InformedParties

Collection of CCList

None.

MediaUrl

Collection of MediaList

None.

ResponseOpt

Collection of ResponseInfo

None.

OverDueDays

integer

None.

NextFollowUpId

integer

None.

PreviousFollowUpId

integer

None.

Assignments

Collection of AssignmentsDetail

None.

Managers

Collection of Managers

None.

AssignedManagers

Collection of Managers

None.

Response Formats

application/json, text/json

Sample:
{
  "PageCount": 1,
  "AccountId": 2,
  "FollowUpId": 3,
  "StatusId": [
    {
      "Id": 1,
      "GlobalId": 2,
      "Name": "sample string 3",
      "CreatedOn": "2024-11-21T09:08:41.3371296+00:00"
    },
    {
      "Id": 1,
      "GlobalId": 2,
      "Name": "sample string 3",
      "CreatedOn": "2024-11-21T09:08:41.3371296+00:00"
    }
  ],
  "Inspection": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "AssignmentId": 3
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "AssignmentId": 3
    }
  ],
  "Location": "sample string 4",
  "TEGId": [
    {
      "Id": 1,
      "Topic": "sample string 2",
      "Question": "sample string 3",
      "Standard": "sample string 4",
      "Procedure": "sample string 5"
    },
    {
      "Id": 1,
      "Topic": "sample string 2",
      "Question": "sample string 3",
      "Standard": "sample string 4",
      "Procedure": "sample string 5"
    }
  ],
  "Inspector": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    }
  ],
  "DueDate": "2024-11-21T09:08:41.3371296+00:00",
  "CreateDate": "2024-11-21T09:08:41.3371296+00:00",
  "Note": [
    {
      "Id": 1,
      "Text": "sample string 2",
      "CreateDate": "sample string 3",
      "CreatedBy": "sample string 4"
    },
    {
      "Id": 1,
      "Text": "sample string 2",
      "CreateDate": "sample string 3",
      "CreatedBy": "sample string 4"
    }
  ],
  "Activity": [
    {
      "Id": 1,
      "Text": "sample string 2",
      "CreateDate": "sample string 3",
      "CreatedBy": "sample string 4"
    },
    {
      "Id": 1,
      "Text": "sample string 2",
      "CreateDate": "sample string 3",
      "CreatedBy": "sample string 4"
    }
  ],
  "Responsibles": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3"
    }
  ],
  "InformedParties": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3"
    }
  ],
  "MediaUrl": [
    {
      "Id": 1,
      "URL": "sample string 2",
      "StatusFlag": "sample string 3",
      "SnapshotDate": "2024-11-21T09:08:41.3371296+00:00",
      "CreatedOn": "2024-11-21T09:08:41.3371296+00:00"
    },
    {
      "Id": 1,
      "URL": "sample string 2",
      "StatusFlag": "sample string 3",
      "SnapshotDate": "2024-11-21T09:08:41.3371296+00:00",
      "CreatedOn": "2024-11-21T09:08:41.3371296+00:00"
    }
  ],
  "ResponseOpt": [
    {
      "Id": 1,
      "Label": "sample string 2"
    },
    {
      "Id": 1,
      "Label": "sample string 2"
    }
  ],
  "OverDueDays": 6,
  "NextFollowUpId": 1,
  "PreviousFollowUpId": 1,
  "Assignments": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsAssignmentForOperator": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsAssignmentForOperator": true
    }
  ],
  "Managers": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "Name": "sample string 3"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "Name": "sample string 3"
    }
  ],
  "AssignedManagers": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "Name": "sample string 3"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "Name": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<FollowUpGetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp">
  <AccountId>2</AccountId>
  <Activity>
    <NotesList>
      <CreateDate>sample string 3</CreateDate>
      <CreatedBy>sample string 4</CreatedBy>
      <Id>1</Id>
      <Text>sample string 2</Text>
    </NotesList>
    <NotesList>
      <CreateDate>sample string 3</CreateDate>
      <CreatedBy>sample string 4</CreatedBy>
      <Id>1</Id>
      <Text>sample string 2</Text>
    </NotesList>
  </Activity>
  <AssignedManagers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount">
    <d2p1:Managers>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserId>sample string 2</d2p1:UserId>
    </d2p1:Managers>
    <d2p1:Managers>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserId>sample string 2</d2p1:UserId>
    </d2p1:Managers>
  </AssignedManagers>
  <Assignments xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Assignment">
    <d2p1:AssignmentList.AssignmentsDetail>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAssignmentForOperator>true</d2p1:IsAssignmentForOperator>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:AssignmentList.AssignmentsDetail>
    <d2p1:AssignmentList.AssignmentsDetail>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAssignmentForOperator>true</d2p1:IsAssignmentForOperator>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:AssignmentList.AssignmentsDetail>
  </Assignments>
  <CreateDate>2024-11-21T09:08:41.3371296+00:00</CreateDate>
  <DueDate>2024-11-21T09:08:41.3371296+00:00</DueDate>
  <FollowUpId>3</FollowUpId>
  <InformedParties>
    <CCList>
      <DisplayName>sample string 3</DisplayName>
      <Id>1</Id>
      <UserId>sample string 2</UserId>
    </CCList>
    <CCList>
      <DisplayName>sample string 3</DisplayName>
      <Id>1</Id>
      <UserId>sample string 2</UserId>
    </CCList>
  </InformedParties>
  <Inspection>
    <InspectionInfo>
      <AssignmentId>3</AssignmentId>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </InspectionInfo>
    <InspectionInfo>
      <AssignmentId>3</AssignmentId>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </InspectionInfo>
  </Inspection>
  <Inspector>
    <InspectorInfo>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </InspectorInfo>
    <InspectorInfo>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </InspectorInfo>
  </Inspector>
  <Location>sample string 4</Location>
  <Managers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount">
    <d2p1:Managers>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserId>sample string 2</d2p1:UserId>
    </d2p1:Managers>
    <d2p1:Managers>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserId>sample string 2</d2p1:UserId>
    </d2p1:Managers>
  </Managers>
  <MediaUrl>
    <MediaList>
      <CreatedOn>2024-11-21T09:08:41.3371296+00:00</CreatedOn>
      <Id>1</Id>
      <SnapshotDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T09:08:41.3371296Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </SnapshotDate>
      <StatusFlag>sample string 3</StatusFlag>
      <URL>sample string 2</URL>
    </MediaList>
    <MediaList>
      <CreatedOn>2024-11-21T09:08:41.3371296+00:00</CreatedOn>
      <Id>1</Id>
      <SnapshotDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T09:08:41.3371296Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </SnapshotDate>
      <StatusFlag>sample string 3</StatusFlag>
      <URL>sample string 2</URL>
    </MediaList>
  </MediaUrl>
  <NextFollowUpId>1</NextFollowUpId>
  <Note>
    <NotesList>
      <CreateDate>sample string 3</CreateDate>
      <CreatedBy>sample string 4</CreatedBy>
      <Id>1</Id>
      <Text>sample string 2</Text>
    </NotesList>
    <NotesList>
      <CreateDate>sample string 3</CreateDate>
      <CreatedBy>sample string 4</CreatedBy>
      <Id>1</Id>
      <Text>sample string 2</Text>
    </NotesList>
  </Note>
  <OverDueDays>6</OverDueDays>
  <PageCount>1</PageCount>
  <PreviousFollowUpId>1</PreviousFollowUpId>
  <ResponseOpt>
    <ResponseInfo>
      <Id>1</Id>
      <Label>sample string 2</Label>
    </ResponseInfo>
    <ResponseInfo>
      <Id>1</Id>
      <Label>sample string 2</Label>
    </ResponseInfo>
  </ResponseOpt>
  <Responsibles>
    <RespList>
      <DisplayName>sample string 3</DisplayName>
      <Id>1</Id>
      <UserId>sample string 2</UserId>
    </RespList>
    <RespList>
      <DisplayName>sample string 3</DisplayName>
      <Id>1</Id>
      <UserId>sample string 2</UserId>
    </RespList>
  </Responsibles>
  <StatusId xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.FollowUp">
    <d2p1:FollowUpStatusModel>
      <d2p1:CreatedOn>2024-11-21T09:08:41.3371296+00:00</d2p1:CreatedOn>
      <d2p1:GlobalId>2</d2p1:GlobalId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:FollowUpStatusModel>
    <d2p1:FollowUpStatusModel>
      <d2p1:CreatedOn>2024-11-21T09:08:41.3371296+00:00</d2p1:CreatedOn>
      <d2p1:GlobalId>2</d2p1:GlobalId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:FollowUpStatusModel>
  </StatusId>
  <TEGId>
    <TegInfo>
      <Id>1</Id>
      <Procedure>sample string 5</Procedure>
      <Question>sample string 3</Question>
      <Standard>sample string 4</Standard>
      <Topic>sample string 2</Topic>
    </TegInfo>
    <TegInfo>
      <Id>1</Id>
      <Procedure>sample string 5</Procedure>
      <Question>sample string 3</Question>
      <Standard>sample string 4</Standard>
      <Topic>sample string 2</Topic>
    </TegInfo>
  </TEGId>
</FollowUpGetModel>