如何在 Eventbrite 中查找特定订单的参与者详细信息 API
How to find attendee details of a particular Order in Eventbrite API
当我(4 个月前)将 Eventbrite API 集成到我的应用程序中时,我得到了响应以及订单请求的参与者详细信息(即 https://www.eventbriteapi.com/v3/orders/454268667/?token=SXXXX.....XXX).
但是今天,我检查了订单请求的响应,但没有获得与会者详细信息和 ticket_class_id。他们是否更改了 API 响应格式?如何获取订单的参加者详细信息和 ticket_class_id?
我需要在生产服务器中解决这个问题。
现在我收到这样的回复(没有与会者详细信息和 ticket_class_id)。
{
"resource_uri": "https://www.eventbriteapi.com/v3/orders/454268667/",
"id": "454268667",
"changed": "2015-09-11T09:34:03Z",
"created": "2015-09-11T09:34:02Z",
"costs": {
"payment_fee": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"gross": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"eventbrite_fee": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"tax": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"base_price": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
}
},
"name": "Breen Ho",
"first_name": "Breen",
"last_name": "Ho",
"email": "breenXXX@gmail.com",
"status": "placed",
"time_remaining": null,
"event_id": "18568926158"
}
查看我们的扩展框架:http://www.eventbrite.com/developer/v3/reference/expansions/
您可以添加一个参数 "expand=attendees",然后您将获得相关的与会者对象。
干杯!
当我(4 个月前)将 Eventbrite API 集成到我的应用程序中时,我得到了响应以及订单请求的参与者详细信息(即 https://www.eventbriteapi.com/v3/orders/454268667/?token=SXXXX.....XXX).
但是今天,我检查了订单请求的响应,但没有获得与会者详细信息和 ticket_class_id。他们是否更改了 API 响应格式?如何获取订单的参加者详细信息和 ticket_class_id?
我需要在生产服务器中解决这个问题。
现在我收到这样的回复(没有与会者详细信息和 ticket_class_id)。
{
"resource_uri": "https://www.eventbriteapi.com/v3/orders/454268667/",
"id": "454268667",
"changed": "2015-09-11T09:34:03Z",
"created": "2015-09-11T09:34:02Z",
"costs": {
"payment_fee": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"gross": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"eventbrite_fee": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"tax": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
},
"base_price": {
"currency": "USD",
"display": "[=11=].00",
"value": 0
}
},
"name": "Breen Ho",
"first_name": "Breen",
"last_name": "Ho",
"email": "breenXXX@gmail.com",
"status": "placed",
"time_remaining": null,
"event_id": "18568926158"
}
查看我们的扩展框架:http://www.eventbrite.com/developer/v3/reference/expansions/
您可以添加一个参数 "expand=attendees",然后您将获得相关的与会者对象。
干杯!