itemCategories

POST {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/itemCategories?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

Request Body

{"code"=>"DOOR", "displayName"=>"Office Door"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/itemCategories/$entity","@odata.etag":"W/\"JzIwOzE0NTM3MTY5OTI3MzIyMTg5NTgzMTswMDsn\"","id":"7e3142fc-2788-ed11-af3b-9f262527381a","code":"DOOR","displayName":"Office Door","lastModifiedDateTime":"2022-12-30T09:54:44.69Z"}