• Connecting to an external REST with an XML header

    I am trying to connect to an external REST library that requires the content type to be XML and not JSON. The web service configuration seems to indicate that this should be possible since you can select XML as the the content type during the setup process…
  • Rest API POST request- Facing Issue with Edit Facet enabling

    Hello, I have been using the REST API (Postman) to make GET and POST requests. While I am able to successfully perform GET requests on the representation, I encounter an error when attempting to make a POST request. The error message states that the edit…
  • Rest API Call with Patch Method

    Hi, I'm writing a interface between Sage X3 and an external platform through Rest API. The GET and POST Method work well, but I can't use the PATCH Method. I have a 400 error code from the platfom, with the message "A non-empty request body is required…
  • Parsing JSON

    Hi, Just wondering if there is any tool (function) I can use to parse JSON string using 4GL. If therse isnt any builin function avaiable then what would be the best way to parse the REST JSON data. Thanks
  • Trying to return a Using ASYRRESTCLI.EXEC_REST_WSCLB how do I get my RETVAL to bring back more than 250 Chars?

    Hi There I am trying to return a Using ASYRRESTCLI.EXEC_REST_WSCLB how do I get my RETVAL to bring back more than 250 Chars? Here is my code
  • Sage X3 GraphQL Connectivity

    As you may already know, starting Sage X3 2021 R2 (V12), a new integration pathway has been introduced; the mighty GraphQL. Invented by Facebook to used internally back in 2012, GraphQL has gained massive popularity for its lightweight query and response…
  • Adding existing assets to Sage X3 FA Module

    In the past we did not use the fixed asset module. I'm now moving our assets into Sage. First, we were told that we have to use accounting method "RE", where we now use straight line, in order to input the existing accumulated depreciation. Is that accurate…
  • Sage Access for integration & testing

    Hello Group We are a custom software group. Recently we are getting inquiries to integrate our software with Sage X3 ERP. We are looking for the access and technical details to integrate receiving or sending data from/to Sage from our system. Where…
  • Set Timeout for web services rest call using ASYRRESTCLI.EXEC_REST_WS

    When launching a request via REST web service with the ASYRRESTCLI.EXEC_REST_WS instruction against a third party Endpoint, I need to control a certain time in which, if the Endpoint does not respond, to exit the call and return error by TimeOut. Currently…
  • Post detail/child with REST API

    Hello, I'm struggling to POST a new register with the REST API. I tried with my SPE class, representation and Tables. Also tried with SHIPMENT, wich have edit facet. If I set it with no collections, it creates the header, but if I try to create…
  • Subprogram with rest

    Hello everyone I developed a web services(Subprogram) using SOAP, how I can do it again using the REST method, Please can you help
  • How to request for all records of a representation

    Hi, I would like to create a request with GET method using REST API to get all records of a representation. I can get a specific record using https://srve:8124/api1/x3/erp/TEST/SALESREP('XXX')?representation=SALESREP.$details where XXX is a sales…
  • SageX3 Rest API Web Services - how to get contract schema xsd?

    Hello Community, Using Rest API Web Services in Sage X3 how can I get a contract schema definition XSD? The goal here is to get a list of available resources. SDATA documentation ( http://sage.github.io/SData-2.0/pages/core/0401/ ) says it is possible…
  • External web services timeout error

    I'm trying to connect to an external IBAN service https://api.iban.com and I've added this to Sage under REST Web Services, however I keep getting a timeout error when trying to do a GET request. The service is available through the server directly…
  • Error - PUT on SORDER with REST API

    Good Morning, I want to do a PUT on SORDER via REST API but it always gives me the same error. However, I can do a GET on SORDER via REST API with no issues. Representation ZSORDER (Copy of SORDER) Trying to change payment term: Resource…
  • API REST Get totalresults and startindex utilization on a X3 endpoint get query

    How can I do to get totalresults and startindex on the JSON result from the webservice on a normal class/representation webservice built on a normal X3 entity? Is this only available for collaboration endpoint? Like users, endpoints and other MONGODB…
  • Sage EM and REST OData

    Hello! I have a customer asking if Sage EM's implementation of REST supports OData ( https://www.odata.org/ ). I've seen some information on other Sage products but nothing specific to Sage EM. Does anyone have any information on this? Thank you,…
  • List folder content in native mode

    Hi We have tried listing folder contents using this two approaches without success. First approach used to work in classic mode. 1. Call SYSTEME2(adxmac(0),"LSADX"-FOLDER,"",FILCOUNT, FILLIST) From ORDSYS (error, 'Unexpected end of JSON input') …
  • EDI outbound msg

    Hello, I tried setting up EDI on a test server and i finally managed to test the "EDI outbound msg. generation". This does not seem to work as I recieve this error message: Process completed with errors Number of documents to process : 0 Number of documents…
  • Rest Webservice

    Hi all! X3 V11 I Need to create a new endpoint from an external app, but endpoints are saved in mongo db. Can i use the rest webservices in x3 to create this new endpoint, or is there any other way of doing this from an external app? Any suggestions…
  • Access Quality Control Questions from REST API

    We have a separate Quality Control application that I would like to update the Quality Control record on a stock item automatically. I have not been able to do this with the REST api. First the the quality control detail technical sheet class is of…
  • How do you use the instanceUrl in the REST responses?

    Using the $protoype requests I can see that the representations have instanceUrl property, however I am unable to use these: "$baseUrl": "">servername:8124/.../TESTI", "$baseType": "application/json;vnd.sage=syracuse;vnd.sage.syracuse.representation…
  • What integration platform / integration middleware do you recommend for Sage X3 update 9?

    What integration platform / integration middleware do you recommend for Sage X3? (Eg. Dell Boomi, Jitterbit, Nintex, other) For the purpose of; 1. EDI integration to supplier networks (eg. SAP Ariba, Basware, Coupa) 2. In-house integrations between…
  • Sage X3 REST WEB Service Company representation - EDIT

    Hi Im using V11 patch 5. I did a test with the standard representations of Company that comes with the folders , i can read details facet successfully. When i do a PUT request (using Postman) to edit a record on the COMPANY table i get this error…