GET api/groups/{groupid}/groupplans/{groupplanid}/perdiems?showRates={showRates}

Gets a collection of per diem resources for a Group Plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

Group identifier

integer

Required

groupplanid

Group Plan identifier

integer

Required

showRates

Flag to indicate whether or not to include the rates

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

A list of per diem resources, optionally including the rates

Collection of PerDiemModel
NameDescriptionTypeAdditional information
GroupPlanNo

Gets or sets the identifier for the Group Plan associated with this Per Diem

integer

None.

PerDiemName

Gets or sets the name of the per diem resource

string

None.

Description

Gets or sets the description of the per diem resource

string

None.

PerDiemRates

Gets or sets the collection of rates for the per diem resource

Collection of PerDiemRateModel

None.

Url

Gets or sets the link representing a link back to the resource

string

None.

ID

Gets or sets the identifier for the resource

integer

None.

Response Formats

application/json, text/json, application/json-patch+json

Sample:
[
  {
    "url": "sample string 4",
    "id": 5,
    "groupPlanNo": 1,
    "perDiemName": "sample string 2",
    "description": "sample string 3",
    "perDiemRates": [
      {
        "url": "sample string 2",
        "id": 3,
        "perDiemNo": 1,
        "effectiveStartDate": "2025-05-30T21:29:36.4497674-05:00",
        "rate": 1.0
      },
      {
        "url": "sample string 2",
        "id": 3,
        "perDiemNo": 1,
        "effectiveStartDate": "2025-05-30T21:29:36.4497674-05:00",
        "rate": 1.0
      }
    ]
  },
  {
    "url": "sample string 4",
    "id": 5,
    "groupPlanNo": 1,
    "perDiemName": "sample string 2",
    "description": "sample string 3",
    "perDiemRates": [
      {
        "url": "sample string 2",
        "id": 3,
        "perDiemNo": 1,
        "effectiveStartDate": "2025-05-30T21:29:36.4497674-05:00",
        "rate": 1.0
      },
      {
        "url": "sample string 2",
        "id": 3,
        "perDiemNo": 1,
        "effectiveStartDate": "2025-05-30T21:29:36.4497674-05:00",
        "rate": 1.0
      }
    ]
  }
]