post https://api.accelevents.com/rest/event/$/people/getCompanyListOfEventAttendeeWithPaginationAndAscendingByCompany
This API is used to get the list of companies of all the attendees of the event. The returned list is paginated and sorted alphabetically. To call this API, you need to pass,
- the eventurl in the path parameter.
- authorisation token in the header.
- A JSON object, in the request body, which should have page size, page and a search string. The search string can be empty to fetch all the companies. If any value is passed in the search string parameter then only the companies whose name matches the search string will be returned.
The response includes total records, filtered records, list of JSON elements representing the company. If there is any error then an error message will also be present.
Here is the description of response fields.
Field | Description |
---|---|
recordsTotal | Represents total number of companies. |
recordsFiltered | Represents the number of companies returned in this response. |
data | It contains a list of JSON object. Each JSON object represent a company. |
company | It represents company name. |
title | It represents title, but in current, API it will be always null. |
count | It represents count, in current API it will be always null. |
error | It represents string error message. |
Here is the description of the error code
Response Status Code | Error Code | Description |
---|---|---|
401 | 4010101 | Not authorized to access. |
404 | 4040200 | Event not found. |
406 | Not valid Json format |