Skip to Content
0
Aug 27, 2023 at 04:48 AM

SAP Business One Service Layer - UI API SSO - POST not working

107 Views

Hello,

We are trying to use Service Layer via Single Sign On in UI-API add-on. We are able to get the service context - Session ID and run any call for reading data using GET. But we are trying to create sales quotations using POST and it returns with error 401 - Not Authorized with following message in response.

{ "error": { "code": 301, "message": { "lang": "en-us", "value": "Invalid session or session already timeout." } }}

Is POST not allowed via sessions obtained through single sign-on? If it is allowed than what are we doing wrong?