GET api/FollowUp?accountId={accountId}&sorted={sorted}&startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

sorted

boolean

Required

startDate

string

Required

endDate

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FollowUpGetAllModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

FollowUpId

integer

None.

StatusId

Collection of FollowUpStatusModel

None.

Inspection

Collection of InspectionInfo

None.

Location

string

None.

CreateDate

date

None.

ResponseOpt

Collection of ResponseInfo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountId": 1,
    "FollowUpId": 2,
    "StatusId": [
      {
        "Id": 1,
        "GlobalId": 2,
        "Name": "sample string 3",
        "CreatedOn": "2024-11-21T08:58:06.5885112+00:00"
      },
      {
        "Id": 1,
        "GlobalId": 2,
        "Name": "sample string 3",
        "CreatedOn": "2024-11-21T08:58:06.5885112+00:00"
      }
    ],
    "Inspection": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "AssignmentId": 3
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "AssignmentId": 3
      }
    ],
    "Location": "sample string 3",
    "CreateDate": "2024-11-21T08:58:06.5885112+00:00",
    "ResponseOpt": [
      {
        "Id": 1,
        "Label": "sample string 2"
      },
      {
        "Id": 1,
        "Label": "sample string 2"
      }
    ]
  },
  {
    "AccountId": 1,
    "FollowUpId": 2,
    "StatusId": [
      {
        "Id": 1,
        "GlobalId": 2,
        "Name": "sample string 3",
        "CreatedOn": "2024-11-21T08:58:06.5885112+00:00"
      },
      {
        "Id": 1,
        "GlobalId": 2,
        "Name": "sample string 3",
        "CreatedOn": "2024-11-21T08:58:06.5885112+00:00"
      }
    ],
    "Inspection": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "AssignmentId": 3
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "AssignmentId": 3
      }
    ],
    "Location": "sample string 3",
    "CreateDate": "2024-11-21T08:58:06.5885112+00:00",
    "ResponseOpt": [
      {
        "Id": 1,
        "Label": "sample string 2"
      },
      {
        "Id": 1,
        "Label": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfFollowUpGetAllModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.FollowUp">
  <FollowUpGetAllModel>
    <AccountId>1</AccountId>
    <CreateDate>2024-11-21T08:58:06.5885112+00:00</CreateDate>
    <FollowUpId>2</FollowUpId>
    <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>
    <Location>sample string 3</Location>
    <ResponseOpt>
      <ResponseInfo>
        <Id>1</Id>
        <Label>sample string 2</Label>
      </ResponseInfo>
      <ResponseInfo>
        <Id>1</Id>
        <Label>sample string 2</Label>
      </ResponseInfo>
    </ResponseOpt>
    <StatusId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.FollowUp">
      <d3p1:FollowUpStatusModel>
        <d3p1:CreatedOn>2024-11-21T08:58:06.5885112+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:58:06.5885112+00:00</d3p1:CreatedOn>
        <d3p1:GlobalId>2</d3p1:GlobalId>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 3</d3p1:Name>
      </d3p1:FollowUpStatusModel>
    </StatusId>
  </FollowUpGetAllModel>
  <FollowUpGetAllModel>
    <AccountId>1</AccountId>
    <CreateDate>2024-11-21T08:58:06.5885112+00:00</CreateDate>
    <FollowUpId>2</FollowUpId>
    <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>
    <Location>sample string 3</Location>
    <ResponseOpt>
      <ResponseInfo>
        <Id>1</Id>
        <Label>sample string 2</Label>
      </ResponseInfo>
      <ResponseInfo>
        <Id>1</Id>
        <Label>sample string 2</Label>
      </ResponseInfo>
    </ResponseOpt>
    <StatusId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.FollowUp">
      <d3p1:FollowUpStatusModel>
        <d3p1:CreatedOn>2024-11-21T08:58:06.5885112+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:58:06.5885112+00:00</d3p1:CreatedOn>
        <d3p1:GlobalId>2</d3p1:GlobalId>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 3</d3p1:Name>
      </d3p1:FollowUpStatusModel>
    </StatusId>
  </FollowUpGetAllModel>
</ArrayOfFollowUpGetAllModel>