WebAPI - Creating a brand

WebAPI - Creating a brand

This method allows to create a brand in a simplified manner.
The method to be used when creating a brand is:
POST url/api/mytenant/myorganization/businesscore/brands

Json example for creating a brand: 

1.       {

    "brandKey""ASP",

    "description""Aspirador xpt",

    "picture"null,

    "pictureThumbnail"null,

    "remarks"null

}

This method allows to create a brand according to the parameters filled in:
  1. brandKey: The brand's key. This field is mandatory.
  2. description: Short description of the brand. This field is mandatory.
  3. picture: Image.
  4. remarks: Remarks.
When this method is executed successfully, it returns HttpStatusCode.201Created.


    • Related Articles

    • WebAPI - Deleting a brand

      This method allows you to delete a brand. The method to be used when deleting a brand is:  DELETE  url/api/mytenant/myorganization/businesscore/brands/{{brandKey}}  The parameters being replaced on the method are: {{brandKey}}: key of the brand you ...
    • WebAPI - Creating a warehouse

      This method allows to create a warehouse in a simplified manner. The method to be used when creating a warehouse: POST url/api/mytenant/myorganization/inventorycore/warehouses Json example for creating a warehouse: 1. { "warehouseKey": "W2", ...
    • WebAPI - Creating a request

      This method allows to create a request in a simplified manner. The method to be used when creating a request: POST url/api/mytenant/myorganization/Requests/requests Json example for creating a request: { "requestKey": "00001", "description": "Vidro ...
    • WebAPI - Creating a tool

      This method allows to create a tool in a simplified manner. The method to be used when creating a tool is: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating a tool: 1.     {     "equipmentKey": "PCR", ...
    • WebAPI - Creating an equipment

      This method allows to create an equipment in a simplified manner. The method to be used when creating an equipment: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating an equipment: 1.       { ...