This API user guide is subject to change as development of the new BMDW data upload service continues. The API document is set to point to the staging environment to ensure your registry can connect to. The URL will change when we go LIVE from 1st November 2017. |
Data upload can be done using various mechanisms :
This document describes the data upload mechanism via the REST API method, where users can upload a PGP encrypted XML file to the new submission platform.
To test the API you may use a tool like Restlet, a plugin for Chrome browsers to test API calls before you deploy. The server responds with a HTTP code 200 in when succesfull, but may the response body may contain detailed error messages.
In case the upload succeeded, an XML response with meta information of the upload is generated. You may use this for own logging purposes.
URL | ||
---|---|---|
SERVER URL | https://staging-dataupload.wmda.info | |
URI | /pydio/api/v2/io/bmdwxmlupload/UPD-ION0000-C.pgp UPD-ION0000-C.pgp is the filename to be used. Please refer to the file naming convention. This is stated as : For XML format:The files are marked with ION numbers ( ION-1234-D or ION-1234-C) The ION number is an unique number of an organisation sending the file. The D give the information that it is a donor file and the C give the information that it is a cord blood file | |
METHOD | PUT | |
HEADER | ||
Authorization | basic | |
Content-Type | application/x-www-form-urlencoded | |
X-Rename-If-Exists | true | |
RESPONSE | ||
XML |
|
server name should be staging-dataupload.wmda.info