Refreshes the hybrid cache.

SecurityBearer
Request
Request Body schema: application/json
required

The refresh cache request.

type
string (ProductionSchedulerServer.Application.Features.Cache.Commands.RefreshCache.CacheType)

Cache types

Enum: "Areas" "Facilities" "Stations"
tenantId
string or null

Tenant Id

areaId
string or null

Area Id

Responses
200

OK

204

No content.

400

Bad request.

500

If there was an internal server error.

post/api/cache/refresh
Request samples
application/json
{
  • "type": "Areas",
  • "tenantId": "string",
  • "areaId": "string"
}
Response samples
application/json
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}