# Fetch WFI Metadata

#### Source Codes

`ocbc-ecoffice/enrich/fetch_wfi_metadata/fetch_wfi_metadata.py`

#### Description

* Fetch, Map and Populate WFI metadata into Squirro Item
* WFI metadata is fetched via `POST` request against WFI API endpoint, `/fetchmetadatabydocid/{doc_id}`
    * Contents of WFI metadata are encapsulated within the `propertyNameValuePair` of the JSON Response
* WFI Key to Squirro Label mappings are defined by the `MAPPINGS` constant defined in the source code
