Update Period

This endpoint allows an admin user to update an existing period with a specified ID, name, start date, and end date.

PUT
/Period/UpdatePeriod
AuthorizationBearer <token>

Authorization header using the Bearer scheme. Example: "Bearer {token}"

In: header

Query Parameters

PeriodId?string

The ID of the period to be updated.

Formatuuid
Name?string

The new name for the period.

StartDate?string

The new start date for the period.

Formatdate-time
EndDate?string

The new end date for the period.

Formatdate-time

Response Body

curl -X PUT "https://loading/Period/UpdatePeriod"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "startDate": "2019-08-24T14:15:22Z",
  "endDate": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty
Empty