The CURL request:

curl --location 'https://das-api.das.ipobs.acc.web1.wipo.int/das-api/v1/documents/registrations/statuses?documentNumber=<document_number>&documentKindCategory=<document_kind>&dasAccessCode=<das_access_code>&documentDate=<document_date>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <bearer-token>'

Wrong document number or wrong document kind:

For both cases, the response will indicate that the document is not registered in the system.

Error code: -7

Sample response:

{
    "error": {
        "code": "INVALID_INPUT_DATA",
        "message": null,
        "details": [
            {
                "code": -7,
                "message": "The requested document is not registered in the system: documentNumber=PCT/II2021/057271, documentKindCategory=patent"
            }
        ]
    }
}

Wrong document date:

In this case, the response will indicate that the document date is wrong and will provide as part of the response, the document data that was expected by the system:

Error code: -12

Sample response:

{
    "error": {
        "code": "INVALID_INPUT_DATA",
        "message": null,
        "details": [
            {
                "code": -12,
                "message": "Mismatched priority filing date: documentDate: expected documentDate=2021-09-06"
            }
        ]
    }
}

Wrong das code:

In this case, the response will indicate that the das code is wrong and will provide as part of the response, the das code that was expected by the system:

Error code: -14

Sample response:

{
    "error": {
        "code": "INVALID_INPUT_DATA",
        "message": null,
        "details": [
            {
                "code": -14,
                "message": "Mismatched access code: dasAccessCode: expected dasAccessCode=AB21"
            }
        ]
    }
}

Wrong document date and wrong das code:

In this case, the response will indicate that the document date and the  das code are wrong and will provide as part of the response, the das code and document date that was expected by the system:

Error code: -15

Sample response:

{
    "error": {
        "code": "INVALID_INPUT_DATA",
        "message": null,
        "details": [
            {
                "code": -15,
                "message": "Mismatched access code and priority filing date: dasAccessCode, documentDate: expected dasAccessCode=AB21, documentDate=2021-09-06"
            }
        ]
    }
}
  • No labels