Updates the assigned station of a card.

SecurityBearer
Request
path Parameters
id
required
integer

The unique identifier of the card to be updated.

Request Body schema: application/json
required

The command containing the details for the update.

id
integer <int32> (ProductionSchedulerServer.Domain.Entities.Cards.CardId)
object (ProductionSchedulerServer.Domain.Entities.StationId)
Responses
200

OK

204

Indicates that the assigned station was successfully updated.

400

If the request is invalid.

404

If the card with the specified ID was not found.

409

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

500

If there was an internal server error.

patch/api/cards/{id}/assigned-station
Request samples
application/json
{
  • "id": 0,
  • "stationId": {
    }
}
Response samples
application/json
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}