The Postman request:
Request configuration
a.- Headers
Standard headers, nothing to update here.
b.- Body
Values that are used for this demo (selected as Postman type RAW):
Key | Value | Notes |
---|---|---|
operationCategory | "retrieval" | optional reference used by the service consumer to identify the file |
documentKindCategory | "{{document-kind}}" | Document type, from "design, patent, trademark, utility model", for this example "patent" |
documentNumber | "{{priority-number-retrieve}}" | priority number used before (to be sure that is in the system, in this case it was generated during the b.1.1.1.- getToken request |
documentDate | "{{priority-date-retrieve}}" | priority date used before (to be sure that is in the system, in this case it was generated during the b.1.1.1.- getToken request |
dasAccessCode | "{{access-code}}" | 4 digit access code (from Postman environment) |
applicationCategory | null | could be set as null or populated with the values if available |
applicationNumber | null | could be set as null or populated with the values if available |
applicationFilingDate | null | could be set as null or populated with the values if available |
c.- Pre-request script
Not used in this case
d.- Tests script
The following script is executed after the request is sent, to evaluate the response and also to set up environment variables (if they are needed for following requests)
Expected response
e.- Body
We can see there the normal JSON response with the request Acknowledge Id (that is required to be able to retrieve the file(s))
f.- Headers
Normal headers.
g.- Test results
This depends on the test we set up in the test script