GET v1/api/provider/listProviders?scheme_id={scheme_id}&descpline={descpline}&lng={lng}&lat={lat}&state={state}&city={city}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
scheme_id | integer |
Required |
|
descpline | string |
None. |
|
lng | decimal number |
Default value is 0 |
|
lat | decimal number |
Default value is 0 |
|
state | string |
None. |
|
city | string |
None. |
Body Parameters
None.
Response Information
Resource Description
listProvidersResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
providerTypeList | Collection of providerTypes |
None. |
|
hospitals | Collection of ProviderData |
None. |
|
hospitalNearMe | Collection of ProviderData |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "errorMsg": "sample string 2", "providerTypeList": [ { "typeCode": "sample string 1", "providerTypeName": "sample string 2" }, { "typeCode": "sample string 1", "providerTypeName": "sample string 2" } ], "hospitals": [ { "lng": 1.1, "lat": 2.1, "yearsOfExp": 3, "doctorCount": 4, "distance": 5.1, "bioData": "sample string 6", "provider_id": 7, "providerName": "sample string 8", "rating": 9.0, "colorCode_HEX": "sample string 10", "colorCode_RGB": "sample string 11", "abbrivation": "sample string 12", "emailAddress": "sample string 13", "mobileNo": "sample string 14", "state": "sample string 15", "city": "sample string 16", "providerTypeName": "sample string 17", "providerTypeCode": "sample string 18", "address": "sample string 19", "stateCode": "sample string 20" }, { "lng": 1.1, "lat": 2.1, "yearsOfExp": 3, "doctorCount": 4, "distance": 5.1, "bioData": "sample string 6", "provider_id": 7, "providerName": "sample string 8", "rating": 9.0, "colorCode_HEX": "sample string 10", "colorCode_RGB": "sample string 11", "abbrivation": "sample string 12", "emailAddress": "sample string 13", "mobileNo": "sample string 14", "state": "sample string 15", "city": "sample string 16", "providerTypeName": "sample string 17", "providerTypeCode": "sample string 18", "address": "sample string 19", "stateCode": "sample string 20" } ], "hospitalNearMe": [ { "lng": 1.1, "lat": 2.1, "yearsOfExp": 3, "doctorCount": 4, "distance": 5.1, "bioData": "sample string 6", "provider_id": 7, "providerName": "sample string 8", "rating": 9.0, "colorCode_HEX": "sample string 10", "colorCode_RGB": "sample string 11", "abbrivation": "sample string 12", "emailAddress": "sample string 13", "mobileNo": "sample string 14", "state": "sample string 15", "city": "sample string 16", "providerTypeName": "sample string 17", "providerTypeCode": "sample string 18", "address": "sample string 19", "stateCode": "sample string 20" }, { "lng": 1.1, "lat": 2.1, "yearsOfExp": 3, "doctorCount": 4, "distance": 5.1, "bioData": "sample string 6", "provider_id": 7, "providerName": "sample string 8", "rating": 9.0, "colorCode_HEX": "sample string 10", "colorCode_RGB": "sample string 11", "abbrivation": "sample string 12", "emailAddress": "sample string 13", "mobileNo": "sample string 14", "state": "sample string 15", "city": "sample string 16", "providerTypeName": "sample string 17", "providerTypeCode": "sample string 18", "address": "sample string 19", "stateCode": "sample string 20" } ] }
application/xml, text/xml
Sample:
<listProvidersResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.listProviders"> <errorMsg>sample string 2</errorMsg> <hospitalNearMe> <listProvidersResult.ProviderData> <abbrivation>sample string 12</abbrivation> <address>sample string 19</address> <bioData>sample string 6</bioData> <city>sample string 16</city> <colorCode_HEX>sample string 10</colorCode_HEX> <colorCode_RGB>sample string 11</colorCode_RGB> <distance>5.1</distance> <doctorCount>4</doctorCount> <emailAddress>sample string 13</emailAddress> <lat>2.1</lat> <lng>1.1</lng> <mobileNo>sample string 14</mobileNo> <providerName>sample string 8</providerName> <providerTypeCode>sample string 18</providerTypeCode> <providerTypeName>sample string 17</providerTypeName> <provider_id>7</provider_id> <rating>9</rating> <state>sample string 15</state> <stateCode>sample string 20</stateCode> <yearsOfExp>3</yearsOfExp> </listProvidersResult.ProviderData> <listProvidersResult.ProviderData> <abbrivation>sample string 12</abbrivation> <address>sample string 19</address> <bioData>sample string 6</bioData> <city>sample string 16</city> <colorCode_HEX>sample string 10</colorCode_HEX> <colorCode_RGB>sample string 11</colorCode_RGB> <distance>5.1</distance> <doctorCount>4</doctorCount> <emailAddress>sample string 13</emailAddress> <lat>2.1</lat> <lng>1.1</lng> <mobileNo>sample string 14</mobileNo> <providerName>sample string 8</providerName> <providerTypeCode>sample string 18</providerTypeCode> <providerTypeName>sample string 17</providerTypeName> <provider_id>7</provider_id> <rating>9</rating> <state>sample string 15</state> <stateCode>sample string 20</stateCode> <yearsOfExp>3</yearsOfExp> </listProvidersResult.ProviderData> </hospitalNearMe> <hospitals> <listProvidersResult.ProviderData> <abbrivation>sample string 12</abbrivation> <address>sample string 19</address> <bioData>sample string 6</bioData> <city>sample string 16</city> <colorCode_HEX>sample string 10</colorCode_HEX> <colorCode_RGB>sample string 11</colorCode_RGB> <distance>5.1</distance> <doctorCount>4</doctorCount> <emailAddress>sample string 13</emailAddress> <lat>2.1</lat> <lng>1.1</lng> <mobileNo>sample string 14</mobileNo> <providerName>sample string 8</providerName> <providerTypeCode>sample string 18</providerTypeCode> <providerTypeName>sample string 17</providerTypeName> <provider_id>7</provider_id> <rating>9</rating> <state>sample string 15</state> <stateCode>sample string 20</stateCode> <yearsOfExp>3</yearsOfExp> </listProvidersResult.ProviderData> <listProvidersResult.ProviderData> <abbrivation>sample string 12</abbrivation> <address>sample string 19</address> <bioData>sample string 6</bioData> <city>sample string 16</city> <colorCode_HEX>sample string 10</colorCode_HEX> <colorCode_RGB>sample string 11</colorCode_RGB> <distance>5.1</distance> <doctorCount>4</doctorCount> <emailAddress>sample string 13</emailAddress> <lat>2.1</lat> <lng>1.1</lng> <mobileNo>sample string 14</mobileNo> <providerName>sample string 8</providerName> <providerTypeCode>sample string 18</providerTypeCode> <providerTypeName>sample string 17</providerTypeName> <provider_id>7</provider_id> <rating>9</rating> <state>sample string 15</state> <stateCode>sample string 20</stateCode> <yearsOfExp>3</yearsOfExp> </listProvidersResult.ProviderData> </hospitals> <providerTypeList> <listProvidersResult.providerTypes> <providerTypeName>sample string 2</providerTypeName> <typeCode>sample string 1</typeCode> </listProvidersResult.providerTypes> <listProvidersResult.providerTypes> <providerTypeName>sample string 2</providerTypeName> <typeCode>sample string 1</typeCode> </listProvidersResult.providerTypes> </providerTypeList> <success>true</success> </listProvidersResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2","providerTypeList":[{"typeCode":"sample string 1","providerTypeName":"sample string 2"},{"typeCode":"sample string 1","providerTypeName":"sample string 2"}],"hospitals":[{"lng":1.1,"lat":2.1,"yearsOfExp":3,"doctorCount":4,"distance":5.1,"bioData":"sample string 6","provider_id":7,"providerName":"sample string 8","rating":9.0,"colorCode_HEX":"sample string 10","colorCode_RGB":"sample string 11","abbrivation":"sample string 12","emailAddress":"sample string 13","mobileNo":"sample string 14","state":"sample string 15","city":"sample string 16","providerTypeName":"sample string 17","providerTypeCode":"sample string 18","address":"sample string 19","stateCode":"sample string 20"},{"lng":1.1,"lat":2.1,"yearsOfExp":3,"doctorCount":4,"distance":5.1,"bioData":"sample string 6","provider_id":7,"providerName":"sample string 8","rating":9.0,"colorCode_HEX":"sample string 10","colorCode_RGB":"sample string 11","abbrivation":"sample string 12","emailAddress":"sample string 13","mobileNo":"sample string 14","state":"sample string 15","city":"sample string 16","providerTypeName":"sample string 17","providerTypeCode":"sample string 18","address":"sample string 19","stateCode":"sample string 20"}],"hospitalNearMe":[{"lng":1.1,"lat":2.1,"yearsOfExp":3,"doctorCount":4,"distance":5.1,"bioData":"sample string 6","provider_id":7,"providerName":"sample string 8","rating":9.0,"colorCode_HEX":"sample string 10","colorCode_RGB":"sample string 11","abbrivation":"sample string 12","emailAddress":"sample string 13","mobileNo":"sample string 14","state":"sample string 15","city":"sample string 16","providerTypeName":"sample string 17","providerTypeCode":"sample string 18","address":"sample string 19","stateCode":"sample string 20"},{"lng":1.1,"lat":2.1,"yearsOfExp":3,"doctorCount":4,"distance":5.1,"bioData":"sample string 6","provider_id":7,"providerName":"sample string 8","rating":9.0,"colorCode_HEX":"sample string 10","colorCode_RGB":"sample string 11","abbrivation":"sample string 12","emailAddress":"sample string 13","mobileNo":"sample string 14","state":"sample string 15","city":"sample string 16","providerTypeName":"sample string 17","providerTypeCode":"sample string 18","address":"sample string 19","stateCode":"sample string 20"}]}