Skip to content
Discussion options

You must be logged in to vote

I ended up using this python code to get it:

def GET_api_v2_dossiers_dossierid_instances_instanceid_chapters_chapterKey_visualizations_vizualizationKey(auth_token, dossier_id, project_id, dossier_instance_id, chapter_key, visualization_key, connection):

api_request = f'/api/v2/dossiers/{dossier_id}/instances/{dossier_instance_id}/chapters/{chapter_key}/visualizations/{visualization_key}'

print(seperator_api)
print('GET:', api_request)
print(seperator)

request_header = {'accept' : 'application/json', 'X-MSTR-AuthToken': auth_token, 'X-MSTR-ProjectID': project_id}

return connection.get(
    endpoint=api_request,
    headers=request_header,
)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristiaanEmpowerBI
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant