GET api/NTCosCompany/GetPreferedFacility?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfCompanyClinicDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CompanyClinicDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "CompanyClinicId": 1,
      "FacilityCode": "sample string 2",
      "CompanyCode": "sample string 3",
      "WLCode": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:32:10.8315739-08:00",
      "DateUpdated": "2024-11-21T00:32:10.8315739-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "Sequence": 1,
      "SiteName": "sample string 10",
      "ShortName": "sample string 11",
      "Address": "sample string 12",
      "Suite": "sample string 13",
      "City": "sample string 14",
      "State": "sample string 15",
      "Zip": "sample string 16",
      "Longitude": 1.1,
      "Latitude": 1.1,
      "Country": "sample string 17",
      "LastName": "sample string 18",
      "FirstName": "sample string 19",
      "MiddleName": "sample string 20",
      "Contact": "sample string 21",
      "AltContact": "sample string 22",
      "Phone": "sample string 23",
      "Phone2": "sample string 24",
      "Fax": "sample string 25",
      "Email": "sample string 26",
      "BussinessTime": "sample string 27",
      "IsMobile": true,
      "IsOnSite": true,
      "IsAppointmentRequired": true,
      "IsRefinery": true,
      "Note": "sample string 32",
      "LacFlag": true,
      "IsSiteOwn": true,
      "IsExcludedSearch": true,
      "isNew": true,
      "CollectionSiteSpecimen": [
        "sample string 1",
        "sample string 2"
      ],
      "SpecimenType": "sample string 1, sample string 2",
      "Distance": 37.1,
      "OwnedBy": "sample string 38",
      "FacilityServices": "sample string 39",
      "ByWorkLocation": true,
      "ByCorporation": true,
      "WorkLocationName": "sample string 42",
      "ServiceType": 43,
      "IsEccFacility": true,
      "IsMsFacility": true,
      "TimeZoneId": 1
    },
    {
      "CompanyClinicId": 1,
      "FacilityCode": "sample string 2",
      "CompanyCode": "sample string 3",
      "WLCode": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:32:10.8315739-08:00",
      "DateUpdated": "2024-11-21T00:32:10.8315739-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "Sequence": 1,
      "SiteName": "sample string 10",
      "ShortName": "sample string 11",
      "Address": "sample string 12",
      "Suite": "sample string 13",
      "City": "sample string 14",
      "State": "sample string 15",
      "Zip": "sample string 16",
      "Longitude": 1.1,
      "Latitude": 1.1,
      "Country": "sample string 17",
      "LastName": "sample string 18",
      "FirstName": "sample string 19",
      "MiddleName": "sample string 20",
      "Contact": "sample string 21",
      "AltContact": "sample string 22",
      "Phone": "sample string 23",
      "Phone2": "sample string 24",
      "Fax": "sample string 25",
      "Email": "sample string 26",
      "BussinessTime": "sample string 27",
      "IsMobile": true,
      "IsOnSite": true,
      "IsAppointmentRequired": true,
      "IsRefinery": true,
      "Note": "sample string 32",
      "LacFlag": true,
      "IsSiteOwn": true,
      "IsExcludedSearch": true,
      "isNew": true,
      "CollectionSiteSpecimen": [
        "sample string 1",
        "sample string 2"
      ],
      "SpecimenType": "sample string 1, sample string 2",
      "Distance": 37.1,
      "OwnedBy": "sample string 38",
      "FacilityServices": "sample string 39",
      "ByWorkLocation": true,
      "ByCorporation": true,
      "WorkLocationName": "sample string 42",
      "ServiceType": 43,
      "IsEccFacility": true,
      "IsMsFacility": true,
      "TimeZoneId": 1
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfCompanyClinicDTO3NYuOdgi 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:CompanyClinicDTO>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:AltContact>sample string 22</d2p1:AltContact>
      <d2p1:BussinessTime>sample string 27</d2p1:BussinessTime>
      <d2p1:ByCorporation>true</d2p1:ByCorporation>
      <d2p1:ByWorkLocation>true</d2p1:ByWorkLocation>
      <d2p1:City>sample string 14</d2p1:City>
      <d2p1:CollectionSiteSpecimen xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:CollectionSiteSpecimen>
      <d2p1:CompanyClinicId>1</d2p1:CompanyClinicId>
      <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode>
      <d2p1:Contact>sample string 21</d2p1:Contact>
      <d2p1:Country>sample string 17</d2p1:Country>
      <d2p1:DateCreated>2024-11-21T00:32:10.8315739-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:32:10.8315739-08:00</d2p1:DateUpdated>
      <d2p1:Distance>37.1</d2p1:Distance>
      <d2p1:Email>sample string 26</d2p1:Email>
      <d2p1:FacilityCode>sample string 2</d2p1:FacilityCode>
      <d2p1:FacilityServices>sample string 39</d2p1:FacilityServices>
      <d2p1:Fax>sample string 25</d2p1:Fax>
      <d2p1:FirstName>sample string 19</d2p1:FirstName>
      <d2p1:IsAppointmentRequired>true</d2p1:IsAppointmentRequired>
      <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
      <d2p1:IsExcludedSearch>true</d2p1:IsExcludedSearch>
      <d2p1:IsMobile>true</d2p1:IsMobile>
      <d2p1:IsMsFacility>true</d2p1:IsMsFacility>
      <d2p1:IsOnSite>true</d2p1:IsOnSite>
      <d2p1:IsRefinery>true</d2p1:IsRefinery>
      <d2p1:IsSiteOwn>true</d2p1:IsSiteOwn>
      <d2p1:LacFlag>true</d2p1:LacFlag>
      <d2p1:LastName>sample string 18</d2p1:LastName>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:MiddleName>sample string 20</d2p1:MiddleName>
      <d2p1:Note>sample string 32</d2p1:Note>
      <d2p1:OwnedBy>sample string 38</d2p1:OwnedBy>
      <d2p1:Phone>sample string 23</d2p1:Phone>
      <d2p1:Phone2>sample string 24</d2p1:Phone2>
      <d2p1:Sequence>1</d2p1:Sequence>
      <d2p1:ServiceType>43</d2p1:ServiceType>
      <d2p1:ShortName>sample string 11</d2p1:ShortName>
      <d2p1:SiteName>sample string 10</d2p1:SiteName>
      <d2p1:State>sample string 15</d2p1:State>
      <d2p1:Suite>sample string 13</d2p1:Suite>
      <d2p1:TimeZoneId>1</d2p1:TimeZoneId>
      <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WLCode>sample string 4</d2p1:WLCode>
      <d2p1:WorkLocationName>sample string 42</d2p1:WorkLocationName>
      <d2p1:Zip>sample string 16</d2p1:Zip>
      <d2p1:isNew>true</d2p1:isNew>
    </d2p1:CompanyClinicDTO>
    <d2p1:CompanyClinicDTO>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:AltContact>sample string 22</d2p1:AltContact>
      <d2p1:BussinessTime>sample string 27</d2p1:BussinessTime>
      <d2p1:ByCorporation>true</d2p1:ByCorporation>
      <d2p1:ByWorkLocation>true</d2p1:ByWorkLocation>
      <d2p1:City>sample string 14</d2p1:City>
      <d2p1:CollectionSiteSpecimen xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:CollectionSiteSpecimen>
      <d2p1:CompanyClinicId>1</d2p1:CompanyClinicId>
      <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode>
      <d2p1:Contact>sample string 21</d2p1:Contact>
      <d2p1:Country>sample string 17</d2p1:Country>
      <d2p1:DateCreated>2024-11-21T00:32:10.8315739-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:32:10.8315739-08:00</d2p1:DateUpdated>
      <d2p1:Distance>37.1</d2p1:Distance>
      <d2p1:Email>sample string 26</d2p1:Email>
      <d2p1:FacilityCode>sample string 2</d2p1:FacilityCode>
      <d2p1:FacilityServices>sample string 39</d2p1:FacilityServices>
      <d2p1:Fax>sample string 25</d2p1:Fax>
      <d2p1:FirstName>sample string 19</d2p1:FirstName>
      <d2p1:IsAppointmentRequired>true</d2p1:IsAppointmentRequired>
      <d2p1:IsEccFacility>true</d2p1:IsEccFacility>
      <d2p1:IsExcludedSearch>true</d2p1:IsExcludedSearch>
      <d2p1:IsMobile>true</d2p1:IsMobile>
      <d2p1:IsMsFacility>true</d2p1:IsMsFacility>
      <d2p1:IsOnSite>true</d2p1:IsOnSite>
      <d2p1:IsRefinery>true</d2p1:IsRefinery>
      <d2p1:IsSiteOwn>true</d2p1:IsSiteOwn>
      <d2p1:LacFlag>true</d2p1:LacFlag>
      <d2p1:LastName>sample string 18</d2p1:LastName>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:MiddleName>sample string 20</d2p1:MiddleName>
      <d2p1:Note>sample string 32</d2p1:Note>
      <d2p1:OwnedBy>sample string 38</d2p1:OwnedBy>
      <d2p1:Phone>sample string 23</d2p1:Phone>
      <d2p1:Phone2>sample string 24</d2p1:Phone2>
      <d2p1:Sequence>1</d2p1:Sequence>
      <d2p1:ServiceType>43</d2p1:ServiceType>
      <d2p1:ShortName>sample string 11</d2p1:ShortName>
      <d2p1:SiteName>sample string 10</d2p1:SiteName>
      <d2p1:State>sample string 15</d2p1:State>
      <d2p1:Suite>sample string 13</d2p1:Suite>
      <d2p1:TimeZoneId>1</d2p1:TimeZoneId>
      <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WLCode>sample string 4</d2p1:WLCode>
      <d2p1:WorkLocationName>sample string 42</d2p1:WorkLocationName>
      <d2p1:Zip>sample string 16</d2p1:Zip>
      <d2p1:isNew>true</d2p1:isNew>
    </d2p1:CompanyClinicDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCompanyClinicDTO3NYuOdgi>