GET api/ng/advice/getexistingmoonadvice?HKey={HKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
HKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of WeeklyMoonAdviceModel
NameDescriptionTypeAdditional information
UserAdviceID

integer

None.

AdviceID

integer

None.

PeriodStart

date

None.

PeriodEnd

date

None.

FirstName

string

None.

PictureUrl

string

None.

AdviceTitle

string

None.

AdviceContent

string

None.

HKey

string

None.

IsOwnAdvice

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserAdviceID": 1,
    "AdviceID": 2,
    "PeriodStart": "2021-04-19T20:21:43.5629398-04:00",
    "PeriodEnd": "2021-04-19T20:21:43.5629398-04:00",
    "FirstName": "sample string 5",
    "PictureUrl": "sample string 6",
    "AdviceTitle": "sample string 7",
    "AdviceContent": "sample string 8",
    "HKey": "sample string 9",
    "IsOwnAdvice": true,
    "ErrorMessage": "sample string 11"
  },
  {
    "UserAdviceID": 1,
    "AdviceID": 2,
    "PeriodStart": "2021-04-19T20:21:43.5629398-04:00",
    "PeriodEnd": "2021-04-19T20:21:43.5629398-04:00",
    "FirstName": "sample string 5",
    "PictureUrl": "sample string 6",
    "AdviceTitle": "sample string 7",
    "AdviceContent": "sample string 8",
    "HKey": "sample string 9",
    "IsOwnAdvice": true,
    "ErrorMessage": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWeeklyMoonAdviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <WeeklyMoonAdviceModel>
    <AdviceContent>sample string 8</AdviceContent>
    <AdviceID>2</AdviceID>
    <AdviceTitle>sample string 7</AdviceTitle>
    <ErrorMessage>sample string 11</ErrorMessage>
    <FirstName>sample string 5</FirstName>
    <HKey>sample string 9</HKey>
    <IsOwnAdvice>true</IsOwnAdvice>
    <PeriodEnd>2021-04-19T20:21:43.5629398-04:00</PeriodEnd>
    <PeriodStart>2021-04-19T20:21:43.5629398-04:00</PeriodStart>
    <PictureUrl>sample string 6</PictureUrl>
    <UserAdviceID>1</UserAdviceID>
  </WeeklyMoonAdviceModel>
  <WeeklyMoonAdviceModel>
    <AdviceContent>sample string 8</AdviceContent>
    <AdviceID>2</AdviceID>
    <AdviceTitle>sample string 7</AdviceTitle>
    <ErrorMessage>sample string 11</ErrorMessage>
    <FirstName>sample string 5</FirstName>
    <HKey>sample string 9</HKey>
    <IsOwnAdvice>true</IsOwnAdvice>
    <PeriodEnd>2021-04-19T20:21:43.5629398-04:00</PeriodEnd>
    <PeriodStart>2021-04-19T20:21:43.5629398-04:00</PeriodStart>
    <PictureUrl>sample string 6</PictureUrl>
    <UserAdviceID>1</UserAdviceID>
  </WeeklyMoonAdviceModel>
</ArrayOfWeeklyMoonAdviceModel>