New to BC. Using the beta api, postman, and basic auth, I can list items or an item. When I try adding an item I get this error:
{
"error": {
"code": "Internal_ServerError",
"message": "You do not have the following permissions on TableData Item: Insert"
}
}
Since I'm the one and only user and have confirmed that I have SUPER role and insert permission on all tables and tabledata, why do I get this result and how do I fix it?
I'm using the Cronus db for testing and basically the JSON I get from getting an item (the sample JSON body given in the documentation gives an invalid body error, while the one below passes that test).
Here's the post url: https://api.businesscentral.dynamics.com/v1.0/ceonex.onmicrosoft.com/api/beta/companies(b24ee78a-4605-476d-a692-f5ddee4b2285)/items
and here's the json:
{
"number": "2000-R",
"displayName": "Conference Bundle 1-8",
"type": "Inventory",
"blocked": false,
"baseUnitOfMeasureId": "6991df40-3ddc-4156-9b68-74ea4934002f",
"gtin": "",
"inventory": 0,
"unitPrice": 233.8,
"priceIncludesTax": false,
"unitCost": 0,
"taxGroupId": "00000000-0000-0000-0000-000000000000",
"taxGroupCode": "FURNITURE",
"baseUnitOfMeasure": {
"code": "PCS",
"displayName": "Piece",
"symbol": null,
"unitConversion": null
}
}


Report
All responses (
Answers (