Method Summary
Public Methods | ||
public |
getBorderoReport(eventId: number, query: object): Promise Get Event Bordero Report |
|
public |
getEntryReport(eventId: number, sessionId: number, query: object): Promise Get Event Entry Report |
|
public |
Get event |
|
public |
getEventAttributes(id: string | number, query: object): Promise Get event attributes |
|
public |
getEventCategories(category: string, query: object): Promise Get the search event categorie. |
|
public |
getEventCrew(id: string | number, query: object): Promise Get event crew |
|
public |
Get event session tickets |
|
public |
getEventTickets(id: string | number, query: object): Promise Get event tickets |
|
public |
getEventTypes(query: {}): * Deprecated |
|
public |
getFeatured(query: object): Promise Featured events |
|
public |
getHomeCover(query: object): Promise Home Cover |
|
public |
getHomeSections(query: object): Promise Get Home Sections |
|
public |
identifyEvent(link: string, fields: string, queryOpt: object): Promise Identify event |
|
public |
requestExportList(eventId: number, data: object, query: object): Promise Request export list processment. |
|
public |
requestPasskeysReport(eventId: number, data: object, query: object): Promise Request the passkeys report processment. |
Inherited Summary
From class RequestHandler | ||
public |
auth: * |
|
public |
settings: * |
|
public |
Delete resource |
|
public |
Get resource |
|
public |
Post resource |
|
public |
Put resource |
|
public |
Create new request promise |
|
public |
Set Environment |
|
public |
Set API url |
|
public |
Upload files |
Public Methods
public getEntryReport(eventId: number, sessionId: number, query: object): Promise source
Get Event Entry Report
public getEventCategories(category: string, query: object): Promise source
Get the search event categorie.
public getEventSessionTickets(id: string | number, sessionId: string | number, query: object): Promise source
Get event session tickets
public getEventTypes(query: {}): * source
Deprecated
Params:
Name | Type | Attribute | Description |
query | {} |
|
Return:
* |
public getFeatured(query: object): Promise source
Featured events
Params:
Name | Type | Attribute | Description |
query | object |
|
Optional request parameters. |
Example:
ENDPOINT: '/featured'
...
ingresse.ApiEvents.getFeatured({ method: 'banner', state: 'sp' })
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
public getHomeCover(query: object): Promise source
Home Cover
Params:
Name | Type | Attribute | Description |
query | object |
|
Optional request parameters. |
Example:
ENDPOINT: '/home/cover'
...
ingresse.ApiEvents.getHomeCover()
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
public getHomeSections(query: object): Promise source
Get Home Sections
Params:
Name | Type | Attribute | Description |
query | object |
|
Optional request parameters. |
Example:
ENDPOINT: '/home/sections'
...
ingresse.ApiEvents.getHomeSections()
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
public requestExportList(eventId: number, data: object, query: object): Promise source
Request export list processment.
Will request to API generate an List and API will send an email to the user when the list is available, with the link to download file.
Params:
Name | Type | Attribute | Description |
eventId | number | The event ID. |
|
data | object | Report requisition details. |
|
query | object |
|
Optional request parameters. |
query.filters | array |
|
|
query.format | string |
|
'csv' or 'xlsx'. Default: 'csv'. |
query.type | string |
|
'guestlist', 'passkey' or 'transactions'. Default: 'transactions' |
Example:
...
const ing = new Sdk();
ing.api.requestExportList(21232, {
"type": "guestlist",
"format": "xlsx",
"filters": [
{
"name" : "channel",
"value": "offline",
},
{
"name" : "term",
"value": "udi",
}
]
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});
public requestPasskeysReport(eventId: number, data: object, query: object): Promise source
Request the passkeys report processment.
Will request to API generate the Passkeys Report and API will send an email to the user when the report is available, with the link to download file.
Example:
...
const ing = new Sdk();
ing.api.requestPasskeysReport(21232, {
"type": "passkey",
"format": "xlsx",
"filters": [{
"status": "approved"
}]
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});