itemCategories
POST {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/itemCategories?tenant={{tenant}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tenant | string |
Request Body
{"code"=>"DOOR", "displayName"=>"Office Door"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
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"}