GET v1/facilities/{facilityId}/getall

Gets all facility documents.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

The facility identifier.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

GetAllFacilityDocumentsResult
NameDescriptionTypeAdditional information
Documents

Collection of Document

None.

Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Documents": [
    {
      "FacilityId": "f3472a83-26fb-434b-b650-99c8b0a92e37",
      "FacilityName": "sample string 2",
      "DocumentName": "sample string 3",
      "DocumentType": "sample string 4",
      "UnitName": "sample string 5",
      "TenantFirstName": "sample string 6",
      "TenantLastName": "sample string 7",
      "PmsTenantId": "sample string 8",
      "DocumentId": "daa2064f-d257-4a60-89fb-06afad140b91"
    },
    {
      "FacilityId": "f3472a83-26fb-434b-b650-99c8b0a92e37",
      "FacilityName": "sample string 2",
      "DocumentName": "sample string 3",
      "DocumentType": "sample string 4",
      "UnitName": "sample string 5",
      "TenantFirstName": "sample string 6",
      "TenantLastName": "sample string 7",
      "PmsTenantId": "sample string 8",
      "DocumentId": "daa2064f-d257-4a60-89fb-06afad140b91"
    }
  ],
  "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:
<GetAllFacilityDocumentsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
    <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 xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">true</IsSuccess>
  <Documents>
    <Document>
      <DocumentId>daa2064f-d257-4a60-89fb-06afad140b91</DocumentId>
      <DocumentName>sample string 3</DocumentName>
      <DocumentType>sample string 4</DocumentType>
      <FacilityId>f3472a83-26fb-434b-b650-99c8b0a92e37</FacilityId>
      <FacilityName>sample string 2</FacilityName>
      <PmsTenantId>sample string 8</PmsTenantId>
      <TenantFirstName>sample string 6</TenantFirstName>
      <TenantLastName>sample string 7</TenantLastName>
      <UnitName>sample string 5</UnitName>
    </Document>
    <Document>
      <DocumentId>daa2064f-d257-4a60-89fb-06afad140b91</DocumentId>
      <DocumentName>sample string 3</DocumentName>
      <DocumentType>sample string 4</DocumentType>
      <FacilityId>f3472a83-26fb-434b-b650-99c8b0a92e37</FacilityId>
      <FacilityName>sample string 2</FacilityName>
      <PmsTenantId>sample string 8</PmsTenantId>
      <TenantFirstName>sample string 6</TenantFirstName>
      <TenantLastName>sample string 7</TenantLastName>
      <UnitName>sample string 5</UnitName>
    </Document>
  </Documents>
</GetAllFacilityDocumentsResult>