GET api/v1/portals/{portalUid}/diarytypes

Gets the diary types.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
portalUid

the current portal

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns all the diary types.

Collection of DiaryTypeViewModel
NameDescriptionTypeAdditional information
Name

The name.

string

None.

DiaryTypeGuid

The unique guid

globally unique identifier

None.

Category

THe category of the diary type

DiaryTypeCategoryViewModel

None.

Uid

The GUID.

globally unique identifier

None.

Links

The links.

Collection of Link

None.

DateUpdated

Last time the record was updated

date

None.

UpdatedBy

Who updated the record last

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "DiaryTypeGuid": "2fb44cbd-7af4-4773-aad2-9c70b563cadd",
    "Category": {
      "Name": "sample string 1",
      "IsAvailable": true,
      "Uid": "d68739e7-2659-431f-a507-2240d06af324",
      "Links": [
        {
          "Href": "http://webapihelppage1.com",
          "Method": "sample string 2",
          "Rel": "sample string 3",
          "Title": "sample string 4",
          "Type": "sample string 5"
        },
        {
          "Href": "http://webapihelppage1.com",
          "Method": "sample string 2",
          "Rel": "sample string 3",
          "Title": "sample string 4",
          "Type": "sample string 5"
        }
      ],
      "DateUpdated": "2025-10-27T14:02:48.5912302+00:00",
      "UpdatedBy": "sample string 4"
    },
    "Uid": "b2c1d711-5b9f-4f5b-9c22-71782127858a",
    "Links": [
      {
        "Href": "http://webapihelppage1.com",
        "Method": "sample string 2",
        "Rel": "sample string 3",
        "Title": "sample string 4",
        "Type": "sample string 5"
      },
      {
        "Href": "http://webapihelppage1.com",
        "Method": "sample string 2",
        "Rel": "sample string 3",
        "Title": "sample string 4",
        "Type": "sample string 5"
      }
    ],
    "DateUpdated": "2025-10-27T14:02:48.5912302+00:00",
    "UpdatedBy": "sample string 4"
  },
  {
    "Name": "sample string 1",
    "DiaryTypeGuid": "2fb44cbd-7af4-4773-aad2-9c70b563cadd",
    "Category": {
      "Name": "sample string 1",
      "IsAvailable": true,
      "Uid": "d68739e7-2659-431f-a507-2240d06af324",
      "Links": [
        {
          "Href": "http://webapihelppage1.com",
          "Method": "sample string 2",
          "Rel": "sample string 3",
          "Title": "sample string 4",
          "Type": "sample string 5"
        },
        {
          "Href": "http://webapihelppage1.com",
          "Method": "sample string 2",
          "Rel": "sample string 3",
          "Title": "sample string 4",
          "Type": "sample string 5"
        }
      ],
      "DateUpdated": "2025-10-27T14:02:48.5912302+00:00",
      "UpdatedBy": "sample string 4"
    },
    "Uid": "b2c1d711-5b9f-4f5b-9c22-71782127858a",
    "Links": [
      {
        "Href": "http://webapihelppage1.com",
        "Method": "sample string 2",
        "Rel": "sample string 3",
        "Title": "sample string 4",
        "Type": "sample string 5"
      },
      {
        "Href": "http://webapihelppage1.com",
        "Method": "sample string 2",
        "Rel": "sample string 3",
        "Title": "sample string 4",
        "Type": "sample string 5"
      }
    ],
    "DateUpdated": "2025-10-27T14:02:48.5912302+00:00",
    "UpdatedBy": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDiaryTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
  <DiaryTypeViewModel>
    <DateUpdated>2025-10-27T14:02:48.5912302+00:00</DateUpdated>
    <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
      <d3p1:Link>
        <d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
        <d3p1:Method>sample string 2</d3p1:Method>
        <d3p1:Rel>sample string 3</d3p1:Rel>
        <d3p1:Title>sample string 4</d3p1:Title>
        <d3p1:Type>sample string 5</d3p1:Type>
      </d3p1:Link>
      <d3p1:Link>
        <d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
        <d3p1:Method>sample string 2</d3p1:Method>
        <d3p1:Rel>sample string 3</d3p1:Rel>
        <d3p1:Title>sample string 4</d3p1:Title>
        <d3p1:Type>sample string 5</d3p1:Type>
      </d3p1:Link>
    </Links>
    <Uid>b2c1d711-5b9f-4f5b-9c22-71782127858a</Uid>
    <UpdatedBy>sample string 4</UpdatedBy>
    <Category>
      <DateUpdated>2025-10-27T14:02:48.5912302+00:00</DateUpdated>
      <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
        <d4p1:Link>
          <d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
          <d4p1:Method>sample string 2</d4p1:Method>
          <d4p1:Rel>sample string 3</d4p1:Rel>
          <d4p1:Title>sample string 4</d4p1:Title>
          <d4p1:Type>sample string 5</d4p1:Type>
        </d4p1:Link>
        <d4p1:Link>
          <d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
          <d4p1:Method>sample string 2</d4p1:Method>
          <d4p1:Rel>sample string 3</d4p1:Rel>
          <d4p1:Title>sample string 4</d4p1:Title>
          <d4p1:Type>sample string 5</d4p1:Type>
        </d4p1:Link>
      </Links>
      <Uid>d68739e7-2659-431f-a507-2240d06af324</Uid>
      <UpdatedBy>sample string 4</UpdatedBy>
      <IsAvailable>true</IsAvailable>
      <Name>sample string 1</Name>
    </Category>
    <DiaryTypeGuid>2fb44cbd-7af4-4773-aad2-9c70b563cadd</DiaryTypeGuid>
    <Name>sample string 1</Name>
  </DiaryTypeViewModel>
  <DiaryTypeViewModel>
    <DateUpdated>2025-10-27T14:02:48.5912302+00:00</DateUpdated>
    <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
      <d3p1:Link>
        <d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
        <d3p1:Method>sample string 2</d3p1:Method>
        <d3p1:Rel>sample string 3</d3p1:Rel>
        <d3p1:Title>sample string 4</d3p1:Title>
        <d3p1:Type>sample string 5</d3p1:Type>
      </d3p1:Link>
      <d3p1:Link>
        <d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
        <d3p1:Method>sample string 2</d3p1:Method>
        <d3p1:Rel>sample string 3</d3p1:Rel>
        <d3p1:Title>sample string 4</d3p1:Title>
        <d3p1:Type>sample string 5</d3p1:Type>
      </d3p1:Link>
    </Links>
    <Uid>b2c1d711-5b9f-4f5b-9c22-71782127858a</Uid>
    <UpdatedBy>sample string 4</UpdatedBy>
    <Category>
      <DateUpdated>2025-10-27T14:02:48.5912302+00:00</DateUpdated>
      <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
        <d4p1:Link>
          <d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
          <d4p1:Method>sample string 2</d4p1:Method>
          <d4p1:Rel>sample string 3</d4p1:Rel>
          <d4p1:Title>sample string 4</d4p1:Title>
          <d4p1:Type>sample string 5</d4p1:Type>
        </d4p1:Link>
        <d4p1:Link>
          <d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
          <d4p1:Method>sample string 2</d4p1:Method>
          <d4p1:Rel>sample string 3</d4p1:Rel>
          <d4p1:Title>sample string 4</d4p1:Title>
          <d4p1:Type>sample string 5</d4p1:Type>
        </d4p1:Link>
      </Links>
      <Uid>d68739e7-2659-431f-a507-2240d06af324</Uid>
      <UpdatedBy>sample string 4</UpdatedBy>
      <IsAvailable>true</IsAvailable>
      <Name>sample string 1</Name>
    </Category>
    <DiaryTypeGuid>2fb44cbd-7af4-4773-aad2-9c70b563cadd</DiaryTypeGuid>
    <Name>sample string 1</Name>
  </DiaryTypeViewModel>
</ArrayOfDiaryTypeViewModel>