Search for Events and/or Companies
POST/statistics/companies/events/search
Returns a list of Companies and Events based on the search query.
Request
- application/json
Body
Input data
search string
Search query
Responses
- 200
- 406
Companies and Events lists
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
:company_guid
object
company
object
guid uuid
The guid of the Company.
name string
The name of the Company.
events
object[]
guid uuid
The guid of the Event.
name string
The name of the Event.
start ISO 8601
The start of the Event.
end ISO 8601
The end of the Event.
[
{
":company_guid": {
"company": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"events": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"start": "string",
"end": "string"
}
]
}
}
]
The search query is required, and must be a string.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Loading...