GET api/Resource/PreferenceBlock/InfoAndErrorText?date={date}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
PreferenceBlockMessageName | Description | Type | Additional information |
---|---|---|---|
InfoMessage | string |
None. |
|
ErrorMessage | ErrorMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "InfoMessage": "sample string 1", "ErrorMessage": { "Header": "sample string 1", "Subheader": "sample string 2", "Errors": [ "sample string 1", "sample string 2" ] } }
application/xml, text/xml
Sample:
<PreferenceBlockMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models"> <ErrorMessage> <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Errors> <Header>sample string 1</Header> <Subheader>sample string 2</Subheader> </ErrorMessage> <InfoMessage>sample string 1</InfoMessage> </PreferenceBlockMessage>