Jump to content

Nick Moiseykin

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Nick Moiseykin

  1. Hello I am new and I am hopeful someone can help me here.

    I have a Demo SageX3 with Sage running.

    I am developing a connect to this environment. I will be using Rest API option.

    Many specific requests work.

    Here are a few examples what works:

    http://10.0.3.137:8124/sdata/x3/erp/X3ERPV12_SEED/SORDER('SONZA0210001')?representation=SORDER.$details

    http://x3server:8124/sdata/x3/erp/X3ERPV12_SEED/BPCUSTOMER?representation=BPCUSTOMER.$query&count=20

    However, the first request my application needs to make is to read the schema and get all the objects. SDATA documentation (http://sage.github.io/SData-2.0/pages/core/0401/)  indicates it is possible by accessing this URL

    http://10.0.3.137:8124/sdata/x3/erp/X3ERPV12_SEED/$schema

    This request fails with BAD REQUEST error.

    How can I fix it? Do I need to enable something in Sage to access this request?

    I will be very much thankful. If there is another forum to post things like this I will be happy to repost.

    Thank you

    Nick

×
×
  • Create New...