GET api/Posts/SearchPosts?personID={personID}&searchQuery={searchQuery}&pageNumber={pageNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personID

integer

Required

searchQuery

string

Required

pageNumber

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PostView
NameDescriptionTypeAdditional information
HorseOwnerID

integer

None.

FarrierVisitID

integer

None.

BodyVisitID

integer

None.

Post

string

None.

PersonName

string

None.

Title

string

None.

Email

string

None.

IsPostPhotoAvailable

boolean

None.

HorseName

string

None.

PostCategoryName

string

None.

PostCategoryIcon

string

None.

PostSubCategoryName

string

None.

PostSubCategoryIcon

string

None.

MonthDescr

string

None.

CroppedPost

string

None.

InstructorID

integer

None.

InstructorName

string

None.

PostLikeCount

integer

None.

IsPostLiked

boolean

None.

ParentPersonID

integer

None.

ParentPersonName

string

None.

RideTrackerID

integer

None.

PostID

integer

None.

ParentPostID

integer

None.

PersonID

integer

None.

TypeID

integer

None.

SecurityCode

string

None.

Comment

string

None.

PhotoID

integer

None.

PhotoID2

integer

None.

PhotoID3

integer

None.

PhotoID4

integer

None.

HorseID

integer

None.

CategoryID

integer

None.

SubCategoryID

integer

None.

SessionID

integer

None.

AssociatedPersonID

integer

None.

EquipmentID

integer

None.

LocalPath

string

None.

Location

string

None.

Latitude

string

None.

Longitude

string

None.

Cost

string

None.

CostType

string

None.

PhotoType

string

None.

IsAddtoCalendar

boolean

None.

TimeSpent

integer

None.

DateModified

date

None.

DateCreated

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HorseOwnerID": 1,
    "FarrierVisitID": 2,
    "BodyVisitID": 3,
    "Post": "sample string 4",
    "PersonName": "sample string 5",
    "Title": "sample string 6",
    "Email": "sample string 7",
    "IsPostPhotoAvailable": true,
    "HorseName": "sample string 9",
    "PostCategoryName": "sample string 10",
    "PostCategoryIcon": "sample string 11",
    "PostSubCategoryName": "sample string 12",
    "PostSubCategoryIcon": "sample string 13",
    "MonthDescr": "sample string 14",
    "CroppedPost": "sample string 15",
    "InstructorID": 16,
    "InstructorName": "sample string 17",
    "PostLikeCount": 18,
    "IsPostLiked": true,
    "ParentPersonID": 20,
    "ParentPersonName": "sample string 21",
    "RideTrackerID": 22,
    "PostID": 23,
    "ParentPostID": 24,
    "PersonID": 25,
    "TypeID": 1,
    "SecurityCode": "sample string 26",
    "Comment": "sample string 27",
    "PhotoID": 1,
    "PhotoID2": 1,
    "PhotoID3": 1,
    "PhotoID4": 1,
    "HorseID": 1,
    "CategoryID": 1,
    "SubCategoryID": 1,
    "SessionID": 1,
    "AssociatedPersonID": 1,
    "EquipmentID": 1,
    "LocalPath": "sample string 28",
    "Location": "sample string 29",
    "Latitude": "sample string 30",
    "Longitude": "sample string 31",
    "Cost": "sample string 32",
    "CostType": "sample string 33",
    "PhotoType": "sample string 34",
    "IsAddtoCalendar": true,
    "TimeSpent": 36,
    "DateModified": "2025-07-28T13:34:54.2693242-07:00",
    "DateCreated": "2025-07-28T13:34:54.2693242-07:00"
  },
  {
    "HorseOwnerID": 1,
    "FarrierVisitID": 2,
    "BodyVisitID": 3,
    "Post": "sample string 4",
    "PersonName": "sample string 5",
    "Title": "sample string 6",
    "Email": "sample string 7",
    "IsPostPhotoAvailable": true,
    "HorseName": "sample string 9",
    "PostCategoryName": "sample string 10",
    "PostCategoryIcon": "sample string 11",
    "PostSubCategoryName": "sample string 12",
    "PostSubCategoryIcon": "sample string 13",
    "MonthDescr": "sample string 14",
    "CroppedPost": "sample string 15",
    "InstructorID": 16,
    "InstructorName": "sample string 17",
    "PostLikeCount": 18,
    "IsPostLiked": true,
    "ParentPersonID": 20,
    "ParentPersonName": "sample string 21",
    "RideTrackerID": 22,
    "PostID": 23,
    "ParentPostID": 24,
    "PersonID": 25,
    "TypeID": 1,
    "SecurityCode": "sample string 26",
    "Comment": "sample string 27",
    "PhotoID": 1,
    "PhotoID2": 1,
    "PhotoID3": 1,
    "PhotoID4": 1,
    "HorseID": 1,
    "CategoryID": 1,
    "SubCategoryID": 1,
    "SessionID": 1,
    "AssociatedPersonID": 1,
    "EquipmentID": 1,
    "LocalPath": "sample string 28",
    "Location": "sample string 29",
    "Latitude": "sample string 30",
    "Longitude": "sample string 31",
    "Cost": "sample string 32",
    "CostType": "sample string 33",
    "PhotoType": "sample string 34",
    "IsAddtoCalendar": true,
    "TimeSpent": 36,
    "DateModified": "2025-07-28T13:34:54.2693242-07:00",
    "DateCreated": "2025-07-28T13:34:54.2693242-07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPostView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <PostView>
    <DateCreated>2025-07-28T13:34:54.2693242-07:00</DateCreated>
    <DateModified>2025-07-28T13:34:54.2693242-07:00</DateModified>
    <AssociatedPersonID>1</AssociatedPersonID>
    <CategoryID>1</CategoryID>
    <Comment>sample string 27</Comment>
    <Cost>sample string 32</Cost>
    <CostType>sample string 33</CostType>
    <EquipmentID>1</EquipmentID>
    <HorseID>1</HorseID>
    <IsAddtoCalendar>true</IsAddtoCalendar>
    <Latitude>sample string 30</Latitude>
    <LocalPath>sample string 28</LocalPath>
    <Location>sample string 29</Location>
    <Longitude>sample string 31</Longitude>
    <ParentPostID>24</ParentPostID>
    <PersonID>25</PersonID>
    <PhotoID>1</PhotoID>
    <PhotoID2>1</PhotoID2>
    <PhotoID3>1</PhotoID3>
    <PhotoID4>1</PhotoID4>
    <PhotoType>sample string 34</PhotoType>
    <PostID>23</PostID>
    <SecurityCode>sample string 26</SecurityCode>
    <SessionID>1</SessionID>
    <SubCategoryID>1</SubCategoryID>
    <TimeSpent>36</TimeSpent>
    <TypeID>1</TypeID>
    <BodyVisitID>3</BodyVisitID>
    <CroppedPost>sample string 15</CroppedPost>
    <Email>sample string 7</Email>
    <FarrierVisitID>2</FarrierVisitID>
    <HorseName>sample string 9</HorseName>
    <HorseOwnerID>1</HorseOwnerID>
    <InstructorID>16</InstructorID>
    <InstructorName>sample string 17</InstructorName>
    <IsPostLiked>true</IsPostLiked>
    <IsPostPhotoAvailable>true</IsPostPhotoAvailable>
    <MonthDescr>sample string 14</MonthDescr>
    <ParentPersonID>20</ParentPersonID>
    <ParentPersonName>sample string 21</ParentPersonName>
    <PersonName>sample string 5</PersonName>
    <Post>sample string 4</Post>
    <PostCategoryIcon>sample string 11</PostCategoryIcon>
    <PostCategoryName>sample string 10</PostCategoryName>
    <PostLikeCount>18</PostLikeCount>
    <PostSubCategoryIcon>sample string 13</PostSubCategoryIcon>
    <PostSubCategoryName>sample string 12</PostSubCategoryName>
    <RideTrackerID>22</RideTrackerID>
    <Title>sample string 6</Title>
  </PostView>
  <PostView>
    <DateCreated>2025-07-28T13:34:54.2693242-07:00</DateCreated>
    <DateModified>2025-07-28T13:34:54.2693242-07:00</DateModified>
    <AssociatedPersonID>1</AssociatedPersonID>
    <CategoryID>1</CategoryID>
    <Comment>sample string 27</Comment>
    <Cost>sample string 32</Cost>
    <CostType>sample string 33</CostType>
    <EquipmentID>1</EquipmentID>
    <HorseID>1</HorseID>
    <IsAddtoCalendar>true</IsAddtoCalendar>
    <Latitude>sample string 30</Latitude>
    <LocalPath>sample string 28</LocalPath>
    <Location>sample string 29</Location>
    <Longitude>sample string 31</Longitude>
    <ParentPostID>24</ParentPostID>
    <PersonID>25</PersonID>
    <PhotoID>1</PhotoID>
    <PhotoID2>1</PhotoID2>
    <PhotoID3>1</PhotoID3>
    <PhotoID4>1</PhotoID4>
    <PhotoType>sample string 34</PhotoType>
    <PostID>23</PostID>
    <SecurityCode>sample string 26</SecurityCode>
    <SessionID>1</SessionID>
    <SubCategoryID>1</SubCategoryID>
    <TimeSpent>36</TimeSpent>
    <TypeID>1</TypeID>
    <BodyVisitID>3</BodyVisitID>
    <CroppedPost>sample string 15</CroppedPost>
    <Email>sample string 7</Email>
    <FarrierVisitID>2</FarrierVisitID>
    <HorseName>sample string 9</HorseName>
    <HorseOwnerID>1</HorseOwnerID>
    <InstructorID>16</InstructorID>
    <InstructorName>sample string 17</InstructorName>
    <IsPostLiked>true</IsPostLiked>
    <IsPostPhotoAvailable>true</IsPostPhotoAvailable>
    <MonthDescr>sample string 14</MonthDescr>
    <ParentPersonID>20</ParentPersonID>
    <ParentPersonName>sample string 21</ParentPersonName>
    <PersonName>sample string 5</PersonName>
    <Post>sample string 4</Post>
    <PostCategoryIcon>sample string 11</PostCategoryIcon>
    <PostCategoryName>sample string 10</PostCategoryName>
    <PostLikeCount>18</PostLikeCount>
    <PostSubCategoryIcon>sample string 13</PostSubCategoryIcon>
    <PostSubCategoryName>sample string 12</PostSubCategoryName>
    <RideTrackerID>22</RideTrackerID>
    <Title>sample string 6</Title>
  </PostView>
</ArrayOfPostView>