Skip to Content

B1 Service Layer POST UDO

Hi,

I have created a UDO ("@JC1_LOG") and am trying to insert a record using

POST .../@JC1_LOG ........

OR

POST .../JC1_LOG ........

In both cases I get the error: code: -1002 ......"Service Not Found"....

Note: the service layer has been restarted since the UDO was added.

Note - The documentation says: "Once an UDO is created, you can treat it as an ordinary entity. The URL for UDO CRUD and Query operation are
the same as the internal SAP Business One entities."

How do I insert a UDO record using the service layer?

Thanks,

Mel






Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 23 at 05:45 AM

    Hi Mel Dodd,

    Below request is working fine for me:

    POST /b1s/v1/UDO_MASTER

    { "Code": "1", "U_TEST": "My Test" }

    Where UDO_MASTER is the UDO Code. Make sure it is case-sensitive too.

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded