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

GET /api/ProductSizes/List Get a list of all ProductSizes
Request Example
    /api/ProductSizes/List
            
RESPONSE EXAMPLE
    [
        {
            "Id": "string",
            "Name": "string"
        },
        {...}
    ]
            
GET /api/ProductSizes/Get Get a ProductSizes
Request Example
    /api/ProductSizes/Get?id=ProductSizesId
            
RESPONSE EXAMPLE
    If found, a ProductSizes 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/ProductSizes/Create
Model Request Example
    {
        "Name": "string"
    }
            
Response Example
If the operation is successful a ProductSizes will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409          
            
PUT /api/ProductSizes/Update Update a ProductSizes
Request Example
    /api/ProductSizes/Update?id=ProductSizesId
            
Model Request Example
    {
        "Name": "TEST012_SIZE"
    }  
            
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/ProductSizes/Delete Delete a ProductSizes
Request Example
/api/ProductSizes/Delete?id=ProductSizesId
            
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