GET v1/xpresscollect/{facilityId}/custommessages

Gets the xpress collect facility custom messages.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

The facility identifier.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

XpressCollectFacilityCustomMessagesBindingModel
NameDescriptionTypeAdditional information
CustomMessages

Collection of XpressCollectFacilityCustomMessage

None.

Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomMessages": [
    {
      "Id": "ffd94546-9f88-4a26-b91f-d4096bd10439",
      "Name": "sample string 1",
      "SmsMessage": "sample string 2",
      "EmailMessage": "sample string 3",
      "FacilityName": "sample string 4",
      "FacilityId": "25071b0c-7350-41dc-a78c-7697ab9f0393",
      "LiveHtmlDocsId": "7235bddb-fa4c-44d0-8a32-5e8220ae1bcd"
    },
    {
      "Id": "ffd94546-9f88-4a26-b91f-d4096bd10439",
      "Name": "sample string 1",
      "SmsMessage": "sample string 2",
      "EmailMessage": "sample string 3",
      "FacilityName": "sample string 4",
      "FacilityId": "25071b0c-7350-41dc-a78c-7697ab9f0393",
      "LiveHtmlDocsId": "7235bddb-fa4c-44d0-8a32-5e8220ae1bcd"
    }
  ],
  "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:
<XpressCollectFacilityCustomMessagesBindingModel 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>
  <CustomMessages>
    <XpressCollectFacilityCustomMessage>
      <EmailMessage>sample string 3</EmailMessage>
      <FacilityId>25071b0c-7350-41dc-a78c-7697ab9f0393</FacilityId>
      <FacilityName>sample string 4</FacilityName>
      <Id>ffd94546-9f88-4a26-b91f-d4096bd10439</Id>
      <LiveHtmlDocsId>7235bddb-fa4c-44d0-8a32-5e8220ae1bcd</LiveHtmlDocsId>
      <Name>sample string 1</Name>
      <SmsMessage>sample string 2</SmsMessage>
    </XpressCollectFacilityCustomMessage>
    <XpressCollectFacilityCustomMessage>
      <EmailMessage>sample string 3</EmailMessage>
      <FacilityId>25071b0c-7350-41dc-a78c-7697ab9f0393</FacilityId>
      <FacilityName>sample string 4</FacilityName>
      <Id>ffd94546-9f88-4a26-b91f-d4096bd10439</Id>
      <LiveHtmlDocsId>7235bddb-fa4c-44d0-8a32-5e8220ae1bcd</LiveHtmlDocsId>
      <Name>sample string 1</Name>
      <SmsMessage>sample string 2</SmsMessage>
    </XpressCollectFacilityCustomMessage>
  </CustomMessages>
</XpressCollectFacilityCustomMessagesBindingModel>