Updates card order by id.

SecurityBearer
Request
path Parameters
id
required
integer

The ID of the card to update order.

Request Body schema: application/json
required

Card order update request

moveToPosition
string (ProductionSchedulerServer.Application.Features.Cards.Commands.PatchCard.MoveToPosition)

Enum for moving card order.

Enum: "First" "Last" "Next" "Previous" "Specific"
specificPosition
integer <int32>

Specific Position for the card. This is used only when MoveToPosition is set to Specific otherwise value is ignored.

Responses
200

OK

204

Returns a response indicating the success of the update

400

If the request is invalid.

404

If the card is not found.

409

If there was a conflict with a change made by another user

500

If there was an internal server error.

patch/company/{facilityId}/api/cards/{id}/order
Request samples
application/json
{
  • "moveToPosition": "First",
  • "specificPosition": 0
}
Response samples
application/json
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}