recipe · 8 fieldsgujarat pollution control board consent
gujarat pollution control board consent
extraction api.
Consent to establish or operate issued by GPCB; carries the consent order number, validity and permitted products with capacity.
what it reads
the fields.
Rename any of them, drop the ones you don't need, or add the one your form asks for. Each comes back with the text it was read from.
| field | key | type | notes |
|---|---|---|---|
| Firm name | firm_name | Name | — |
| Address line 1 | address_line_1 | Address | — |
| Address line 2optional | address_line_2 | Address | — |
| Area code | area_code | PIN code | PIN code |
| Consent order number | consent_order_number | Text | — |
| Date of issue | date_of_issue | Date | — |
| Valid upto | valid_upto | Date | — |
| Products | products | Table | One row each: Product name, Production capacity per month |
the apia gujarat pollution control board consent in,
a gujarat pollution control board consent in,
json back.
Publish the recipe as a workflow and send it files. Each field returns its value, a clean normalised version, its status, the page and the source text.
curl https://api.patrapi.com/v1/workflows/wf_gpcb/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@gpcb-certificate.pdf{ "status": "completed",
"document_type": "gpcb_certificate",
"fields": {
"firm_name": { "value": …, "status": "present", "page": 1 },
"address_line_1": { "value": …, "status": "present", "page": 1 },
"address_line_2": { "value": …, "status": "present", "page": 1 },
"area_code": { "value": …, "status": "present", "page": 1 },
"consent_order_number": { "value": …, "status": "present", "page": 1 },
… 3 more
} }