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 with JSON format):
Key | Value | Notes |
---|---|---|
operationCategory | "registration" | the type of category of the operation we are trying to perform |
documentKindCategory | "{{document-kind}}" | Document type, from "design, patent, trademark, utility model", for this example "patent" |
documentNumber | "{{priority-number}}" | priority number generated before (in this case it was generated during the 1.1.1.1.- getToken (POST) request ) |
documentDate | "{{priority-date}}" | priority date generated before (in this case it was generated during the 1.1.1.1.- getToken (POST) request ) |
dasAccessCode | "{{access-code}}" | 4 digit access code (from Postman environment) |
applicationCategory | "{{application-category}}" | Document type, from "design, patent, trademark, utility model", for this example "patent" |
applicationNumber | "{{application-number}}" | application number generated before (in this case it was generated during the 1.1.1.1.- getToken (POST) request ) |
applicationFilingDate | "{{application-date}}" | application date generated before (in this case it was generated during the 1.1.1.1.- getToken (POST) request ) |
"{{email}}" | email for communications | |
fileId | "{{file-id}}" | fileId obtained during b.1.2.2.- obtain fileId to delete |
}
c.- Pre-request script
This script automatically generates a general reference and updates the Postman environment with it.
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
Here is the json response with the details of the registered record. Particularly the request AckId and the status of the request(for this operation, "registration - recorded")
f.- Headers
Normal headers.
g.- Test results
This depends on the test we set up in the test script