Jump to content

MOReg

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by MOReg

  1. Hi Support, 

    I'm trying to test trail balance endpoint using postman. I get my token first and then do a get to the following URL:

    https://api.accounting.sage.com/v3.1/trial_balance?from_date=2021-01-01&to_date=2021-06-01

    I'm returned this message

    "ERROR: The request could not be satisfied
    403 ERROR
    The request could not be satisfied.
    Bad request.
    We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner."

    I have checked my accounts access (Full Access) to reports in the cloud accounting UI and the account has access to the two business listed. Is these something I'm missing?

     

    Regards,

    Mark  

     

  2. Hi All, 

    I'm trying to generate python3.8 code from the swagger file at "https://developer.sage.com/api/accounting/files/swagger.full.json". It appears to me that swagger 2 is used by swagger.full.json and pip install swagger_codegen installs swagger 3. 

    • I cant find a version of swagger_codegen that will work with swagger 2 
    • I've tried to convert the swagger 2 file to swagger 3
    • I'm using python but maybe there is a better way? Is c# more reliable for example?

    Any help with this would be appreciated!

     

    Mark  

×
×
  • Create New...