With the /DefaultProductConfigs endpoint user can manage DefaultProductConfigs from the database.
GET
/api/DefaultProductConfigs/List
Get a list of all DefaultProductConfigs
Request Example
/api/DefaultProductConfigs/List
RESPONSE EXAMPLE
[
{
"Id": "string",
"ProductSizeId": "string",
"ProductDefaultLocationId": "string",
"ProductSizeName": "string",
"ProductDefaultLocationName": "string",
"OffsetX": Number,
"OffsetY": Number
},
{...}
]
GET
/api/DefaultProductConfigs/Get
Get a DefaultProductConfigs
Request Example
/api/DefaultProductConfigs/Get?id=DefaultProductConfigsId
RESPONSE EXAMPLE
If found, a DefaultProductConfigs is returned with status code 200. Otherwise an error with code and message is returned with status code 404
{
{
"Id": "string",
"ProductSizeId": "string",
"ProductDefaultLocationId": "string",
"ProductSizeName": "string",
"ProductDefaultLocationName": "string",
"OffsetX": Number,
"OffsetY": Number
}
}
POST
/api/DefaultProductConfigs/Create
Create a DefaultProductConfigs
Model Request Example
{
"ProductSizeId": "string",
"ProductDefaultLocationId": "string",
"OffsetX": Number,
"OffsetY": Number
}
Response Example
If the operation is successful a DefaultProductConfigs will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409
PUT
/api/DefaultProductConfigs/Update
Update a DefaultProductConfigs
Request Example
/api/DefaultProductConfigs/Update?id=DefaultProductConfigsId
Model Request Example
{
"ProductSizeId": "string",
"ProductDefaultLocationId": "string",
"OffsetX": Number,
"OffsetY": Number
}
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/DefaultProductConfigs/Delete
Delete a DefaultProductConfigs
Request Example
/api/DefaultProductConfigs/Delete?id=DefaultProductConfigsId
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