With the /TemplateSizes endpoint user can manage TemplateSizes from the database.

GET /api/TemplateSizes/List Get a list of all TemplateSizes
Request Example
    /api/TemplateSizes/List
            
RESPONSE EXAMPLE
    [
        {
            "Id": "string",
            "Name": "string"
        },
        {...}
    ]
            
GET /api/TemplateSizes/Get Get a templateSize
Request Example
    /api/TemplateSizes/Get?id=templateSizeId&name=templateSizeName
    Use id parameter to get templateSize by id or
    Use name parameter to get templateSize by name
            
RESPONSE EXAMPLE
    If found, a templateSize is returned with status code 200. Otherwise an error with code and message is returned with status code 404  
    {
        "Id": "string",
        "Name": "string"
    }
            
POST /api/TemplateSizes/Create
Model Request Example
    {
        "Name": "string"
    }    
            
Response Example
If the operation is successful a templateSize will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409          
            
PUT /api/TemplateSizes/Update Update a templateSize
Request Example
    /api/TemplateSizes/Update?id=templateSizeId&name=templateSizeName
    Use id parameter to identify the templateSize to update by id or
    Use name parameter to identify the templateSize to update by name
            
Model Request Example
    All fields are updated
    {
        "Name": "string"
    } 
            
Response Example
If the operation is successful an empty response will be returned with status code 200
Otherwise an error with code and message will be returned with status code 409
            
DELETE /api/TemplateSizes/Delete Delete a templateSize
Request Example
/api/TemplateSizes/Delete?id=templateSizeId&name=templateSizeName
Use id parameter to identify the templateSize to update by id or
Use name parameter to identify the templateSize to delete by name
            
Response Example
If the operation is successful an empty response will be returned with status code 200
Otherwise an error with code and message will be returned with status code 409