• Resolved toonwolf

    (@toonwolf)


    I would like to get som data from Planyo https://www.planyo.com but getting an error message when I try to use the following shortcode:

    [jsoncontentimporter url=”https://www.planyo.com/rest/?site_id=32828&coupon_code=&email=emailaddress&method=list_coupons” numberofdisplayeditems=”30″ basenode=”data”]

    • {id} {email} {type} {amount_left} {/subloop}<hr>

    [/jsoncontentimporter]

    This the proper JSON output from Planyo:
    {
    “data”: {
    “results”: [
    {
    “id”: “15507”,
    “resource_id”: null,
    “email”: “emailaddress”,
    “type”: “4”,
    “amount_left”: “365”,
    “is_personal”: “1”,
    “personal_usage”: “1”,
    “coupon_code”: null,
    “purchase_date”: “2017-10-19 12:30:30”,
    “entry_per_person”: null,
    “validity_start_date”: “2017-12-06”,
    “validity_end_date”: “2018-12-06”
    }
    ]
    },
    “response_code”: 0,
    “response_message”: “Method list_coupons executed successfully.”
    }

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problems with JSON-structure: check basenode-param’ is closed to new replies.