This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Working with Orders in Eventbrite
Overview
The following operations allow you to work with orders. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with orders, see Sample configuration.
Operation | Description |
---|---|
Order Details | Retrieves the the order details on events. |
Operation details
This section provides further details on the operations related to orders.
Order Details
<eventbrite.getOrderDetails> <orderId>{$ctx:orderId}</orderId> </eventbrite.getOrderDetails>
Returns the order details on events.Use the operation with the following parameters.
Properties
- orderId : Id of the order.
Sample Request
Following is a sample REST request that can be handled by the getOrderDetails operation.
{ "apiUrl":"https://www.eventbriteapi.com", "accessToken":”<accessToken>", "orderId":"<orderId>", }
Related API Documentation
http://developer.eventbrite.com/docs/order-details/
Sample Configuration
Following is a sample proxy service illustrates how to connect to Eventbrite with the init operation and use the getOrderDetails operation.
<proxy xmlns="http://ws.apache.org/ns/synapse" name="getOrderDetails" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="apiUrl" expression="json-eval($.apiUrl)"/> <property name="accessToken" expression="json-eval($.accessToken)"/> <property name="orderId" expression="json-eval($.orderId)"/> <eventbrite.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <accessToken>{$ctx:accessToken}</accessToken> </eventbrite.init> <eventbrite.getOrderDetails> <orderId>{$ctx:orderId}</orderId> </eventbrite.getOrderDetails> <respond/> </inSequence> <outSequence> <log/> <send/> </outSequence> </target> <description/> </proxy>