Initiating Computation
Once all the Dicoms corresponding to a particular series are uploaded, the computation can be triggered.
Use the following sample script to initiate processing.
# Make the HTTP Get request to the service
r = requests.get(URL, headers={'Authorization': 'Token {}'.format(TOKEN)})Initiate Computing Process
GET http://BASE URL + compute/ + [SERIES INSTANCE UID]
Use the URL to make a GET call.
Path Parameters
Name
Type
Description
URL*
String
The URL pointing to the service.
Headers
Name
Type
Description
Authorization*
String
Bearer token.
{
    "message": "series_instance_uid successfully pushed for computation!",
    "success": true
}{
    "message": "series_instance_uid was already pushed for computation!",
    "success": true
}{
    "success": false,
    "message": "Access denied!"
}{
    "success": false,
    "message": "Series with SeriesInstanceUID series_instance_uid is not yet uploaded!"
}Response Attribute
Attribute
Value type
Description
messageString
It validates the post call action based on the response status code.
successBoolean
It indicates whether the API call was successful or not.
True: The call was successful.
False: The call was not successful.
authenticatedBoolean
It validates the token validity.
Last updated
Was this helpful?