GET api/PopupMessages?memberName={memberName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PopupMessageModel
NameDescriptionTypeAdditional information
Id

integer

None.

PopupType

integer

None.

PopupHeader

string

None.

PopupMessage

string

None.

PopupImage

string

None.

PopupValues

Collection of PopupValue

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PopupType": 2,
    "PopupHeader": "sample string 3",
    "PopupMessage": "sample string 4",
    "PopupImage": "sample string 5",
    "PopupValues": [
      {
        "Id": 1,
        "ValueText": "sample string 2"
      },
      {
        "Id": 1,
        "ValueText": "sample string 2"
      }
    ]
  },
  {
    "Id": 1,
    "PopupType": 2,
    "PopupHeader": "sample string 3",
    "PopupMessage": "sample string 4",
    "PopupImage": "sample string 5",
    "PopupValues": [
      {
        "Id": 1,
        "ValueText": "sample string 2"
      },
      {
        "Id": 1,
        "ValueText": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPopupMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eGOATsWebApi.Models">
  <PopupMessageModel>
    <Id>1</Id>
    <PopupHeader>sample string 3</PopupHeader>
    <PopupImage>sample string 5</PopupImage>
    <PopupMessage>sample string 4</PopupMessage>
    <PopupType>2</PopupType>
    <PopupValues>
      <PopupValue>
        <Id>1</Id>
        <ValueText>sample string 2</ValueText>
      </PopupValue>
      <PopupValue>
        <Id>1</Id>
        <ValueText>sample string 2</ValueText>
      </PopupValue>
    </PopupValues>
  </PopupMessageModel>
  <PopupMessageModel>
    <Id>1</Id>
    <PopupHeader>sample string 3</PopupHeader>
    <PopupImage>sample string 5</PopupImage>
    <PopupMessage>sample string 4</PopupMessage>
    <PopupType>2</PopupType>
    <PopupValues>
      <PopupValue>
        <Id>1</Id>
        <ValueText>sample string 2</ValueText>
      </PopupValue>
      <PopupValue>
        <Id>1</Id>
        <ValueText>sample string 2</ValueText>
      </PopupValue>
    </PopupValues>
  </PopupMessageModel>
</ArrayOfPopupMessageModel>