GET api/Service/GetOperatorList?startWith={startWith}&hasSearch={hasSearch}&role={role}

Get Operator List

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startWith

startWith as string, if startWith is empty it will return a whole list.

string

startWith as string, if startWith is empty it will return a whole list.

hasSearch

Not required for Web Service

boolean

Not required for Web Service

role

Not required for Web Service

string

Not required for Web Service

Body Parameters

None.

Response Information

Resource Description

Return a List of Operator

ReturnViewModel
NameDescriptionTypeAdditional information
Success

Success will return True / False based on Request Status

boolean

None.

Result

Result will be Object based on Request.
example: Strike Report View Model or Airport List

Object

None.

Total

Returns total number of records for list. For example: Airports, Operators Total count.

integer

None.

ErrorMessage

Returns error meesage if Success is False.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Result": {},
  "Total": 3,
  "ErrorMessage": "sample string 4"
}

text/html

Sample:
{"Success":true,"Result":{},"Total":3,"ErrorMessage":"sample string 4"}

application/xml, text/xml

Sample:
<ReturnViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Faa.wildlife.ResfulAPIService.Models">
  <ErrorMessage>sample string 4</ErrorMessage>
  <Result />
  <Success>true</Success>
  <Total>3</Total>
</ReturnViewModel>