With the /LocationShortNames endpoint user can manage LocationShortNames from the database.
GET
/api/LocationShortNames/List
Get a list of all LocationShortNames
Request Example
/api/LocationShortNames/List
RESPONSE EXAMPLE
[
{
"Id": "string"
"ProductId": "string",
"FontId": "string",
"FontRecipes": [
{
"FontHeightTo": Number,
"FontHeightFrom": Number,
"Recipe": "string",
}
],
"ProductCode": "string",
"FontName": "string",
},
{...}
]
GET
/api/LocationShortNames/Get
Get a LocationShortNames
Request Example
/api/LocationShortNames/Get?id=LocationShortNamesId
RESPONSE EXAMPLE
If found, a LocationShortNames is returned with status code 200. Otherwise an error with code and message is returned with status code 404
{
"Id": "string"
"ProductId": "string",
"FontId": "string",
"FontRecipes": [
{
"FontHeightTo": Number,
"FontHeightFrom": Number,
"Recipe": "string",
}
],
"ProductCode": "string",
"FontName": "string",
}
POST
/api/LocationShortNames/Create
Create a LocationShortNames
Model Request Example
{
"ProductCode": "string",
"FontName": "string",
"FontRecipes": [
{
"FontHeightTo": Number,
"FontHeightFrom": Number,
"Recipe": "string"
}
]
}
Response Example
If the operation is successful a LocationShortNames will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409
PUT
/api/LocationShortNames/Update
Update a LocationShortNames
Request Example
/api/LocationShortNames/Update?id=LocationShortNamesId
Model Request Example
{
"ProductCode": "string",
"FontName": "string",
"FontRecipes": [
{
"FontHeightTo": Number,
"FontHeightFrom": Number,
"Recipe": "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/LocationShortNames/Delete
Delete a LocationShortNames
Request Example
/api/LocationShortNames/Delete?id=LocationShortNamesId
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