GET api/Facility?FacilityID={FacilityID}

Method to Get Facility

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FacilityID

integer

Required

Body Parameters

None.

Response Information

Resource Description

On Success: HttpStatusCode = 200 On Authorization Error: HttpStatusCode = 401 On Forbidden: HttpStatusCode = 403

Facility
NameDescriptionTypeAdditional information
FacilityID

integer

None.

FacilityCode

string

None.

FacilityName

string

None.

CompanyID

integer

None.

Address1

string

None.

Address2

string

None.

City

string

None.

PostalCode

string

None.

State

string

None.

Country

string

None.

IsEnabled

boolean

None.

IsNss

boolean

None.

CreatedUserID

integer

None.

CreatedDateTime

date

None.

UpdatedUserID

integer

None.

UpdatedDateTime

date

None.

RowVersion

integer

None.

CRMRowVersion

integer

None.

IsValidated

boolean

None.

Address

string

None.

LogsFacilitySetupLogID

integer

None.

LogsFacilityID

integer

None.

LogsSetupDateTime

date

None.

LogsIsSuccessed

boolean

None.

LogsErrorLog

string

None.

LogsCreatedUserID

integer

None.

LogsCreatedDateTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "FacilityID": 1,
  "FacilityCode": "sample string 2",
  "FacilityName": "sample string 3",
  "CompanyID": 4,
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": "sample string 7",
  "PostalCode": "sample string 8",
  "State": "sample string 9",
  "Country": "sample string 10",
  "IsEnabled": true,
  "IsNss": true,
  "CreatedUserID": 13,
  "CreatedDateTime": "2017-12-15T14:06:37.1276744-06:00",
  "UpdatedUserID": 15,
  "UpdatedDateTime": "2017-12-15T14:06:37.1276744-06:00",
  "RowVersion": 17,
  "CRMRowVersion": 18,
  "IsValidated": true,
  "Address": "sample string 5 sample string 6 sample string 7",
  "LogsFacilitySetupLogID": 1,
  "LogsFacilityID": 1,
  "LogsSetupDateTime": "2017-12-15T14:06:37.1276744-06:00",
  "LogsIsSuccessed": true,
  "LogsErrorLog": "sample string 20",
  "LogsCreatedUserID": 1,
  "LogsCreatedDateTime": "2017-12-15T14:06:37.1276744-06:00"
}

application/xml, text/xml

Sample:
<Facility xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.Common">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <CRMRowVersion>18</CRMRowVersion>
  <City>sample string 7</City>
  <CompanyID>4</CompanyID>
  <Country>sample string 10</Country>
  <CreatedDateTime>2017-12-15T14:06:37.1276744-06:00</CreatedDateTime>
  <CreatedUserID>13</CreatedUserID>
  <FacilityCode>sample string 2</FacilityCode>
  <FacilityID>1</FacilityID>
  <FacilityName>sample string 3</FacilityName>
  <IsEnabled>true</IsEnabled>
  <IsNss>true</IsNss>
  <IsValidated>true</IsValidated>
  <LogsCreatedDateTime>2017-12-15T14:06:37.1276744-06:00</LogsCreatedDateTime>
  <LogsCreatedUserID>1</LogsCreatedUserID>
  <LogsErrorLog>sample string 20</LogsErrorLog>
  <LogsFacilityID>1</LogsFacilityID>
  <LogsFacilitySetupLogID>1</LogsFacilitySetupLogID>
  <LogsIsSuccessed>true</LogsIsSuccessed>
  <LogsSetupDateTime>2017-12-15T14:06:37.1276744-06:00</LogsSetupDateTime>
  <PostalCode>sample string 8</PostalCode>
  <RowVersion>17</RowVersion>
  <State>sample string 9</State>
  <UpdatedDateTime>2017-12-15T14:06:37.1276744-06:00</UpdatedDateTime>
  <UpdatedUserID>15</UpdatedUserID>
</Facility>