POST api/persons/search/{start}/{length}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

string

Required

length

string

Required

Body Parameters

PersonSearchDto
NameDescriptionTypeAdditional information
Name

string

None.

Firstname

string

None.

Lastname

string

None.

Address

string

None.

Postcode

string

None.

City

string

None.

Country

string

None.

ShortUnique

string

None.

Email

string

None.

Telephone

string

None.

InCampaign

string

None.

UpdatedFrom

date

None.

UpdatedTo

date

None.

LastBuyFrom

date

None.

LastBuyTo

date

None.

InActiveCampaign

boolean

None.

RecentlyBought

boolean

None.

sortBy

string

None.

EsecoCustomerNumber

string

None.

PersonalNumber

string

None.

Products

PersonSearchProductsDto

None.

Campaigns

PersonSearchCampaignsDto

None.

IsStop

boolean

None.

IsDiseased

boolean

None.

IsFailedEmail

boolean

None.

IsFailedSms

boolean

None.

SearchOnlyPersons

boolean

None.

Tag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "firstname": "sample string 2",
  "lastname": "sample string 3",
  "address": "sample string 4",
  "postcode": "sample string 5",
  "city": "sample string 6",
  "country": "sample string 7",
  "shortUnique": "sample string 8",
  "email": "sample string 9",
  "telephone": "sample string 10",
  "inCampaign": "sample string 11",
  "updatedFrom": "2025-12-30T23:42:05.7683865+01:00",
  "updatedTo": "2025-12-30T23:42:05.7683865+01:00",
  "lastBuyFrom": "2025-12-30T23:42:05.7683865+01:00",
  "lastBuyTo": "2025-12-30T23:42:05.7683865+01:00",
  "inActiveCampaign": true,
  "recentlyBought": true,
  "sortBy": "sample string 12",
  "esecoCustomerNumber": "sample string 13",
  "personalNumber": "sample string 14",
  "products": {
    "products": [
      "e0c9d02a-7f19-456a-80c8-813edf13d944",
      "856c454c-8e73-421d-9cf4-99ed459dd4fd"
    ],
    "not": true,
    "from": "2025-12-30T23:42:05.7683865+01:00",
    "to": "2025-12-30T23:42:05.7683865+01:00"
  },
  "campaigns": {
    "campaigns": [
      "130a6bdd-bc64-444f-8729-f8ab42f7e938",
      "c8911cf6-aecc-46d8-a35e-f5d6988c217d"
    ],
    "not": true,
    "from": "2025-12-30T23:42:05.7683865+01:00",
    "to": "2025-12-30T23:42:05.7683865+01:00"
  },
  "isStop": true,
  "isDiseased": true,
  "isFailedEmail": true,
  "isFailedSms": true,
  "searchOnlyPersons": true,
  "tag": "sample string 15"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.