delete series using Restful API

72 views
Skip to first unread message

Ricardo Godoy

unread,
Jun 23, 2024, 2:36:18 PM (13 days ago) Jun 23
to dcm4che
Hi!, i'm developing in php for dcm4chee-arc 5 and i can delete pacients for example in this form:

Http::withHeaders([
            'Content-Type' => 'application/dicom+json',
            'Accept' => 'application/json',
        ])->delete("{$url_local}:8080/dcm4chee-arc/aets/{$ae_title_local}/rs/patients/{$patientID}");

ok, now, i need delete one serie from the study, and I try this:

Http::withHeaders([
            'Content-Type' => 'application/dicom+json',
            'Accept' => 'application/json',
        ])->delete("{$url_local}:8080/dcm4chee-arc/aets/{$ae_title_local}/rs/studies/{$studyUID}/series/{$serieUID}");

but response: "Error 405"

How I can delete one Serie from the study?

Thx!

Shefki Esadi

unread,
Jun 25, 2024, 9:49:53 AM (11 days ago) Jun 25
to dcm4che
Hi, 

you have to reject first the series, if you rejected all the series of a study than you can permanently delete the whole study.

Best Regard
Shefki Esadi

Ricardo Godoy

unread,
Jul 3, 2024, 10:22:16 AM (3 days ago) Jul 3
to dcm4che
Hi!,

I need only delete one specific serie of the study using APIRest


Best Rigard
Ricardo
Message has been deleted
Message has been deleted

Ricardo Godoy

unread,
Jul 4, 2024, 1:07:46 AM (2 days ago) Jul 4
to dcm4che
OK, i investigate, and really I need  Reject matching Instances of Series,  something like:

/aets/{aet}/rs/studies/{study}/series/{series}/instances/reject/{codeValue}^{codingSchemeDesignator}

please, What is CodeValue?, something like 113309? and what is coding scheme Designator? maybe DCM?

i try this:

post http://127.0.0.1:8080/dcm4chee-arc/aets/AETITLE/rs/studies/{StudyUID}/series/{SeriesUID}/instances/reject/113039^DCM

but respond error 400 Bad Request

please help

thx!
Reply all
Reply to author
Forward
0 new messages