POST api/{programid}/Participant/Budget/GetSnapshot

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

GetParticipantBudgetSnapshotRequest
NameDescriptionTypeAdditional information
ParticipantId

string

None.

PeriodStartDate

date

None.

PeriodEndDate

date

None.

CategoryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParticipantId": "sample string 1",
  "PeriodStartDate": "2025-10-24T18:45:20.3135825-04:00",
  "PeriodEndDate": "2025-10-24T18:45:20.3135825-04:00",
  "CategoryCode": "sample string 4"
}

application/xml, text/xml

Sample:
<GetParticipantBudgetSnapshotRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Budget">
  <CategoryCode>sample string 4</CategoryCode>
  <ParticipantId>sample string 1</ParticipantId>
  <PeriodEndDate>2025-10-24T18:45:20.3135825-04:00</PeriodEndDate>
  <PeriodStartDate>2025-10-24T18:45:20.3135825-04:00</PeriodStartDate>
</GetParticipantBudgetSnapshotRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetParticipantBudgetSnapshotRequest'.

Response Information

Resource Description

GetParticipantBudgetSnapshotResponse
NameDescriptionTypeAdditional information
BudgetSnapshots

Collection of ParticipantBudgetSnapshot

None.

Response Formats

application/json, text/json

Sample:
{
  "BudgetSnapshots": [
    {
      "Label": "sample string 1",
      "Description": "sample string 2",
      "Amount": 3.0,
      "Units": "sample string 4"
    },
    {
      "Label": "sample string 1",
      "Description": "sample string 2",
      "Amount": 3.0,
      "Units": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<GetParticipantBudgetSnapshotResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Budget">
  <BudgetSnapshots xmlns:d2p1="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Budget">
    <d2p1:ParticipantBudgetSnapshot>
      <d2p1:Amount>3</d2p1:Amount>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Label>sample string 1</d2p1:Label>
      <d2p1:Units>sample string 4</d2p1:Units>
    </d2p1:ParticipantBudgetSnapshot>
    <d2p1:ParticipantBudgetSnapshot>
      <d2p1:Amount>3</d2p1:Amount>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Label>sample string 1</d2p1:Label>
      <d2p1:Units>sample string 4</d2p1:Units>
    </d2p1:ParticipantBudgetSnapshot>
  </BudgetSnapshots>
</GetParticipantBudgetSnapshotResponse>