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

Gets a per diem resource

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

Group identifier

integer

Required

groupplanid

Group Plan identifier

integer

Required

id

Per Diem Rate identifier

integer

Required

showRates

Flag to indicate whether or not to include the rates for the per diem resource

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

A per diem resource, optionally including the rates

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:31:50.6943853-05:00",
      "rate": 1.0
    },
    {
      "url": "sample string 2",
      "id": 3,
      "perDiemNo": 1,
      "effectiveStartDate": "2025-05-30T21:31:50.6943853-05:00",
      "rate": 1.0
    }
  ]
}