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": [
    "7b8b0906-0e3b-4628-b5d8-0936bd50bc3e",
    "bf3d6a5f-f6f1-4335-aa41-3c0972d17aa4"
  ],
  "openportalUserId": "cc8bb95b-1315-4b05-9e47-5cb50f01c3d2"
}

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>7b8b0906-0e3b-4628-b5d8-0936bd50bc3e</d2p1:guid>
    <d2p1:guid>bf3d6a5f-f6f1-4335-aa41-3c0972d17aa4</d2p1:guid>
  </accountId>
  <openportalUserId>cc8bb95b-1315-4b05-9e47-5cb50f01c3d2</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": "5c4b9d5a-4c43-4842-b485-291ce06d37ea",
      "AccountId": "f83edf4c-ec10-49f2-8a7d-82406d9a4556",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2021-07-31T05:39:49.4028855-07:00",
      "UtcOffset": 5
    },
    {
      "FacilityName": "sample string 1",
      "FacilityId": "5c4b9d5a-4c43-4842-b485-291ce06d37ea",
      "AccountId": "f83edf4c-ec10-49f2-8a7d-82406d9a4556",
      "IsXpressCollectActive": true,
      "SendMessageTime": "2021-07-31T05:39:49.4028855-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>f83edf4c-ec10-49f2-8a7d-82406d9a4556</AccountId>
      <FacilityId>5c4b9d5a-4c43-4842-b485-291ce06d37ea</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2021-07-31T05:39:49.4028855-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
    <XpressCollectFacility>
      <AccountId>f83edf4c-ec10-49f2-8a7d-82406d9a4556</AccountId>
      <FacilityId>5c4b9d5a-4c43-4842-b485-291ce06d37ea</FacilityId>
      <FacilityName>sample string 1</FacilityName>
      <IsXpressCollectActive>true</IsXpressCollectActive>
      <SendMessageTime>2021-07-31T05:39:49.4028855-07:00</SendMessageTime>
      <UtcOffset>5</UtcOffset>
    </XpressCollectFacility>
  </Facilities>
</XpressCollectFacilityBindingModel>