{"order": ["tenantId", "facilityName", "facilityUsage", "storageCapacity"], "addAPI": {"url": "/facility/v1/_create", "requestBody": "{\"Facility\":{}}", "requestJson": "Facility", "responseJson": "Facility.id"}, "custom": [{"prefix": "", "suffix": "", "fieldPath": "productId", "dataSource": {"API": "/product/v1/_search", "requestBody": "\"{  \\\"Product\\\": {             }}\"", "responseJSON": "Product", "requestParams": "{\"limit\":50,\"offset\":0,\"tenantId\":\"mz\"}", "customFunction": "\"(data)=>{ return data?.Product.map(obj=>obj.id); }\"", "responseFieldPath": "productId"}}], "schemaCode": "Health.Facility"}