REST API: Access to new hal registers
9-24-24
Operating system: macOS
Hello.
Have issue when try to GET data from new hal custom register

Recordbegin(CustomItemStatusVc,-,"");
RecordField(Code,M4Code,60,INVc);
...



MainKeyBegin(Code,0);
KeySegment(Code);
SynchronizationIndex;
EndRecord;

Using for this http://127.0.0.1:1300/api/1/CustomItemStatusVc

SERP server for each call asks login password. But after entering - nothing happens - server returns 401 error (Unauthorized)
But when I call IVVc or any standard register - then all works fine.
For tests I using UK demo company with common RestAPI setting by superadmin access rights (allowed all).


When I disabled in Optional Features have error in browser
<error description="not authorized to read this resource"/>
This issue only with new registers from datadef.hal

Mayme I miss some settings? Please assist with this.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024