POST v1/xpresscollect/facilities
Gets the xpress collect facilities by account.
Request Information
URI Parameters
None.
Body Parameters
The data.
XpressCollectFacilitiesPostContent| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | Collection of globally unique identifier |
None. |
|
| openportalUserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"accountId": [
"0ad78eba-de07-4306-b291-d1cbe9d8e2c3",
"02f7337f-a1fc-4c9d-9b46-705090176eb1"
],
"openportalUserId": "a2a69133-7169-4e57-b0b8-82684b14d85d"
}
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>0ad78eba-de07-4306-b291-d1cbe9d8e2c3</d2p1:guid>
<d2p1:guid>02f7337f-a1fc-4c9d-9b46-705090176eb1</d2p1:guid>
</accountId>
<openportalUserId>a2a69133-7169-4e57-b0b8-82684b14d85d</openportalUserId>
</XpressCollectFacilitiesPostContent>
Response Information
Resource Description
XpressCollectFacilityBindingModel| Name | Description | Type | Additional 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": "688f0d74-3806-44e2-b5d7-0c61283c6bf3",
"AccountId": "33750d6f-79e1-4a27-a80f-9353473f08ec",
"IsXpressCollectActive": true,
"SendMessageTime": "2025-11-07T21:26:10.1614285-07:00",
"UtcOffset": 5
},
{
"FacilityName": "sample string 1",
"FacilityId": "688f0d74-3806-44e2-b5d7-0c61283c6bf3",
"AccountId": "33750d6f-79e1-4a27-a80f-9353473f08ec",
"IsXpressCollectActive": true,
"SendMessageTime": "2025-11-07T21:26:10.1614285-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>33750d6f-79e1-4a27-a80f-9353473f08ec</AccountId>
<FacilityId>688f0d74-3806-44e2-b5d7-0c61283c6bf3</FacilityId>
<FacilityName>sample string 1</FacilityName>
<IsXpressCollectActive>true</IsXpressCollectActive>
<SendMessageTime>2025-11-07T21:26:10.1614285-07:00</SendMessageTime>
<UtcOffset>5</UtcOffset>
</XpressCollectFacility>
<XpressCollectFacility>
<AccountId>33750d6f-79e1-4a27-a80f-9353473f08ec</AccountId>
<FacilityId>688f0d74-3806-44e2-b5d7-0c61283c6bf3</FacilityId>
<FacilityName>sample string 1</FacilityName>
<IsXpressCollectActive>true</IsXpressCollectActive>
<SendMessageTime>2025-11-07T21:26:10.1614285-07:00</SendMessageTime>
<UtcOffset>5</UtcOffset>
</XpressCollectFacility>
</Facilities>
</XpressCollectFacilityBindingModel>