POST api/NTCosCompany/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": "2026-06-20T12:51:37.8742566-07:00",
  "DateUpdated": "2026-06-20T12:51:37.8742566-07: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/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": "2026-06-20T12:51:37.8742566-07:00",
    "DateUpdated": "2026-06-20T12:51:37.8742566-07: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
}