POST api/group/{id}/searching/{roleId}/matches?pageSize={pageSize}&pageNumber={pageNumber}&sort={sort}

Get property matches for a Searching Role for a Group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Group Id

integer

Required

roleId

Role Id

integer

Required

pageSize

Amount of results per page

integer

Default value is 5

pageNumber

Page number

integer

Default value is 1

sort

How to sort the results

Dezrez.Core.DataContracts.External.Api.Group.Query.PropertyMatches.GroupPropertyMatchSortType

Default value is ScoreDesc

Body Parameters

Match filter

Dezrez.Core.DataContracts.External.Api.Group.Query.PropertyMatches.GroupPropertyMatchFilterDataContract
NameDescriptionTypeAdditional information
BranchIds

Collection of integer

None.

NegotiatorId

integer

None.

ExcludeOfferAccepted

boolean

None.

ExcludeUnderOffer

boolean

None.

MarketedFrom

date

None.

IncludedRoleIds

Collection of integer

None.

ExcludedRoleIds

Collection of integer

None.

ExcludeMailoutDays

integer

None.

OwningTeamId

integer

None.

MinScore

integer

None.

Sort

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GroupPropertyMatchFilterDataContract'.

application/json, text/json

Sample:
{
  "BranchIds": [
    1,
    2
  ],
  "NegotiatorId": 1,
  "ExcludeOfferAccepted": true,
  "ExcludeUnderOffer": true,
  "MarketedFrom": "2024-03-29T14:26:40.1227929Z",
  "IncludedRoleIds": [
    1,
    2
  ],
  "ExcludedRoleIds": [
    1,
    2
  ],
  "ExcludeMailoutDays": 1,
  "OwningTeamId": 1,
  "MinScore": 3,
  "Sort": "sample string 4"
}

Response Information

Resource Description

A list of property roles

PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Group.Query.PropertyMatches.GroupPropertyMatchDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of Dezrez.Core.DataContracts.External.Api.Group.Query.PropertyMatches.GroupPropertyMatchDataContract

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'Dezrez.Core.Client.Common.Formatters.SanitizingJsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Group' with type 'Dezrez.Core.DataContracts.External.Api.Group.Query.Get.GroupDataContract'. Path 'Collection[0].Role.OwningTeam.PreferredCompanies[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'Dezrez.Core.Client.Common.Formatters.SanitizingJsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Group' with type 'Dezrez.Core.DataContracts.External.Api.Group.Query.Get.GroupDataContract'. Path 'Collection[0].Role.OwningTeam.PreferredCompanies[0]'.