GET api/NE/MailHistorySearch?returnBarcode={returnBarcode}&personId={personId}&name={name}&addressLine1={addressLine1}&city={city}&zip={zip}&mailTypeId={mailTypeId}&mailStatusId={mailStatusId}&preparedDate={preparedDate}&sentDate={sentDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
returnBarcode

string

Required

personId

integer

Required

name

string

Required

addressLine1

string

Required

city

string

Required

zip

string

Required

mailTypeId

byte

Required

mailStatusId

byte

Required

preparedDate

date

Required

sentDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MailSearchResult
NameDescriptionTypeAdditional information
MailHistoryId

integer

None.

ReturnBarcode

string

None.

Name

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateName

string

None.

Zip

string

None.

MailStatus

string

None.

MailType

string

None.

PreparedDate

date

None.

SentDate

date

None.

PersonId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "$type": "NE.Models.Models.MailSearchResult, NE.Models",
    "MailHistoryId": 1,
    "ReturnBarcode": "sample string 2",
    "Name": "sample string 3",
    "AddressLine1": "sample string 4",
    "AddressLine2": "sample string 5",
    "City": "sample string 6",
    "StateName": "sample string 7",
    "Zip": "sample string 8",
    "MailStatus": "sample string 9",
    "MailType": "sample string 10",
    "PreparedDate": "2022-08-13T22:12:48.116+00:00",
    "SentDate": "2022-08-13T22:12:48.116+00:00",
    "PersonId": 1
  },
  {
    "$ref": "1"
  }
]