API Docs | ProductCategory | Tajima Software Solutions Inc.

With the /productCategory endpoints user can manage the Product Categories.

GET /api/ProductCategory/GetProductCategories Get product categories information.
Request Example
    /api/ProductCategory/GetProductCategories
                
Response Example
    Returns a list of all product categories
    [
      {
        "Name": "string",
        "ImageUrl": "string",
        "CompanyId": 0,
        "Id": 0
      }
    ]
                
POST /api/ProductCategory/Create
Model Request Example
    {
      "Name": "string"
    }
                
Response Example
    If the operation is successful the response will be empty with status code 201
    Otherwise an error with code and message will be returned with status code 409
                
PUT /api/ProductCategory/Update Update a product category
Request Example
    /api/ProductCategory/Update?Name=ProductCategoryName
            Name parameter is required in order to specify the Product Category to update
                
Model Request Example
            Only provided attribute(s) will be updated
    {
      "Name": "string"
    }
                
Response Example
    If the operation is successful the response will be empty with status code 200
    Otherwise an error with code and message will be returned with status code 409
                
DELETE /api/ProductCategory/Delete Remove a product category
Request Example
    /api/ProductCategory/Delete?Name=ProductCategoryName
            Name parameter is required in order to specify the Product Category to delete
                
Response Example
    If the operation is successful the response will be empty with status code 200
    Otherwise an error with code and message will be returned with status code 409