FORMAT: 1A
HOST: https://centralsearch.example.com
# Central Search Upload
# Group Upload statistics
## Retrieve or set the last upload timestamp [/sites/{dktk_siteid}_teiler/{dktk_teilerid}/uploadStats]
### GET
Get the timestamp for the last successful upload to determine which patients have to be uploaded.
+ Parameters
+ dktk_siteid: ffm - the id of the participating site
+ dktk_teilerid: teilerffm - the id of the teiler of the participating site
+ Request (application/xml)
+ Headers
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
+ Response 200 (application/xml)
+ Body
Tue, 15 Nov 1994 08:12:31 GMT
### PUT
Set the last upload timestamp to the current time.
+ Parameters
+ dktk_siteid: ffm - the id of the participating site
+ dktk_teilerid: teilerffm - the id of the teiler of the participating site
+ Request (application/xml)
+ Headers
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
+ Body
Tue, 22 Nov 1994 04:32:48 GMT
+ Response 200
# Group Patients
## Upload and delete patients [/sites/{dktk_siteid}_teiler/{dktk_teilerid}/pats/{mds%2ddb_patid}]
### POST
Upload an xml file containing one patient.
+ Parameters
+ dktk_siteid: ffm - the id of the participating site
+ dktk_teilerid: teilerffm - the id of the teiler of the participating site
+ mds%2ddb_patid: K3lCsbGJ1o0O9hGL... - the MDS-DB-ID of the respective patient
+ Request (application/xml)
+ Headers
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
+ Body
urn:dktk:dataelement:29:2
D09.2
+ Response 200
+ Response 201
+ Response 500
### DELETE
Delete the patient with the respective MDS-DB-ID
+ Parameters
+ dktk_siteid: ffm - the id of the participating site
+ dktk_teilerid: teilerffm - the id of the teiler of the participating site
+ mds%2ddb_patid: K3lCsbGJ1o0O9hGL... - the MDS-DB-ID of the respective patient
+ Request
+ Headers
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
+ Response 204
+ Response 404