GET api/CosEccSummary/GetPreferredFacility?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfGroupFacilityMapDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of GroupFacilityMapDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "SiteName": "sample string 1",
      "Latitude": 2.1,
      "Longitude": 3.1,
      "Facilities": [
        {
          "SiteName": "sample string 1",
          "ShortName": "sample string 2",
          "Address": "sample string 3",
          "Suite": "sample string 4",
          "City": "sample string 5",
          "State": "sample string 6",
          "Zip": "sample string 7",
          "Longitude": 8.1,
          "Latitude": 9.1,
          "Country": "sample string 10",
          "ValidFlag": true,
          "CompanyCode": "sample string 12",
          "FacilityCode": "sample string 13",
          "WLCode": "sample string 14",
          "Phone": "sample string 15",
          "Phone2": "sample string 16",
          "Fax": "sample string 17",
          "Distance": 18.1,
          "IsNonPrefered": true,
          "Rating": 1.1,
          "FacilityServices": "sample string 20",
          "PlaceId": "sample string 21",
          "IsEccFacility": true,
          "IsMedicalFacility": true,
          "ComponentId": 1
        },
        {
          "SiteName": "sample string 1",
          "ShortName": "sample string 2",
          "Address": "sample string 3",
          "Suite": "sample string 4",
          "City": "sample string 5",
          "State": "sample string 6",
          "Zip": "sample string 7",
          "Longitude": 8.1,
          "Latitude": 9.1,
          "Country": "sample string 10",
          "ValidFlag": true,
          "CompanyCode": "sample string 12",
          "FacilityCode": "sample string 13",
          "WLCode": "sample string 14",
          "Phone": "sample string 15",
          "Phone2": "sample string 16",
          "Fax": "sample string 17",
          "Distance": 18.1,
          "IsNonPrefered": true,
          "Rating": 1.1,
          "FacilityServices": "sample string 20",
          "PlaceId": "sample string 21",
          "IsEccFacility": true,
          "IsMedicalFacility": true,
          "ComponentId": 1
        }
      ]
    },
    {
      "SiteName": "sample string 1",
      "Latitude": 2.1,
      "Longitude": 3.1,
      "Facilities": [
        {
          "SiteName": "sample string 1",
          "ShortName": "sample string 2",
          "Address": "sample string 3",
          "Suite": "sample string 4",
          "City": "sample string 5",
          "State": "sample string 6",
          "Zip": "sample string 7",
          "Longitude": 8.1,
          "Latitude": 9.1,
          "Country": "sample string 10",
          "ValidFlag": true,
          "CompanyCode": "sample string 12",
          "FacilityCode": "sample string 13",
          "WLCode": "sample string 14",
          "Phone": "sample string 15",
          "Phone2": "sample string 16",
          "Fax": "sample string 17",
          "Distance": 18.1,
          "IsNonPrefered": true,
          "Rating": 1.1,
          "FacilityServices": "sample string 20",
          "PlaceId": "sample string 21",
          "IsEccFacility": true,
          "IsMedicalFacility": true,
          "ComponentId": 1
        },
        {
          "SiteName": "sample string 1",
          "ShortName": "sample string 2",
          "Address": "sample string 3",
          "Suite": "sample string 4",
          "City": "sample string 5",
          "State": "sample string 6",
          "Zip": "sample string 7",
          "Longitude": 8.1,
          "Latitude": 9.1,
          "Country": "sample string 10",
          "ValidFlag": true,
          "CompanyCode": "sample string 12",
          "FacilityCode": "sample string 13",
          "WLCode": "sample string 14",
          "Phone": "sample string 15",
          "Phone2": "sample string 16",
          "Fax": "sample string 17",
          "Distance": 18.1,
          "IsNonPrefered": true,
          "Rating": 1.1,
          "FacilityServices": "sample string 20",
          "PlaceId": "sample string 21",
          "IsEccFacility": true,
          "IsMedicalFacility": true,
          "ComponentId": 1
        }
      ]
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfGroupFacilityMapDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:GroupFacilityMapDTO>
      <d2p1:Facilities>
        <d2p1:FacilityMapDTO>
          <d2p1:Address>sample string 3</d2p1:Address>
          <d2p1:City>sample string 5</d2p1:City>
          <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
          <d2p1:ComponentId>1</d2p1:ComponentId>
          <d2p1:Country>sample string 10</d2p1:Country>
          <d2p1:Distance>18.1</d2p1:Distance>
          <d2p1:FacilityCode>sample string 13</d2p1:FacilityCode>
          <d2p1:FacilityServices>sample string 20</d2p1:FacilityServices>
          <d2p1:Fax>sample string 17</d2p1:Fax>
          <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
          <d2p1:IsMedicalFacility>true</d2p1:IsMedicalFacility>
          <d2p1:IsNonPrefered>true</d2p1:IsNonPrefered>
          <d2p1:Latitude>9.1</d2p1:Latitude>
          <d2p1:Longitude>8.1</d2p1:Longitude>
          <d2p1:Phone>sample string 15</d2p1:Phone>
          <d2p1:Phone2>sample string 16</d2p1:Phone2>
          <d2p1:PlaceId>sample string 21</d2p1:PlaceId>
          <d2p1:Rating>1.1</d2p1:Rating>
          <d2p1:ShortName>sample string 2</d2p1:ShortName>
          <d2p1:SiteName>sample string 1</d2p1:SiteName>
          <d2p1:State>sample string 6</d2p1:State>
          <d2p1:Suite>sample string 4</d2p1:Suite>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:WLCode>sample string 14</d2p1:WLCode>
          <d2p1:Zip>sample string 7</d2p1:Zip>
        </d2p1:FacilityMapDTO>
        <d2p1:FacilityMapDTO>
          <d2p1:Address>sample string 3</d2p1:Address>
          <d2p1:City>sample string 5</d2p1:City>
          <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
          <d2p1:ComponentId>1</d2p1:ComponentId>
          <d2p1:Country>sample string 10</d2p1:Country>
          <d2p1:Distance>18.1</d2p1:Distance>
          <d2p1:FacilityCode>sample string 13</d2p1:FacilityCode>
          <d2p1:FacilityServices>sample string 20</d2p1:FacilityServices>
          <d2p1:Fax>sample string 17</d2p1:Fax>
          <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
          <d2p1:IsMedicalFacility>true</d2p1:IsMedicalFacility>
          <d2p1:IsNonPrefered>true</d2p1:IsNonPrefered>
          <d2p1:Latitude>9.1</d2p1:Latitude>
          <d2p1:Longitude>8.1</d2p1:Longitude>
          <d2p1:Phone>sample string 15</d2p1:Phone>
          <d2p1:Phone2>sample string 16</d2p1:Phone2>
          <d2p1:PlaceId>sample string 21</d2p1:PlaceId>
          <d2p1:Rating>1.1</d2p1:Rating>
          <d2p1:ShortName>sample string 2</d2p1:ShortName>
          <d2p1:SiteName>sample string 1</d2p1:SiteName>
          <d2p1:State>sample string 6</d2p1:State>
          <d2p1:Suite>sample string 4</d2p1:Suite>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:WLCode>sample string 14</d2p1:WLCode>
          <d2p1:Zip>sample string 7</d2p1:Zip>
        </d2p1:FacilityMapDTO>
      </d2p1:Facilities>
      <d2p1:Latitude>2.1</d2p1:Latitude>
      <d2p1:Longitude>3.1</d2p1:Longitude>
      <d2p1:SiteName>sample string 1</d2p1:SiteName>
    </d2p1:GroupFacilityMapDTO>
    <d2p1:GroupFacilityMapDTO>
      <d2p1:Facilities>
        <d2p1:FacilityMapDTO>
          <d2p1:Address>sample string 3</d2p1:Address>
          <d2p1:City>sample string 5</d2p1:City>
          <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
          <d2p1:ComponentId>1</d2p1:ComponentId>
          <d2p1:Country>sample string 10</d2p1:Country>
          <d2p1:Distance>18.1</d2p1:Distance>
          <d2p1:FacilityCode>sample string 13</d2p1:FacilityCode>
          <d2p1:FacilityServices>sample string 20</d2p1:FacilityServices>
          <d2p1:Fax>sample string 17</d2p1:Fax>
          <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
          <d2p1:IsMedicalFacility>true</d2p1:IsMedicalFacility>
          <d2p1:IsNonPrefered>true</d2p1:IsNonPrefered>
          <d2p1:Latitude>9.1</d2p1:Latitude>
          <d2p1:Longitude>8.1</d2p1:Longitude>
          <d2p1:Phone>sample string 15</d2p1:Phone>
          <d2p1:Phone2>sample string 16</d2p1:Phone2>
          <d2p1:PlaceId>sample string 21</d2p1:PlaceId>
          <d2p1:Rating>1.1</d2p1:Rating>
          <d2p1:ShortName>sample string 2</d2p1:ShortName>
          <d2p1:SiteName>sample string 1</d2p1:SiteName>
          <d2p1:State>sample string 6</d2p1:State>
          <d2p1:Suite>sample string 4</d2p1:Suite>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:WLCode>sample string 14</d2p1:WLCode>
          <d2p1:Zip>sample string 7</d2p1:Zip>
        </d2p1:FacilityMapDTO>
        <d2p1:FacilityMapDTO>
          <d2p1:Address>sample string 3</d2p1:Address>
          <d2p1:City>sample string 5</d2p1:City>
          <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
          <d2p1:ComponentId>1</d2p1:ComponentId>
          <d2p1:Country>sample string 10</d2p1:Country>
          <d2p1:Distance>18.1</d2p1:Distance>
          <d2p1:FacilityCode>sample string 13</d2p1:FacilityCode>
          <d2p1:FacilityServices>sample string 20</d2p1:FacilityServices>
          <d2p1:Fax>sample string 17</d2p1:Fax>
          <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
          <d2p1:IsMedicalFacility>true</d2p1:IsMedicalFacility>
          <d2p1:IsNonPrefered>true</d2p1:IsNonPrefered>
          <d2p1:Latitude>9.1</d2p1:Latitude>
          <d2p1:Longitude>8.1</d2p1:Longitude>
          <d2p1:Phone>sample string 15</d2p1:Phone>
          <d2p1:Phone2>sample string 16</d2p1:Phone2>
          <d2p1:PlaceId>sample string 21</d2p1:PlaceId>
          <d2p1:Rating>1.1</d2p1:Rating>
          <d2p1:ShortName>sample string 2</d2p1:ShortName>
          <d2p1:SiteName>sample string 1</d2p1:SiteName>
          <d2p1:State>sample string 6</d2p1:State>
          <d2p1:Suite>sample string 4</d2p1:Suite>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:WLCode>sample string 14</d2p1:WLCode>
          <d2p1:Zip>sample string 7</d2p1:Zip>
        </d2p1:FacilityMapDTO>
      </d2p1:Facilities>
      <d2p1:Latitude>2.1</d2p1:Latitude>
      <d2p1:Longitude>3.1</d2p1:Longitude>
      <d2p1:SiteName>sample string 1</d2p1:SiteName>
    </d2p1:GroupFacilityMapDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfGroupFacilityMapDTO3NYuOdgi>