Uploads an SVG file.

SecurityBearer
Request
Request Body schema:
required
ppgId
integer <int32> (ProductionSchedulerServer.Domain.Entities.ProducerProductionGroups.ProducerProductionGroupId)
componentId
string <uuid>

Gets or sets the Component Id of the SVG.

file
required
string or null <binary>

The SVG file to upload to Azure Front Door.

Responses
200

OK

201

Created

401

Unauthorized

500

Internal Server Error

post/api/svgs
Request samples
No sample
Response samples
application/json
{
  • "id": 0,
  • "ppgId": 0,
  • "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
  • "url": "string"
}