GET v1/xpresscollect/facilities/all

Gets all xpress collect facilities.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

XpressCollectFacilityBindingModel
NameDescriptionTypeAdditional information
Facilities

Collection of XpressCollectFacility

None.

Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Facilities": [
    {
      "FacilityName": "sample string 1",
      "FacilityId": "398eec3e-149d-417b-8f75-911544cf8fda",
      "AccountId": "6ed3beeb-b4ba-438e-9f3b-870b3db5cb60",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2021-07-31T04:14:54.8508169-07:00",
      "UtcOffset": 5
    },
    {
      "FacilityName": "sample string 1",
      "FacilityId": "398eec3e-149d-417b-8f75-911544cf8fda",
      "AccountId": "6ed3beeb-b4ba-438e-9f3b-870b3db5cb60",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2021-07-31T04:14:54.8508169-07:00",
      "UtcOffset": 5
    }
  ],
  "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:
<XpressCollectFacilityBindingModel 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>
  <Facilities>
    <XpressCollectFacility>
      <AccountId>6ed3beeb-b4ba-438e-9f3b-870b3db5cb60</AccountId>
      <FacilityId>398eec3e-149d-417b-8f75-911544cf8fda</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2021-07-31T04:14:54.8508169-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
    <XpressCollectFacility>
      <AccountId>6ed3beeb-b4ba-438e-9f3b-870b3db5cb60</AccountId>
      <FacilityId>398eec3e-149d-417b-8f75-911544cf8fda</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2021-07-31T04:14:54.8508169-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
  </Facilities>
</XpressCollectFacilityBindingModel>