Jump to content
Ultimaker Community of 3D Printing Experts

UM 3 API - Empty source_user


Recommended Posts

Posted · UM 3 API - Empty source_user

Hi everyone,

 

I am facing an issue with the Ultimaker api. I'd like to know if there is something I can do on my side to solve this.

Basically, when a print job is sent, you can easily get the associated username in Cura (who sent the job).

 

Based on the api docs, all you have to do to get that same info using the API is to call the endpoint http://.../api/v1/print_job/source_user.

Unfortunately, this doesn't seem to work. All I get is an empty string and the same scenario occurs when calling the complete "print_job" endpoint. Everything is in the returned json object except for the source_user (marked " "):

 

{ "datetime_cleaned": "", "datetime_finished": "", "datetime_started": "1970-02-06T00:16:26", "name": "UM3E_XXXXXXX", "progress": 0.3079226833256708, "reprint_original_uuid": "", "result": "", "source": "WEB_API", "source_application": "Cura connect", "source_user": "", "state": "printing", "time_elapsed": 6220, "time_total": 20202, "uuid": "XXXXXX...XXXXXX" }

 

When I look at the current job in Cura, I can see the username just fine.

 

Any ideas on how I can make this work?

 

Thanks

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Ultimaker Transformation Summit

        On April 20 - April 23 we will host the Ultimaker Transformation Summit. Come talk to us via Live chat and get inspired by any of our relevant presentations!
        • 10 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 0 replies
    ×
    ×
    • Create New...