API Bulk Uploader

Avatar
  • updated
  • Open

Hi @Sean Keown — first off, great extension. The Bulk DataSync API is exactly what we've been looking for to pull real-time Control session status into our asset management platform.

We've installed version 1.0.2 and configured the AuthenticationSecret. The Instructions.html page loads but the API URL field appears blank (looks like it may be dynamically rendered and not populating for us).

We've confirmed Service.ashx is the correct file — it responds with a clean JSON error rather than a 404. However every method name and routing approach we've tried returns:

{"errorType":"ArgumentException","message":"Web method does not exist","detail":null}

We've tried:

- POST to Service.ashx with no query parameter

- POST with ?method= using names like Sync, BulkSync, ProcessSessions, DataSync, Update, Process, Execute, Run, Invoke, SessionLookup, GetSessionData, and about 20 others

- POST with ?action= variants

- Path-based routing (Service.ashx/Sync, etc.)

- GET, PUT, PATCH verbs

- Auth formats: Bearer, Token, raw header value, custom X-API-Key and AuthenticationSecret headers

Bearer and AuthenticationSecret header formats both return clean JSON errors (auth is passing). Basic auth crashes to a runtime error.

Our setup: hosted ScreenConnect at medianews.screenconnect.com

Could you share the correct API URL format and method name? Even a quick curl or PowerShell example would unblock us completely. Thanks!

Avatar
0
Sean Keown

I apologize as i didn't respond to your first question. 

The Instructions.html page loads but the API URL field appears blank (looks like it may be dynamically rendered and not populating for us).We've confirmed Service.ashx is the correct file.

I'll take a look on my end too and make sure mine works. 

What version of screenconnect are you on?

Avatar
0
Jeffrey Lachance

Thanks for getting back to me! We're on version 2025.9.9

When we POST to Service.ashx with CTRLAuthHeader and Content-Type: application/json we get:

{"errorType":"ArgumentException","message":"Web method does not exist","detail":null}

We've tried every method name we could think of as both a query parameter (?method=MethodName) and as a path segment (Service.ashx/MethodName) with no luck. Bearer, Token, and raw auth formats all return the same error. The Instructions.html page loads but the API URL section is blank — looks like it's supposed to be dynamically populated but isn't rendering for us.

Any idea what the correct endpoint URL format is? Even a quick example would unblock us completely.

Avatar
0
Sean Keown
I'm still on 25.9.5 and have not tested 25.9.9 yet. 

You want to post to 

/Service.ashx/UpdateAllSessions

Example Payload

[
    {
        "SessionPayload": [
            {"SessionId": "13e77b54-1877-4c2e-937d-8311510480cf", "name": "ComputerA", "property1": "Example CompanyA", "property2": "Example SiteA", "property3": "3333"},
            {"SessionId": "6ec8d73d-cdbf-4577-9283-aca452bc96b6", "property1": "Example CompanyB", "property2": "Example SiteB", "property3": "p3", "property4": "p55", "property5": "p5", "property6": "p6", "property7": "p7", "property8": "p8"},
            {"SessionId": "8449d7c5-c6cf-4791-989b-753f57a8e783"},
            {"SessionId": "88888885-c6cf-4791-989b-753f57a8e783"},
            {"SessionId": "3e10297e-c4c3-44f3-8797-1feec5b72a0f"},
            {"SessionId": "88888885", "name": "ExampleName", "property1": "prop1", "property2": "prop2"}
        ]
    },
    {
        "ReturnData": "LastGuestConnectedEventTime,GuestInfoUpdateTime,IsDeleted,IsEnded"
    }
]
   
Avatar
0
Sean Keown

I pulled up the URL on your instance, and it loaded. I'll try to update and see if my help button works. 

Image 1433

Avatar
0
Jeffrey Lachance

I have a path forward - Thanks - I was able to sort it all out - THANKS!!!