Section |
---|
Column |
---|
The following pages describe how to use Postman for testing the different features of the new DAS API. Note |
---|
For the testing of the system, we have loaded some sample priorities (of published documents) accessible through the WIPO PATENTSCOPE service. The following sample documents have been picked randomly from WIPO PATENTSCOPE, by searching by Priority Country Code = 'IB' and limiting the results to PCT applications: |
Note |
---|
An industrial design priority document (from Spain), was loaded as an additional sample document coming from an external office, published document information available here: |
|
Column |
---|
|
|
Sample Postman Collection:
Sample Postman environment:
In order to automate the process, the environment configuration (and some internal test) have been set up to facilitate the saving of temporal information.
Expand |
---|
title | Press to see the details of The environment configuration... |
---|
|
Variable name | Value | Notes |
---|
token-url | https://www5.wipo.int/am/oauth2/access_token | url of the server used to certify the token | base-url | https://das.ipobs.acc.web1.wipo.int/das-api/v1 | DAS api url | access-token |
| to be generated by b.1.1.1.- getToken and updated (here) by the post request tests | client-assertion |
| to be generated by the user, by using a script like the one described in : a.3.- Sample authentication script | upload-url |
| the temporal url used for the upload of the file | file-id |
| internal ID to be generated for the file to upload | file-reference |
| comment to add to help with the identification of the request | file-format | pdf or zip | In case of the registration of a zip file, it should be complaint with WIPO ST.26 format (https://www.wipo.int/pct/en/news/2022/news_0039.html) | file_to_upload |
| Here goes the link to the local file to upload via b.1.1.3.- File upload . Please check the wiki page for more details. | file-checksum |
| sha256 checksum of the file to upload (e.5.- Generate File Checksum for uploading to DAS) | location |
| Url for the registration (to be generated here in this request: b.1.1.5.- registration of the record (POST)) | country-code |
| country code of the priority/application | priority-number |
| priority number of the document to upload or retrieve | application-number |
| application number of the document to upload or retrieve | application-category | priority document |
| priority-date |
| date of the priority to upload | application-date |
| filing date of the application | document-kind | patent or design | depends on the types of documents that have been set for the IP office | access-code |
| 4 letters/digits code to use for the registration and retrieval | email | some_email@email.com | email to use for the registration | request-ack |
| acknowledge code (generated by DAS) | office-code |
| office code to use for the request | osfAckId |
| acknowledgement id for the registration (OSF) | priority-number-retrieval |
| Information for a (sample) registered document in (test) DAS | priority-date-retrieval |
| access-code-retrieval |
| document-kind-retrieval |
|
|
Note |
---|
|
In order to be able to download the linked files, please log with your (registered) WIPO WIKI user. |
Test cases:
b.1.- Insertion/update cases
b.2.- Data retrieval cases
Info |
---|
We are in the progress of adding more automated test cases and will share more test numbers a few weeks |