POST v1/xpresscollect/facilities

Gets the xpress collect facilities by account.

Request Information

URI Parameters

None.

Body Parameters

The data.

XpressCollectFacilitiesPostContent
NameDescriptionTypeAdditional information
accountId

Collection of globally unique identifier

None.

openportalUserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "accountId": [
    "34691cfe-9e9c-4086-9f63-e452da70b29a",
    "33c8cd4e-91e8-407c-a467-d430a6ed4b27"
  ],
  "openportalUserId": "3b46c1d1-94a6-4cc1-84b7-3e06bbd4aa85"
}

application/xml, text/xml

Sample:
<XpressCollectFacilitiesPostContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
  <accountId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>34691cfe-9e9c-4086-9f63-e452da70b29a</d2p1:guid>
    <d2p1:guid>33c8cd4e-91e8-407c-a467-d430a6ed4b27</d2p1:guid>
  </accountId>
  <openportalUserId>3b46c1d1-94a6-4cc1-84b7-3e06bbd4aa85</openportalUserId>
</XpressCollectFacilitiesPostContent>

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": "1e65b659-c37e-4b5e-b2c7-8b855ed4cfec",
      "AccountId": "c2aadb21-8a29-4cca-a39c-60f757e1e156",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2025-06-30T22:36:55.6914585-07:00",
      "UtcOffset": 5
    },
    {
      "FacilityName": "sample string 1",
      "FacilityId": "1e65b659-c37e-4b5e-b2c7-8b855ed4cfec",
      "AccountId": "c2aadb21-8a29-4cca-a39c-60f757e1e156",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2025-06-30T22:36:55.6914585-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>c2aadb21-8a29-4cca-a39c-60f757e1e156</AccountId>
      <FacilityId>1e65b659-c37e-4b5e-b2c7-8b855ed4cfec</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2025-06-30T22:36:55.6914585-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
    <XpressCollectFacility>
      <AccountId>c2aadb21-8a29-4cca-a39c-60f757e1e156</AccountId>
      <FacilityId>1e65b659-c37e-4b5e-b2c7-8b855ed4cfec</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2025-06-30T22:36:55.6914585-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
  </Facilities>
</XpressCollectFacilityBindingModel>