POST api/CosEccSummary/UpdateFacilityByWorkLocation

Request Information

URI Parameters

None.

Body Parameters

CompanyClinicDTO
NameDescriptionTypeAdditional information
CompanyClinicId

integer

None.

FacilityCode

string

String length: inclusive between 0 and 10

CompanyCode

string

String length: inclusive between 0 and 10

WLCode

string

String length: inclusive between 0 and 20

ValidFlag

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UserIDCreated

integer

None.

UserIDUpdated

integer

None.

Sequence

integer

None.

SiteName

string

String length: inclusive between 0 and 200

ShortName

string

String length: inclusive between 0 and 30

Address

string

String length: inclusive between 0 and 60

Suite

string

String length: inclusive between 0 and 10

City

string

String length: inclusive between 0 and 30

State

string

String length: inclusive between 0 and 2

Zip

string

String length: inclusive between 0 and 10

Longitude

decimal number

None.

Latitude

decimal number

None.

Country

string

String length: inclusive between 0 and 15

LastName

string

String length: inclusive between 0 and 50

FirstName

string

String length: inclusive between 0 and 50

MiddleName

string

String length: inclusive between 0 and 50

Contact

string

String length: inclusive between 0 and 40

AltContact

string

String length: inclusive between 0 and 40

Phone

string

String length: inclusive between 0 and 20

Phone2

string

String length: inclusive between 0 and 20

Fax

string

String length: inclusive between 0 and 20

Email

string

String length: inclusive between 0 and 200

BussinessTime

string

String length: inclusive between 0 and 60

IsMobile

boolean

None.

IsOnSite

boolean

None.

IsAppointmentRequired

boolean

None.

IsRefinery

boolean

None.

Note

string

String length: inclusive between 0 and 100

LacFlag

boolean

None.

IsSiteOwn

boolean

None.

IsExcludedSearch

boolean

None.

isNew

boolean

None.

CollectionSiteSpecimen

Collection of string

None.

SpecimenType

string

String length: inclusive between 0 and 4

Distance

decimal number

None.

OwnedBy

string

String length: inclusive between 0 and 10

FacilityServices

string

String length: inclusive between 0 and 50

ByWorkLocation

boolean

None.

ByCorporation

boolean

None.

WorkLocationName

string

String length: inclusive between 0 and 500

ServiceType

integer

None.

IsEccFacility

boolean

None.

IsMsFacility

boolean

None.

TimeZoneId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyClinicId": 1,
  "FacilityCode": "sample string 2",
  "CompanyCode": "sample string 3",
  "WLCode": "sample string 4",
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:33:47.5899542-08:00",
  "DateUpdated": "2024-11-21T00:33:47.5909543-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
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfCompanyClinicDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

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:33:48.0531689-08:00",
    "DateUpdated": "2024-11-21T00:33:48.0531689-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:
<AsapResponseOfCompanyClinicDTO3NYuOdgi 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: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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1: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:33:48.0531689-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:33:48.0531689-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>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfCompanyClinicDTO3NYuOdgi>