GET v1/facilities

Gets the facilities.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Facilities
NameDescriptionTypeAdditional information
FacilitiesList

Collection of FacilitiesItem

None.

Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "FacilitiesList": [
    {
      "IssnUsersExternalId": "sample string 1",
      "FacilityName": "sample string 2",
      "FacilityId": "927b3d38-945a-462c-a991-856f653c777b",
      "Address1": "sample string 4",
      "Address2": "sample string 5",
      "City": "sample string 6",
      "StateOrProvince": "sample string 7",
      "PostalCode": "sample string 8",
      "Country": "sample string 9",
      "Phone": "sample string 10",
      "Fax": "sample string 11",
      "WebSite": "sample string 12",
      "AccountName": "sample string 13",
      "AccountId": "dbd3b0e1-08fd-475e-9b57-5b2e264aa1db",
      "PropertyManagementSystemFacilityId": "sample string 15"
    },
    {
      "IssnUsersExternalId": "sample string 1",
      "FacilityName": "sample string 2",
      "FacilityId": "927b3d38-945a-462c-a991-856f653c777b",
      "Address1": "sample string 4",
      "Address2": "sample string 5",
      "City": "sample string 6",
      "StateOrProvince": "sample string 7",
      "PostalCode": "sample string 8",
      "Country": "sample string 9",
      "Phone": "sample string 10",
      "Fax": "sample string 11",
      "WebSite": "sample string 12",
      "AccountName": "sample string 13",
      "AccountId": "dbd3b0e1-08fd-475e-9b57-5b2e264aa1db",
      "PropertyManagementSystemFacilityId": "sample string 15"
    }
  ],
  "Errors": [
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  ],
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<Facilities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
  </Errors>
  <IsSuccess>true</IsSuccess>
  <FacilitiesList>
    <FacilitiesItem>
      <AccountId>dbd3b0e1-08fd-475e-9b57-5b2e264aa1db</AccountId>
      <AccountName>sample string 13</AccountName>
      <Address1>sample string 4</Address1>
      <Address2>sample string 5</Address2>
      <City>sample string 6</City>
      <Country>sample string 9</Country>
      <FacilityId>927b3d38-945a-462c-a991-856f653c777b</FacilityId>
      <FacilityName>sample string 2</FacilityName>
      <Fax>sample string 11</Fax>
      <IssnUsersExternalId>sample string 1</IssnUsersExternalId>
      <Phone>sample string 10</Phone>
      <PostalCode>sample string 8</PostalCode>
      <PropertyManagementSystemFacilityId>sample string 15</PropertyManagementSystemFacilityId>
      <StateOrProvince>sample string 7</StateOrProvince>
      <WebSite>sample string 12</WebSite>
    </FacilitiesItem>
    <FacilitiesItem>
      <AccountId>dbd3b0e1-08fd-475e-9b57-5b2e264aa1db</AccountId>
      <AccountName>sample string 13</AccountName>
      <Address1>sample string 4</Address1>
      <Address2>sample string 5</Address2>
      <City>sample string 6</City>
      <Country>sample string 9</Country>
      <FacilityId>927b3d38-945a-462c-a991-856f653c777b</FacilityId>
      <FacilityName>sample string 2</FacilityName>
      <Fax>sample string 11</Fax>
      <IssnUsersExternalId>sample string 1</IssnUsersExternalId>
      <Phone>sample string 10</Phone>
      <PostalCode>sample string 8</PostalCode>
      <PropertyManagementSystemFacilityId>sample string 15</PropertyManagementSystemFacilityId>
      <StateOrProvince>sample string 7</StateOrProvince>
      <WebSite>sample string 12</WebSite>
    </FacilitiesItem>
  </FacilitiesList>
</Facilities>