Adding api request parameters

I am trying to import data from the platform my company uses (entrata.com). Their documentation says in addition to referencing an api url I also need to specify several parameters to pull the data.

here is the code they give me to input:

When I set up an api import how do I specify a specific parameter that needs to be set?

Hi Adam! You can specify the parameters in the Body of the API Import step.

  1. Drag in an API Import step onto your canvas
  2. Request Type should be POST
  3. API Endpoint URL should be something like, https://xxxx.entrata.com/api/customers
  4. Then, paste this into the Body:
{
  "auth": {
    "type": "basic"
  },
   "version":"r1",
  "method": {
    "name": "getCustomers",
    "params": {
      "propertyId": "41900",
      "isAgreedToTermsOnly": "0"
    }
  }
}
  1. For Authentication, it looks like you can use the Username/Password option to connect to their API.

Let me know how that goes!

I think that was what I needed.
thank you for your help

1 Like