GET api/Search/Missions?customerId={customerId}&businessId={businessId}&from={from}&to={to}&searchString={searchString}&pointOfSaleId={pointOfSaleId}&operationId={operationId}&areaManagerId={areaManagerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

businessId

integer

Required

from

date

Required

to

date

Required

searchString

string

None.

pointOfSaleId

integer

None.

operationId

integer

None.

areaManagerId

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ResultItem
NameDescriptionTypeAdditional information
Type

ResultType

None.

Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Type": 1,
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Type": 1,
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfResultItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.SearchResults">
  <ResultItem>
    <Id xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.Models">1</Id>
    <Name xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.Models">sample string 2</Name>
    <Type>Mission</Type>
  </ResultItem>
  <ResultItem>
    <Id xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.Models">1</Id>
    <Name xmlns="http://schemas.datacontract.org/2004/07/myReportysModels.Models">sample string 2</Name>
    <Type>Mission</Type>
  </ResultItem>
</ArrayOfResultItem>