
Anonymous Community User asked a question.
exporting workspace members into exel using api
Hi. I'm trying to make a script that exports all the members off a workspace into exel. I think Podio is a great tool, but I really miss some coding examples in your API documentation. Here's what im trying to do: <?php require_once'podio_connect.php'; $podio_data=new podio_connect( $appid, "$aptoken", "$client_id", "$client_secret" ); echo PodioItem::export($appid,"xlsx"); What should I do next? I get this error Fatal error: Uncaught PodioForbiddenError: "The app with id 4918595 does not have the right export on app with id 4918595" Request URL: http://api.podio.com/item/app/4918595/export/xls Request Body: null Stack Trace: #0 /var/www/uudanmark.dk/public_html/uucenter_oversigt/podio-php/lib/Podio.php(271): Podio::request('POST', '/item/app/49185...', Object(stdClass), Array) #1 /var/www/uudanmark.dk/public_html/uucenter_oversigt/podio-php/models/PodioItem.php(179): Podio::post('/item/app/49185...', Object(stdClass)) #2 /var/www/uudanmark.dk/public_html/uucenter_oversigt/stamkort_data.php(15): PodioItem::export('4918595', 'xls') #3 {main} thrown in /var/www/uudanmark.dk/public_html/uucenter_oversigt/podio-php/lib/Podio.php on line 238 Regards from Søren Nørup ?>.