GET api/Provider/Get?location={location}&keywords={keywords}&startingPageNbr={startingPageNbr}&pageSize={pageSize}&miles={miles}&offerings={offerings}&programTypes={programTypes}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
location

string

Default value is

keywords

string

Default value is

startingPageNbr

integer

Default value is 1

pageSize

integer

Default value is 25

miles

integer

Default value is 10

offerings

string

Default value is

programTypes

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ProvidersDTO
NameDescriptionTypeAdditional information
ResultList

Collection of TrainingProvider

None.

ResultCount

integer

None.

TotalRows

integer

None.

Status

string

None.

Error

ErrorDataContract

None.

MessageList

Collection of ErrorDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultList": [
    {
      "ProgramId": 1,
      "ProgramName": "sample string 2",
      "ProviderId": 3,
      "ProviderName": "sample string 4",
      "ProgramWebsite": "sample string 5",
      "Address": "sample string 6",
      "Address2": "sample string 7",
      "City": "sample string 8",
      "Zipcode": "sample string 9",
      "State": "sample string 10",
      "Phone": "sample string 11",
      "DetailsUrl": "sample string 12",
      "ProviderImageUrl": "sample string 13",
      "DetailsApiUrl": "sample string 14",
      "Distance": 15
    },
    {
      "ProgramId": 1,
      "ProgramName": "sample string 2",
      "ProviderId": 3,
      "ProviderName": "sample string 4",
      "ProgramWebsite": "sample string 5",
      "Address": "sample string 6",
      "Address2": "sample string 7",
      "City": "sample string 8",
      "Zipcode": "sample string 9",
      "State": "sample string 10",
      "Phone": "sample string 11",
      "DetailsUrl": "sample string 12",
      "ProviderImageUrl": "sample string 13",
      "DetailsApiUrl": "sample string 14",
      "Distance": 15
    }
  ],
  "ResultCount": 1,
  "TotalRows": 2,
  "Status": "sample string 3",
  "Error": {
    "Message": "sample string 1",
    "MessageId": "sample string 2"
  },
  "MessageList": [
    {
      "Message": "sample string 1",
      "MessageId": "sample string 2"
    },
    {
      "Message": "sample string 1",
      "MessageId": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ProvidersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Providers.DTO">
  <Error>
    <Message>sample string 1</Message>
    <MessageId>sample string 2</MessageId>
  </Error>
  <MessageList>
    <ErrorDataContract>
      <Message>sample string 1</Message>
      <MessageId>sample string 2</MessageId>
    </ErrorDataContract>
    <ErrorDataContract>
      <Message>sample string 1</Message>
      <MessageId>sample string 2</MessageId>
    </ErrorDataContract>
  </MessageList>
  <ResultCount>1</ResultCount>
  <ResultList>
    <TrainingProvider>
      <Address>sample string 6</Address>
      <Address2>sample string 7</Address2>
      <City>sample string 8</City>
      <DetailsApiUrl>sample string 14</DetailsApiUrl>
      <DetailsUrl>sample string 12</DetailsUrl>
      <Distance>15</Distance>
      <Phone>sample string 11</Phone>
      <ProgramId>1</ProgramId>
      <ProgramName>sample string 2</ProgramName>
      <ProgramWebsite>sample string 5</ProgramWebsite>
      <ProviderId>3</ProviderId>
      <ProviderImageUrl>sample string 13</ProviderImageUrl>
      <ProviderName>sample string 4</ProviderName>
      <State>sample string 10</State>
      <Zipcode>sample string 9</Zipcode>
    </TrainingProvider>
    <TrainingProvider>
      <Address>sample string 6</Address>
      <Address2>sample string 7</Address2>
      <City>sample string 8</City>
      <DetailsApiUrl>sample string 14</DetailsApiUrl>
      <DetailsUrl>sample string 12</DetailsUrl>
      <Distance>15</Distance>
      <Phone>sample string 11</Phone>
      <ProgramId>1</ProgramId>
      <ProgramName>sample string 2</ProgramName>
      <ProgramWebsite>sample string 5</ProgramWebsite>
      <ProviderId>3</ProviderId>
      <ProviderImageUrl>sample string 13</ProviderImageUrl>
      <ProviderName>sample string 4</ProviderName>
      <State>sample string 10</State>
      <Zipcode>sample string 9</Zipcode>
    </TrainingProvider>
  </ResultList>
  <Status>sample string 3</Status>
  <TotalRows>2</TotalRows>
</ProvidersDTO>