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

GET /api/ColorProfilesByDesign/List Get a list of all ColorProfilesByDesign
Request Example
    /api/ColorProfilesByDesign/List
            
RESPONSE EXAMPLE
    [
        {
            "Id": "string",
            "ColorProfileName": "string",
            "ProductCode": "string",
            "ColorCode": "string",
            "DesignCode": "string",
            "FilePath": "string"
        },
        {...}
    ]
            
GET /api/ColorProfilesByDesign/Get Get a ColorProfile
Request Example
    /api/ColorProfilesByDesign/Get?id=ColorProfileId
            
RESPONSE EXAMPLE
    If found, a ColorProfileByDesign is returned with status code 200. Otherwise an error with code and message is returned with status code 404  
    {
        "Id": "string",
        "ColorProfileName": "string",
        "ProductCode": "string",
        "ColorCode": "string",
        "DesignCode": "string",
        "FilePath": "string"
    }
            
POST /api/ColorProfilesByDesign/Create
Model Request Example
    {
        "Id": "string",
        "ColorProfileName": "string",
        "ProductCode": "string",
        "ColorCode": "string",
        "DesignCode": "string",
        "SelectXmlProfile": "string"  //The xml file name that exists in the server.
    } 
            
Response Example
If the operation is successful a ColorProfile will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409          
            
PUT /api/ColorProfilesByDesign/Update Update a ColorProfile
Request Example
    /api/ColorProfilesByDesign/Update?id=ColorProfileId
            
Model Request Example
    {
        "ColorProfileName": "string",
        "ProductCode": "string",
        "ColorCode": "string",
        "DesignCode": "string",
        "SelectXmlProfile": "string"  // The xml file name that exists in the server.
    } 
            
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/ColorProfilesByDesign/Delete Delete a ColorProfile
Request Example
/api/ColorProfilesByDesign/Delete?id=ColorProfileId
            
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