|
doi.crossref.org/servlet/deposit. The following parameters are expected in the URL:
| Form field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| operation | Depends on submission type |
|
NO | doMDUpload |
| subType | subtype for metadata submissions |
|
NO | N/A |
| login_id | CrossRef supplied login | N/A | ![]() |
N/A |
| login_passwd | CrossRef supplied password | N/A | ![]() |
N/A |
| area | Designated area for this submission |
|
NO | live |
| Content parts | ||||
| fname | Submission contents | N/A | ![]() |
N/A |
Important: The type of the metadata submission is determined automatically. If the submission contains the string doi_batch.dtd or doi_journal_article_v0_3.dtd then it is considered a DTD submission. Otherwise, the submission is considered an XSD submission and validated accordingly.
Here is an example of a query upload submission:
The system returns a "200 OK" response as soon as the submission is received. That means that the submission has been received by CrossRef and is scheduled to be processed. The submission is put in a queue that is visible to authorized users at crossref's site. The results of the submission processing are sent to the email address specified in the submission as follows:[Request to doi.crossref.org] POST http://doi.crossref.org/servlet/deposit?operation=doMDUpload&login_id=atypon&login_passwd=_atypon_&area=live HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Accept-Language: en-us Content-Type: multipart/form-data; boundary=---------------------------7d22911b10028e User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461) Host: Myhost Content-length: 1304 Pragma: no-cache -----------------------------7d22911b10028e Content-Disposition: form-data; name="fname"; filename="hisham.xml" -----------------------------7d22911b10028e-- 10.1037.1 1001 Hisham Shahtout hisham@atypon.com Atypon test pubisher 1737/myhome http://www.atypon.com Roine Stolt 12 12 2000 0000 0 0 1 3 Space Resolver space res. 1234-431X
Note:
For backward compatibility. The system accepts the login_id,login_passwd,operation and area parameters as part in the multi-part
request as follows. However, the recommended way is to supply these parameters in the URL request as outlined above
-----------------------------7d22911b10028e
Content-Disposition: form-data; name="login_id"
atypon
-----------------------------7d22911b10028e
Content-Disposition: form-data; name="login_passwd"
_atypon_
-----------------------------7d22911b10028e
Content-Disposition: form-data; name="fname"; filename="hisham.xml"
... file content ...
/servlet/query?usr=<username>&pwd=<password>&type=<queryType>&format=<resultFormat>&qdata=<x-www-form-urlencoded queries>
where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| type | Type of query |
|
NO | Metadata query (q) |
| area | Area for this query |
|
NO | live |
| fuzzy | Enable/Disable all fuzzy matching |
|
NO | true |
| format | Result format |
|
NO | piped |
| qdata | x-www-form-urlencoded query data |
N/A | ![]() |
N/A |
x-www-form-urlencoded encoding rules are the following:
a' through 'z',
'A' through 'Z', and '0' through
'9' remain the same.
?' is converted into a plus sign
'+'.
%xy", where xy is the two-digit hexadecimal
representation of the lower 8-bits of the character. /servlet/query?id=10.1006/jmbi.2000.4282&pid=<usr:pwd>
servlet/mddbxml?usr=<login>&&pwd=<password>&format=<old|new>where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| format | Format of the result |
|
NO | old |
/servlet/download?usr=<username>&pwd=<password>&fromId=<submissionId>&toId=<submissionId>&doiPrefix=<doiPrefix>&format=<resultFormat><validate=where:>
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| fromId | Starting submission ID | N/A | NO | N/A |
| toId | Ending submission ID | N/A | NO | N/A |
| doiPrefix | Prefix of CrossRef supplied DOI | N/A | NO | N/A |
| format | Result format |
|
NO | IDs Only (id) |
| Validate | Validate the XML (If XML is not valid and empty result will be returned) |
|
NO | true |
/servlet/submissionDownload?usr=<username>&pwd=<password>&doi_batch_id=<doi_batch_id&file_name=<file_name>&type=<type>where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| doi_batch_id | The DOI batch id as supplied by the publisher in the submission XML. | N/A | NO | N/A |
| file_name | The file name under which the submission was submitted | N/A | NO | N/A |
| type | The type of data requested |
|
![]() |
N/A |
You can track a submission by its doi_batch_id or by its file_name. In either case, only the first match is returned. So
in order to use this feature effectively it is the publisher's responsibility to make sure that their tracking IDs (
doi_batch_id or file_name) is unique.
The main difference between using doi_batch_id and file_name is that doi_batch_id is inserted into the database after
the submission has been parsed. This might be a problem for submissions that are non-parsable.
file_name is more superior in the sense that:
/servlet/downloadStoredQueries?usr=<username>&pwd=<password>&startDate=<startDate>&endDate=<endDate>where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| startDate | The start date of a date range (inclusive). Must be formatted as yyyy-mm-dd. | N/A | NO | N/A |
| endDate | The end date of a date range (inclusive). Must be formatted as yyyy-mm-dd | N/A | NO | N/A |
The result is returned in XML format that conforms with the XSD for CrossRef's XML query output.
/servlet/getForwardLinks?usr=<username>&pwd=<password>&doi=<doi>&startDate=<startDate>&endDate=<endDate>where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| DOI | The cited DOI | N/A | ![]() |
N/A |
| startDate | The start date of a date range (inclusive, formatted as yyyy-mm-dd). Only reference relationships created on or after this date are returned. |
N/A | NO | N/A |
| endDate | The end date of a date range (inclusive, formatted as yyyy-mm-dd). Only reference relationships created on or before this date are returned. |
N/A | NO | N/A |
The result is returned in crossref_query_output2.0.xsd compliant XML format.
/servlet/downloadConflicts?usr=<username>&pwd=<password>&prefix=<prefix>&displayMD=<true|false>where:
| request field | Description | possible values |
mandatory | Default |
|---|---|---|---|---|
| usr* | CrossRef supplied login | N/A | NO | N/A |
| pwd* | CrossRef supplied password | N/A | NO | N/A |
| prefix | Restrict conflicts for a specific DOI prefix | N/A | NO - if not supplied then all prefixes the user is authorized to submit metadata for are returned | N/A |
| displayMD | Display DOI <metadata> under the <doi_data> element |
|
NO | false |
The result is returned in XML which list the conflicts along with the DOIs in each conflict as follows:
Note:* that login/password are optional because CrossRef might have enabled you access through IP authentication.