GET api/Facilities/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Facilities
NameDescriptionTypeAdditional information
FACILITY_ID

integer

None.

ATYPE_ID

integer

None.

NAME

string

None.

ADDRESS

string

None.

ADDRESS2

string

None.

CITY

string

None.

STATE

string

None.

ZIPCODE

string

None.

PHONE

string

None.

FAX

string

None.

CONTACT

string

None.

DIV_ID

integer

None.

OLD

integer

None.

AddressType

AddressType

None.

Response Formats

application/json, text/json

Sample:
{
  "FACILITY_ID": 1,
  "ATYPE_ID": 2,
  "NAME": "sample string 3",
  "ADDRESS": "sample string 4",
  "ADDRESS2": "sample string 5",
  "CITY": "sample string 6",
  "STATE": "sample string 7",
  "ZIPCODE": "sample string 8",
  "PHONE": "sample string 9",
  "FAX": "sample string 10",
  "CONTACT": "sample string 11",
  "DIV_ID": 12,
  "OLD": 1,
  "AddressType": {
    "ATYPE_ID": 1,
    "TYPE_NAME": "sample string 2",
    "USAGE": 1,
    "DIV_ID": 3,
    "OLD": 1
  }
}

application/octet-stream

Sample:
{"FACILITY_ID":1,"ATYPE_ID":2,"NAME":"sample string 3","ADDRESS":"sample string 4","ADDRESS2":"sample string 5","CITY":"sample string 6","STATE":"sample string 7","ZIPCODE":"sample string 8","PHONE":"sample string 9","FAX":"sample string 10","CONTACT":"sample string 11","DIV_ID":12,"OLD":1,"AddressType":{"ATYPE_ID":1,"TYPE_NAME":"sample string 2","USAGE":1,"DIV_ID":3,"OLD":1}}

application/xml, text/xml

Sample:
<Facilities xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FACILITY_ID>1</FACILITY_ID>
  <ATYPE_ID>2</ATYPE_ID>
  <NAME>sample string 3</NAME>
  <ADDRESS>sample string 4</ADDRESS>
  <ADDRESS2>sample string 5</ADDRESS2>
  <CITY>sample string 6</CITY>
  <STATE>sample string 7</STATE>
  <ZIPCODE>sample string 8</ZIPCODE>
  <PHONE>sample string 9</PHONE>
  <FAX>sample string 10</FAX>
  <CONTACT>sample string 11</CONTACT>
  <DIV_ID>12</DIV_ID>
  <OLD>1</OLD>
  <AddressType>
    <ATYPE_ID>1</ATYPE_ID>
    <TYPE_NAME>sample string 2</TYPE_NAME>
    <USAGE>1</USAGE>
    <DIV_ID>3</DIV_ID>
    <OLD>1</OLD>
  </AddressType>
</Facilities>