GET api/Followup/GetFollowUpByTegIds?accountId={accountId}&tegIds={tegIds}&pageNumber={pageNumber}&pageSize={pageSize}&startDate={startDate}&endDate={endDate}&roleId={roleId}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
tegIds | string |
Required |
|
pageNumber | integer |
Required |
|
pageSize | integer |
Required |
|
startDate | string |
Required |
|
endDate | string |
Required |
|
roleId | integer |
Required |
|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FollowUpGetModelName | Description | Type | Additional 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-21T08:53:33.8766122+00:00" }, { "Id": 1, "GlobalId": 2, "Name": "sample string 3", "CreatedOn": "2024-11-21T08:53:33.8766122+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-21T08:53:33.8766122+00:00", "CreateDate": "2024-11-21T08:53:33.8766122+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-21T08:53:33.8766122+00:00", "CreatedOn": "2024-11-21T08:53:33.8766122+00:00" }, { "Id": 1, "URL": "sample string 2", "StatusFlag": "sample string 3", "SnapshotDate": "2024-11-21T08:53:33.8766122+00:00", "CreatedOn": "2024-11-21T08:53:33.8766122+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" } ] }, { "PageCount": 1, "AccountId": 2, "FollowUpId": 3, "StatusId": [ { "Id": 1, "GlobalId": 2, "Name": "sample string 3", "CreatedOn": "2024-11-21T08:53:33.8766122+00:00" }, { "Id": 1, "GlobalId": 2, "Name": "sample string 3", "CreatedOn": "2024-11-21T08:53:33.8766122+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-21T08:53:33.8766122+00:00", "CreateDate": "2024-11-21T08:53:33.8766122+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-21T08:53:33.8766122+00:00", "CreatedOn": "2024-11-21T08:53:33.8766122+00:00" }, { "Id": 1, "URL": "sample string 2", "StatusFlag": "sample string 3", "SnapshotDate": "2024-11-21T08:53:33.8766122+00:00", "CreatedOn": "2024-11-21T08:53:33.8766122+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:
<ArrayOfFollowUpGetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp"> <FollowUpGetModel> <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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount"> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> </AssignedManagers> <Assignments xmlns:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Assignment"> <d3p1:AssignmentList.AssignmentsDetail> <d3p1:Id>1</d3p1:Id> <d3p1:IsAssignmentForOperator>true</d3p1:IsAssignmentForOperator> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:AssignmentList.AssignmentsDetail> <d3p1:AssignmentList.AssignmentsDetail> <d3p1:Id>1</d3p1:Id> <d3p1:IsAssignmentForOperator>true</d3p1:IsAssignmentForOperator> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:AssignmentList.AssignmentsDetail> </Assignments> <CreateDate>2024-11-21T08:53:33.8766122+00:00</CreateDate> <DueDate>2024-11-21T08:53:33.8766122+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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount"> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> </Managers> <MediaUrl> <MediaList> <CreatedOn>2024-11-21T08:53:33.8766122+00:00</CreatedOn> <Id>1</Id> <SnapshotDate xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:33.8766122Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </SnapshotDate> <StatusFlag>sample string 3</StatusFlag> <URL>sample string 2</URL> </MediaList> <MediaList> <CreatedOn>2024-11-21T08:53:33.8766122+00:00</CreatedOn> <Id>1</Id> <SnapshotDate xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:33.8766122Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1: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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.FollowUp"> <d3p1:FollowUpStatusModel> <d3p1:CreatedOn>2024-11-21T08:53:33.8766122+00:00</d3p1:CreatedOn> <d3p1:GlobalId>2</d3p1:GlobalId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d3p1:FollowUpStatusModel> <d3p1:FollowUpStatusModel> <d3p1:CreatedOn>2024-11-21T08:53:33.8766122+00:00</d3p1:CreatedOn> <d3p1:GlobalId>2</d3p1:GlobalId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d3p1: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> <FollowUpGetModel> <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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount"> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> </AssignedManagers> <Assignments xmlns:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Assignment"> <d3p1:AssignmentList.AssignmentsDetail> <d3p1:Id>1</d3p1:Id> <d3p1:IsAssignmentForOperator>true</d3p1:IsAssignmentForOperator> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:AssignmentList.AssignmentsDetail> <d3p1:AssignmentList.AssignmentsDetail> <d3p1:Id>1</d3p1:Id> <d3p1:IsAssignmentForOperator>true</d3p1:IsAssignmentForOperator> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:AssignmentList.AssignmentsDetail> </Assignments> <CreateDate>2024-11-21T08:53:33.8766122+00:00</CreateDate> <DueDate>2024-11-21T08:53:33.8766122+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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.UserAccount"> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> <d3p1:Managers> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:UserId>sample string 2</d3p1:UserId> </d3p1:Managers> </Managers> <MediaUrl> <MediaList> <CreatedOn>2024-11-21T08:53:33.8766122+00:00</CreatedOn> <Id>1</Id> <SnapshotDate xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:33.8766122Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </SnapshotDate> <StatusFlag>sample string 3</StatusFlag> <URL>sample string 2</URL> </MediaList> <MediaList> <CreatedOn>2024-11-21T08:53:33.8766122+00:00</CreatedOn> <Id>1</Id> <SnapshotDate xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:33.8766122Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1: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:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.FollowUp"> <d3p1:FollowUpStatusModel> <d3p1:CreatedOn>2024-11-21T08:53:33.8766122+00:00</d3p1:CreatedOn> <d3p1:GlobalId>2</d3p1:GlobalId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d3p1:FollowUpStatusModel> <d3p1:FollowUpStatusModel> <d3p1:CreatedOn>2024-11-21T08:53:33.8766122+00:00</d3p1:CreatedOn> <d3p1:GlobalId>2</d3p1:GlobalId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d3p1: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> </ArrayOfFollowUpGetModel>