ActiveCampaign / activecampaign-api-php

MIT License
115 stars 76 forks source link

Missing params in field_view #59

Closed karelbartunek closed 6 years ago

karelbartunek commented 8 years ago

I just added $post_data because of this error - "result_message":"Failed: Nothing is returned"

mthommes commented 8 years ago

Hello! The ids parameter is required (per our documentation).

I've tested and both of the examples below work as expected:

// Get all custom fields
$ac->api("list/field/view?ids=all");

// Get custom field with ID = 2
$ac->api("list/field/view?ids=2");

Let us know if that still doesn't fix it for you! 😃