Skip to content

Backend Base Specification

Version: 4.0.0
📘 API Documentation for the Kisum Base Backend System

External integration quickstart: For a short auth → companies → events flow against staging (no /api prefix in examples), see DOC_API_CONNECT.md.

Maintenance: Regenerate swagger-output.json with node swagger.js when routes change. This file is hand-maintained for full request/response detail—do not overwrite it with a thin auto-generated export.


This API contains the Base / Core business backend for Kisum.

This service is responsible for core business features only, such as artists, events, vendors, venues, offers, tickets, tasks, dashboard, and related business workflows.

This service is not the source of truth for:

  • who the user is
  • authentication
  • JWT issuance
  • effective access
  • module access decisions
  • company memberships
  • permissions
  • permission access decisions
  • packages
  • package access decisions
  • subscriptions
  • subscription-based access decisions
  • commercial entitlements
  • active company resolution as an authority for access decisions
  • actual event financial data (final accounting and settlements handled by Financial Backend)

Those responsibilities belong to:

  • Auth Backend → identity, JWT validation, memberships, effective access
  • Platform Core Backend → packages, add-ons, subscriptions, company entitlements
  • Platform Financial Backend → financial reports, income, expense, settlements, and other finance-domain records

This backend enforces access using a centralized model:

effective_access = company_entitlements ∩ membership_grants
  • Auth Backend → computes effective access
  • Platform Core → provides company entitlements
  • This backend → enforces access

This backend must NEVER:

  • compute access
  • read Platform Core for user access decisions
  • trust frontend access state
  • infer permissions from JWT

All access decisions MUST come from:

Auth → /auth/me/access

Authentication in this backend is being deprecated and moved to the external Auth Backend.

This Base backend must transition to the following model:

  • receive JWT from frontend
  • validate JWT only
  • trust external Auth service as issuer
  • never issue or refresh tokens locally

Any old /auth/* implementation in this backend is considered legacy and must be removed.


This backend is tenant-scoped and must require explicit company context.

x-org: <COMPANY_ID>
  • tenant-scoped routes must reject requests without x-org
  • tenant-scoped routes must reject malformed x-org
  • tenant-scoped routes must treat x-org as the active company context for the request
  • access to that company must be validated through the external Auth system

Any legacy logic in this backend that previously determined company context internally is deprecated and must be removed.


This backend must enforce only the effective access returned by Auth.

Authorization: Bearer <JWT_FROM_AUTH_SERVICE>
x-org: <COMPANY_ID>

For every protected route:

  1. parse and validate JWT
  2. read x-org
  3. resolve effective access from Auth
  4. confirm basic exists in effective modules
  5. confirm required basic.* permission exists
  6. execute request or deny

A request must be denied unless all are true:

  • JWT is valid
  • x-org is present and valid
  • user belongs to the company in x-org
  • company has Basic active (indirectly through Auth effective access)
  • user has basic in effective modules
  • user has the required basic.* permission

This backend should use permission naming such as:

  • basic.dashboard.view
  • basic.artist.view
  • basic.artist.create
  • basic.artist.edit
  • basic.artist.delete
  • basic.event.view
  • basic.event.create
  • basic.event.edit
  • basic.event.delete
  • basic.calendar.view
  • basic.calendar.edit
  • basic.vendor.view
  • basic.vendor.create
  • basic.vendor.edit
  • basic.vendor.delete
  • basic.venue.view
  • basic.ticketing.view
  • basic.ticketing.create
  • basic.workspace.view
  • basic.workspace.create
  • basic.workspace.edit
  • basic.workspace.delete

This backend must not:

  • map package → permission locally as source of truth
  • keep local permission tables as source of truth
  • keep local subscription tables as source of truth
  • use old package/subscription logic to allow routes

This backend participates in a 3-layer access system.

Defines what the company owns.

Level 2 — Membership module grants (Auth)

Section titled “Level 2 — Membership module grants (Auth)”

Defines which modules the user can access.

Defines what the user can do inside modules.

This backend ONLY enforces the result.

It does not compute or store these layers.


All endpoints in this backend must follow this rule:

For every request:

  1. validate JWT
  2. read x-org
  3. resolve effective access from Auth
  4. verify module access (must include basic)
  5. verify permission (basic.*)
  6. execute or deny

A request MUST be rejected if:

  • JWT is missing or invalid → 401

  • x-org is missing → 400

  • user does not belong to company → 403

  • basic module not present → 403

  • permission missing → 403

  • effective access cannot be resolved from Auth → 503. This typically occurs when:

    • Auth service is unavailable
    • network failure between services
    • timeout when resolving /auth/me/access

    In this case, requests must fail closed (deny access).

This backend must NEVER:

  • allow access based on old package logic
  • allow access based on old subscription logic
  • allow access based on local roles
  • allow access based on local permissions
  • assume access from JWT alone
  • trust frontend UI decisions

Access decisions must come ONLY from:

  • Auth Backend (/auth/me/access)

Any endpoint bypassing this logic is considered:

❌ invalid implementation
❌ security risk
❌ architecture violation

and must be fixed immediately.


  • https://api-v2.kisum.dev/api — Staging Server
  • http://localhost:3099/api — Localhost

This backend must operate under a strict fail-closed model.

If any of the following cannot be verified:

  • JWT validity
  • company context (x-org)
  • membership
  • effective access
  • permissions

Then the request MUST be denied.

Then:

REQUEST MUST BE DENIED

No fallback is allowed.

Under no circumstance should the system “guess”, “fallback”, or “allow temporarily”.


This API consumes JWTs issued by the Auth Backend and requires an active company context.

⚠️ Any local authentication, package-access, or permission-access logic inside this backend is deprecated and must be removed.

This backend must only accept:

  • bearerAuth: Authorization: Bearer <token>
  • x-org: header x-org

This backend must trust:

  • Auth Backend → identity, membership, effective access, permissions
  • Platform Core Backend → company commercial entitlements (indirectly through Auth)

This backend must not:

  • log users in
  • issue JWTs
  • refresh JWTs
  • validate credentials
  • decide whether the company owns Basic
  • decide whether the user has Basic/module access
  • decide permission access from local package/role tables
  • act as a source of truth for subscriptions or commercial entitlement

Those responsibilities belong to:

  • Auth Backend → membership and effective access - 2.1.-Backend-Auth.md
  • Platform Core Backend → commercial entitlements

This backend is only responsible for JWT consumption and request enforcement based on the effective access returned by Auth.

x-org identifies the active company context for the request.

This backend must treat x-org as the tenant/company selector for all tenant-scoped business routes.

Authorization: Bearer <JWT_FROM_AUTH_SERVICE>
x-org: <COMPANY_ID>
Content-Type: application/json

Notes:

  • Authorization must come from the external Auth service
  • x-org must identify the active company for the request
  • tenant-scoped routes must reject missing or invalid x-org

  • application/json for most CRUD operations
  • multipart/form-data for uploads, images, invoices, receipts, profile pictures, ticket imports, and task attachments
  • application/xml is declared for some endpoints, but JSON looks like the main format

  • 200 / 201 / default: success
  • 400: invalid request / validation failure / missing or malformed x-org
  • 401: unauthorized (missing, invalid, expired, or rejected JWT)
  • 403: forbidden (valid JWT, but company access not allowed)
  • 500: internal server error

This backend does not own identity.

For this service, the source of truth for who the user is is the Auth Backend.

The Base backend must trust Auth for:

  • who the user is
  • whether the JWT is valid
  • what company is active
  • what effective access the user has

This service must not:

  • implement login
  • issue JWTs
  • refresh JWTs
  • reset passwords
  • register users
  • decide identity locally

Identity-related flows are defined in:

Required request headers for Base backend routes:

Authorization: Bearer <JWT>
x-org: <COMPANY_ID>

This backend must validate JWTs issued by the external Auth Backend.

For every protected request, this backend must validate:

  • token signature
  • token expiration
  • token issuer
  • token audience
  • token format
  • token session validity, if the chosen middleware supports Auth session validation

This backend must not:

  • generate JWTs
  • issue refresh tokens
  • validate email/password credentials
  • manage login flows
  • perform password reset flows
  • treat itself as the authentication source of truth

Any legacy auth logic in this backend is deprecated and must be removed, including:

  • local /auth/* route handlers
  • local login services
  • local token generation
  • local refresh-token logic
  • local password-reset flows
  • any middleware that assumes this backend is the issuer of the JWT

JWTs must come from the external Auth service defined in:

This backend must only validate and consume those tokens.


This backend must treat the active company as an explicit request context.

The active company is provided by the client using:

x-org: <COMPANY_ID>

For all tenant-scoped routes, this backend must:

  1. read x-org
  2. treat it as the active company identifier
  3. validate that it is present
  4. validate that it is in the expected format
  5. use it consistently for all tenant-scoped reads and writes

This backend must not:

  • invent a default company silently
  • derive the active company from local session state
  • treat a company selected in this backend as the source of truth
  • decide company membership by itself
  • decide commercial entitlement by itself

This backend must trust the external Auth system for:

  • whether the user belongs to the company in x-org
  • whether the user has effective access in that company

This backend must trust Platform Core only indirectly through Auth.

Any old company-selection logic inside this backend is deprecated and must be removed if it acts as an authority for tenant access.


This backend does not determine the user’s final access.

The source of truth for effective access is the Auth Backend.

  • resolving the authenticated user
  • validating membership in the active company
  • loading user grants
  • calling Platform Core for company entitlements
  • merging:
effectiveAccess = entitlements ∩ userGrants
  • returning the final access model

Note:

User must already have a valid company membership.

Membership is created via:

  • invitations (Auth)
  • admin actions (Auth)

Without membership, effective access must not be computed.

This backend is responsible only for enforcement

Section titled “This backend is responsible only for enforcement”

For each request, this backend must:

  1. validate JWT
  2. read x-org
  3. obtain effective access from Auth
  4. check whether basic is enabled for the user in that company
  5. check whether the required basic.* permission exists
  6. allow or deny the request

This backend must not:

  • decide whether the company bought Basic
  • decide whether the user has Basic access by itself
  • read package/subscription state as access truth
  • read Core directly for user runtime authorization
  • store local permission truth
  • store local module truth
  • infer effective access from JWT alone

Use:

for effective access resolution.


This backend does not authenticate users directly. All authentication-related endpoints, handlers, services, queries, and supporting logic in this backend are deprecated and must be removed.

The client must first authenticate with the Auth Backend, obtain:

  • Authorization: Bearer <access_token>
  • active company context via x-org

Then call Base backend routes with:

Authorization: Bearer <JWT>
x-org: <COMPANY_ID>
Content-Type: application/json
Terminal window
curl -X GET 'http://localhost:3099/api/events?type=all&page=1&limit=20' \
-H 'Authorization: Bearer <JWT>' \
-H 'x-org: <COMPANY_ID>'

The Base backend must trust Auth Backend for:

  • who the user is
  • whether the JWT is valid
  • what company is active
  • what effective access the user has

See:


  • Agencies — 14 operations
  • Agreements — 10 operations
  • Ai — 6 operations
  • Analytics — 1 operation
  • Approval — 6 operations
  • Artists — 27 operations
  • Avails — 9 operations
  • Cash Flow — 1 operations
  • Countries — 9 operations
  • Companies — 11 operations (business metadata only — NOT membership or access)
  • Dashboard — 3 operations
  • Events — 26 operations
  • Event Expense — 17 operations (estimated only; actual expenses blocked)
  • Event Expense - Approval — 7 operations (SOURCE OF TRUTH for actual expenses; /event/finance/expense/*)
  • Event Group — 10 operations
  • Event Income — 14 operations
  • Event Tax — 6 operations
  • Event Ticket — 18 operations
  • Event Intelligence Copilot — 3 operations
  • Kisum — 7 operations (legacy /kisum/* aliases)
  • Integrations - Finance — 11 operations (Finance API proxies, income ingest, cron failover)
  • Exchange — 2 operations
  • Festivals — 6 operations
  • Files — 1 operations
  • Genres — 1 operations
  • Integrations — 2 operations
  • News — 1 operations
  • Nextcloud — 3 operations
  • Notifications — 6 operations
  • Offer — 16 operations
  • Rankings — 5 operations
  • Reviews — 1 operations
  • Roster — 6 operations
  • Regions — 3 operations
  • Setlistfm — 8 operations
  • Tasks — 8 operations
  • Transactions — 2 operations
  • Trend — 1 operations
  • Vendors — 11 operations
  • Vendors System — 15 operations
  • Venues — 19 operations
  • Xero — 11 operations
  • Untagged — 2 operations (BLOCKER — must be categorized before production release)
  • Auth — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)
  • Company Users — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)
  • Company User Invitations — ❌ DEPRECATED — (moved to Auth Backend — MUST NOT be used)
  • Company Teams — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)
  • Packages — ❌ DEPRECATED (moved to Platform Core Backend — MUST NOT be used)
  • Permissions — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)
  • Role — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)
  • Subscription — ❌ DEPRECATED (moved to Platform Core Backend — MUST NOT be used)
  • Users — ❌ DEPRECATED (moved to Auth Backend — MUST NOT be used)


Operations in this group: 14

Purpose: Retrieve resource

Parameters

  • page (query, number) — default: 1
  • limit (query, number) — default: 20
  • q (query, string)
  • role (query, string; enum: agency, management)
  • type (query, string)
  • sort (query, string) — default: rosterSize
  • sortType (query, string; enum: asc, desc) — default: desc
  • countries (query, string)

Request body

None

Responses

  • 400 — Bad Request
  • 403 — Forbidden

Example request

Terminal window
curl -X GET 'http://localhost:3099/api/agencies' \
-H 'Authorization: Bearer <JWT>' \
-H 'x-org: <ORG>'

Purpose: Create resource

Parameters

None

Request body

  • Required: Yes
  • Content-Type: application/json
    • $ref: CreateAgencyDtoSchema
      • object
        • key: string required
        • name: string required
        • role: string enum(agency, management) — default: agency
        • otherRoles: array
        • airtableId: string
        • type: string
        • parent_code: string
        • parent_label: string
        • leaf_code: string
        • logo: string
        • website: string
        • radar_enabled: boolean — default: False
        • radar_domain: string
        • claimed: boolean
        • hq_locations: array
        • other_locations: array
        • top_artists: array
          • items:
            • object
              • key: string
              • name: string
              • image_url: string
              • profile_url: string
        • social_numbers: object
          • object
            • fbAvg: number (float)
            • fbTotal: object
            • igAvg: number (float)
            • igTotal: object
            • spAvg: number (float)
            • spTotal: object
            • ytAvg: number (float)
            • ytTotal: number (float)
            • igUrl: string
        • genres: array
        • rostr: object
          • object
            • uuid: string
            • rostrId: string
            • profile: object
            • rostr_parent: object
              • object
                • parent: object
                • url: string
            • recordLabelType: object
            • typeClassifier: object
        • rosterSize: number (float)
        • Content-Type: application/xml
          • $ref: CreateAgencyDtoSchema
            • object
              • key: string required
              • name: string required
              • role: string enum(agency, management) — default: agency
              • otherRoles: array
              • airtableId: string
              • type: string
              • parent_code: string
              • parent_label: string
              • leaf_code: string
              • logo: string
              • website: string
              • radar_enabled: boolean — default: False
              • radar_domain: string
              • claimed: boolean
              • hq_locations: array
              • other_locations: array
              • top_artists: array
                • items:
                  • object
                    • key: string
                    • name: string
                    • image_url: string
                    • profile_url: string
              • social_numbers: object
                • object
                  • fbAvg: number (float)
                  • fbTotal: object
                  • igAvg: number (float)
                  • igTotal: object
                  • spAvg: number (float)
                  • spTotal: object
                  • ytAvg: number (float)
                  • ytTotal: number (float)
                  • igUrl: string
              • genres: array
              • rostr: object
                • object
                  • uuid: string
                  • rostrId: string
                  • profile: object
                  • rostr_parent: object
                    • object
                      • parent: object
                      • url: string
                  • recordLabelType: object
                  • typeClassifier: object
              • rosterSize: number (float)
              • Responses

                • 400 — Bad Request
                • 401 — Unauthorized
                • 403 — Forbidden

                Example request

                Terminal window
                curl -X POST 'http://localhost:3099/api/agencies' \
                -H 'Authorization: Bearer <JWT>' \
                -H 'x-org: <ORG>' \
                -H 'Content-Type: application/json' \
                -d '{
                "key": "string",
                "name": "string",
                "role": "agency",
                "otherRoles": [
                "string"
                ],
                "airtableId": "string",
                "type": "string",
                "parent_code": "string",
                "parent_label": "string"
                }'

                Purpose: Retrieve resource

                Parameters

                • q (query, string) required
                • role (query, string; enum: agency, management)
                • limit (query, number) — default: 10

                Request body

                None

                Responses

                • 400 — Bad Request
                • 403 — Forbidden

                Example request

                Terminal window
                curl -X GET 'http://localhost:3099/api/agencies/search' \
                -H 'Authorization: Bearer <JWT>' \
                -H 'x-org: <ORG>'

                Purpose: Retrieve resource

                Parameters

                • id (path, string) required

                Request body

                None

                Responses

                • 403 — Forbidden

                Example request

                Terminal window
                curl -X GET 'http://localhost:3099/api/agencies/{id}' \
                -H 'Authorization: Bearer <JWT>' \
                -H 'x-org: <ORG>'

                Purpose: Replace resource

                Parameters

                • id (path, string) required

                Request body

                • Required: Yes
                • Content-Type: application/json
                  • $ref: UpdateAgencyDtoSchema
                    • object
                      • key: string
                      • name: string
                      • role: string enum(agency, management)
                      • otherRoles: array
                      • airtableId: string
                      • type: string
                      • parent_code: string
                      • parent_label: string
                      • leaf_code: string
                      • logo: string
                      • website: string
                      • radar_enabled: boolean
                      • radar_domain: string
                      • claimed: boolean
                      • hq_locations: array
                      • other_locations: array
                      • top_artists: array
                        • items:
                          • object
                            • key: string
                            • name: string
                            • image_url: string
                            • profile_url: string
                      • social_numbers: object
                        • object
                          • fbAvg: number (float)
                          • fbTotal: object
                          • igAvg: number (float)
                          • igTotal: object
                          • spAvg: number (float)
                          • spTotal: object
                          • ytAvg: number (float)
                          • ytTotal: number (float)
                          • igUrl: string
                      • genres: array
                      • rostr: object
                        • object
                          • uuid: string
                          • rostrId: string
                          • profile: object
                          • rostr_parent: object
                            • object
                              • parent: object
                              • url: string
                          • recordLabelType: object
                          • typeClassifier: object
                      • rosterSize: number (float)
                      • Content-Type: application/xml
                        • $ref: UpdateAgencyDtoSchema
                          • object
                            • key: string
                            • name: string
                            • role: string enum(agency, management)
                            • otherRoles: array
                            • airtableId: string
                            • type: string
                            • parent_code: string
                            • parent_label: string
                            • leaf_code: string
                            • logo: string
                            • website: string
                            • radar_enabled: boolean
                            • radar_domain: string
                            • claimed: boolean
                            • hq_locations: array
                            • other_locations: array
                            • top_artists: array
                              • items:
                                • object
                                  • key: string
                                  • name: string
                                  • image_url: string
                                  • profile_url: string
                            • social_numbers: object
                              • object
                                • fbAvg: number (float)
                                • fbTotal: object
                                • igAvg: number (float)
                                • igTotal: object
                                • spAvg: number (float)
                                • spTotal: object
                                • ytAvg: number (float)
                                • ytTotal: number (float)
                                • igUrl: string
                            • genres: array
                            • rostr: object
                              • object
                                • uuid: string
                                • rostrId: string
                                • profile: object
                                • rostr_parent: object
                                  • object
                                    • parent: object
                                    • url: string
                                • recordLabelType: object
                                • typeClassifier: object
                            • rosterSize: number (float)
                            • Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/agencies/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "key": "string",
                              "name": "string",
                              "role": "agency",
                              "otherRoles": [
                              "string"
                              ],
                              "airtableId": "string",
                              "type": "string",
                              "parent_code": "string",
                              "parent_label": "string"
                              }'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/agencies/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • page (query, number) — default: 1
                              • limit (query, number) — default: 20
                              • q (query, string)
                              • role (query, string; enum: agency, management)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agencies/{id}/roster' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: AddRosterDtoSchema
                                  • object
                                    • artistId: string required
                                    • id: number required (float)
                                    • key: string required
                                    • name: string required
                                    • role: string enum(agency, management) required
                              • Content-Type: application/xml
                                • $ref: AddRosterDtoSchema
                                  • object
                                    • artistId: string required
                                    • id: number required (float)
                                    • key: string required
                                    • name: string required
                                    • role: string enum(agency, management) required

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/agencies/{id}/roster' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "artistId": "string",
                              "id": 0,
                              "key": "string",
                              "name": "string",
                              "role": "agency"
                              }'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agencies/{id}/top-roster' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required
                              • rosterId (path, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/agencies/{id}/roster/{rosterId}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • page (query, number) — default: 1
                              • limit (query, number) — default: 20
                              • q (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agencies/{id}/team' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: AddTeamMemberDtoSchema
                                  • object
                                    • name: string required
                                    • email: string (email)
                                    • title: string
                                    • phone: string
                                    • department: string
                                    • role: string
                                    • active: boolean — default: True
                              • Content-Type: application/xml
                                • $ref: AddTeamMemberDtoSchema
                                  • object
                                    • name: string required
                                    • email: string (email)
                                    • title: string
                                    • phone: string
                                    • department: string
                                    • role: string
                                    • active: boolean — default: True

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/agencies/{id}/team' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "name": "string",
                              "email": "user@example.com",
                              "title": "string",
                              "phone": "string",
                              "department": "string",
                              "role": "string",
                              "active": false
                              }'

                              Purpose: Replace resource

                              Parameters

                              • id (path, string) required
                              • teamId (path, string) required

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: UpdateTeamMemberDtoSchema
                                  • object
                                    • name: string
                                    • email: string (email)
                                    • title: string
                                    • phone: string
                                    • department: string
                                    • role: string
                                    • active: boolean
                              • Content-Type: application/xml
                                • $ref: UpdateTeamMemberDtoSchema
                                  • object
                                    • name: string
                                    • email: string (email)
                                    • title: string
                                    • phone: string
                                    • department: string
                                    • role: string
                                    • active: boolean

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/agencies/{id}/team/{teamId}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "name": "string",
                              "email": "user@example.com",
                              "title": "string",
                              "phone": "string",
                              "department": "string",
                              "role": "string",
                              "active": false
                              }'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required
                              • teamId (path, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/agencies/{id}/team/{teamId}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 10

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agreements' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agreements/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Replace resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/agreements/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • assets (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agreements/{id}/{assets}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required
                              • assets (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/agreements/{id}/{assets}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Replace resource

                              Parameters

                              • id (path, string) required
                              • assets (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/agreements/{id}/{assets}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • assets (path, string) required
                              • extra (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/agreements/{id}/{assets}/{extra}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/agreements/create' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • offerId (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/agreements/create/pdf/{offerId}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Delete resource

                              Parameters

                              • offerId (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/agreements/delete/pdf/{offerId}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 6

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: RequestGeminiSchema
                                  • object
                                    • query: string
                              • Content-Type: application/xml
                                • $ref: RequestGeminiSchema
                                  • object
                                    • query: string

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/ai-kisum/gemini' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "query": "string"
                              }'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: RequestChatAISchema
                                  • object
                                    • artist: string
                                    • request: string
                                    • char: number (float)
                              • Content-Type: application/xml
                                • $ref: RequestChatAISchema
                                  • object
                                    • artist: string
                                    • request: string
                                    • char: number (float)

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/ai-kisum' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "artist": "string",
                              "request": "string",
                              "char": 0
                              }'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: RequestN8NSchema (schema definition not found)
                              • Content-Type: application/xml
                                • $ref: RequestN8NSchema (schema definition not found)

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/ai-kisum/n8n' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "$ref": "RequestN8NSchema"
                              }'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/ai-kisum/conversation/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: RequestConversationSchema (schema definition not found)
                              • Content-Type: application/xml
                                • $ref: RequestConversationSchema (schema definition not found)

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/ai-kisum/conversation' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "$ref": "RequestConversationSchema"
                              }'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: RequestChatSchema (schema definition not found)
                              • Content-Type: application/xml
                                • $ref: RequestChatSchema (schema definition not found)

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/ai-kisum/chat' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "$ref": "RequestChatSchema"
                              }'

                              Operations in this group: 1

                              Purpose: Retrieve resource

                              Parameters

                              • startDate (query, string)
                              • endDate (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/analytics/financials' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 6

                              Purpose: Retrieve resource

                              Parameters

                              • status (query, string; enum: pending, approved, rejected, canceled, failed)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/approval' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • status (query, string; enum: pending, approved, rejected, canceled, failed)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/approval/by-user' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              • Required: No
                              • Content-Type: application/json
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string
                              • Content-Type: application/xml
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/approval/{id}/approve' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "notes": "string"
                              }'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string
                              • Content-Type: application/xml
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/approval/{id}/reject' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "notes": "string"
                              }'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              • Required: No
                              • Content-Type: application/json
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string
                              • Content-Type: application/xml
                                • $ref: UpdateApprovalDtoSchema
                                  • object
                                    • notes: string

                              Responses

                              • 400 — Bad Request
                              • 401 — Unauthorized
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/approval/{id}/cancel' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "notes": "string"
                              }'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/approval/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 27

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • rankings (query, boolean)
                              • sort (query, string)
                              • page (query, number)
                              • limit (query, number)
                              • iso2 (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/artists' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • q (query, string) required
                              • code (query, string)
                              • db (query, string)
                              • limit (query, number)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/search' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • q (query, string)
                              • type (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/search/new' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • q (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/search/new/music-brainz' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • default

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/genres' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • spotifyID (query, string) required
                              • name (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/platforms' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)
                              • time_range (query, string)
                              • location (query, string)
                              • location_name (query, string)
                              • type (query, string)
                              • from (query, string)
                              • to (query, string)
                              • tag (query, string)
                              • check (query, boolean)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/trend' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)
                              • country (query, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/data' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)
                              • country (query, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/data-v2' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/stats' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/card-stats' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/demographics' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/setlistfm' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              GET /artists/{id}/prediction/{countryCode}

                              Section titled “GET /artists/{id}/prediction/{countryCode}”

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • countryCode (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/prediction/{countryCode}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/bandsintown/events' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/bandsintown' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/historical' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/discography' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/events' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/performance' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}/contacts' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/artists/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/artists/{id}/prediction-v2' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/artists/{id}/prediction-v3' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/artists/market-analysis' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: CreateBioDtoSchema
                                  • object
                                    • resJson: object
                              • Content-Type: application/xml
                                • $ref: CreateBioDtoSchema
                                  • object
                                    • resJson: object

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/artists/{id}/bio' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "resJson": {}
                              }'

                              All protected routes MUST follow this flow:

                              1. Validate JWT → if invalid → 401

                              2. Validate x-org → if missing → 400

                              3. Resolve effective access → call Auth /auth/me/access

                              4. If Auth fails → return 503

                              5. Check module access → if missing → 403

                              6. Check permission → if missing → 403

                              7. Execute request


                              ⚠️ DEPRECATED — DO NOT USE

                              All authentication logic in this backend is deprecated and must be removed.

                              This backend no longer owns identity or authentication.

                              All /auth/* endpoints have been removed from this backend.

                              They must not be called under any circumstance.

                              Refer to:

                              • Auth Backend documentation

                              This service must NOT:

                              • authenticate users
                              • issue JWT tokens
                              • refresh tokens
                              • manage passwords
                              • validate credentials
                              • manage user identity

                              All authentication is handled by the Auth Backend.

                              Source of truth:

                              • 2.1.-Backend-Auth.md. Auth Backend endpoints must be consumed via its own documentation. This backend must not depend on specific endpoint paths of the Auth service.

                              This backend must:

                              • accept Authorization: Bearer <JWT>
                              • accept x-org: <companyId>
                              • validate JWT (signature, expiration, issuer, audience, and token format)
                              • trust Auth for:
                                • user identity
                                • company membership
                                • effective access

                              This backend requires the client to send the active company in:

                              x-org: <COMPANY_ID>

                              The Base backend does not own company selection.

                              The active company must come from the external Auth flow and frontend company selection process.

                              This backend must then rely on the external Auth system to determine whether the authenticated user belongs to that company and has valid access there.

                              Any legacy logic that previously selected or resolved the company inside this backend as an authority for access is deprecated and must be removed.

                              JWT validation in this backend must be limited to consuming tokens issued by the external Auth service.

                              Allowed:

                              • parse bearer token
                              • verify JWT signature
                              • verify issuer
                              • verify audience
                              • verify expiration
                              • reject invalid token with 401

                              Not allowed:

                              • generate token locally
                              • refresh token locally
                              • authenticate email/password locally
                              • keep this backend as JWT issuer

                              All local auth/token code is deprecated and must be removed.

                              All code related to Auth must be removed:

                              • controllers
                              • services
                              • routes
                              • middleware (if doing identity resolution)
                              • database logic for authentication
                              • password logic
                              • token generation logic

                              Only JWT validation middleware is allowed.

                              This backend must no longer determine package access, permission access, or subscription access locally.

                              The source of truth for effective access is now the external Auth system.

                              This means:

                              • package-based access checks in this backend are deprecated
                              • permission-based access checks remain required in this backend, but MUST rely exclusively on the effective access returned by Auth. Local permission systems as a source of truth are deprecated.
                              • subscription-based access checks in this backend are deprecated if they are local source-of-truth checks

                              This backend must only enforce the effective access model returned by Auth.

                              • ❌ Auth endpoints: deprecated
                              • ❌ Auth logic: must be removed
                              • ✅ Auth integration: required (external Auth service)

                              Operations in this group: 9

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • from (query, string)
                              • to (query, string)
                              • name (query, string)
                              • limit (query, number)
                              • sort (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/avails' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • from (query, date)
                              • to (query, date)
                              • name (query, string)
                              • limit (query, number)
                              • page (query, number)
                              • iso2 (query, string)
                              • artist (query, string)
                              • regions (query, array) — Array of territory IDs
                              • subregions (query, array) — Array of territory IDs
                              • countries (query, array) — Array of territory IDs
                              • sortBy (query, string; enum: name, date, fee, commission) — Field to sort results by
                              • sortOrder (query, string; enum: asc, desc) — Sort direction

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails/user' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)
                              • eventTitle (query, string)
                              • status (query, boolean)
                              • date (query, date)
                              • country_iso (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails/{id}/shows' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails/{id}/shows-summary' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • artist (query, string)
                              • regions (query, array) — Array of territory IDs
                              • subregions (query, array) — Array of territory IDs
                              • countries (query, array) — Array of territory IDs

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails/agencies' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/avails/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Replace resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/avails/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/avails/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 1

                              Purpose: Retrieve resource

                              Parameters

                              • startDate (query, string) required
                              • endDate (query, string) required

                              Request body

                              None

                              Responses

                              • 400 — Bad Request
                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/cash-flow' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 9

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • default

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 400 — Bad Request

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/all/currencies' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • sort (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/all' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • q (query, string)

                              Request body

                              None

                              Responses

                              • 400 — Bad Request

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/search' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • iso (path, string) required

                              Request body

                              None

                              Responses

                              • default

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/{iso}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • iso2 (path, string) required
                              • name (query, string) required — City name or partial name to search for

                              Request body

                              None

                              Responses

                              • 400 — Bad Request

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/{iso2}/cities/search' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • iso2 (path, string) required

                              Request body

                              None

                              Responses

                              • default

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/{iso2}/states' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • iso2 (path, string) required
                              • name (query, string) required — State name or partial name to search for

                              Request body

                              None

                              Responses

                              • 400 — Bad Request

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/{iso2}/states/search' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • iso2 (path, string) required
                              • state_code (path, string) required

                              Request body

                              None

                              Responses

                              • default

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/countries/{iso2}/states/{state_code}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              ⚠️ DEPRECATED — MOVED TO AUTH BACKEND

                              This section is no longer valid in the Base backend.

                              All routes, controllers, services, and database logic related to Auth must be removed.

                              See:

                              • user-to-company relationships
                              • company membership management

                              Company membership is part of:

                              • identity
                              • access control

                              and is now owned by:

                              • Auth Backend

                              • company user controllers
                              • membership assignment logic
                              • company-user tables as source of truth
                              • any access logic based on company-user relations

                              Use Auth Backend:


                              This backend must NOT:

                              • decide if user belongs to company
                              • assign users to companies
                              • manage memberships

                              Membership must be resolved via Auth.


                              Operations in this group: 3

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/company-users' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Update resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: UpdateCompanyUserSchema
                                  • object
                                    • company_team: string
                                    • permissions: array
                                    • job_title: string
                              • Content-Type: application/xml
                                • $ref: UpdateCompanyUserSchema
                                  • object
                                    • company_team: string
                                    • permissions: array
                                    • job_title: string

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X PATCH 'http://localhost:3099/api/company-users/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>' \
                              -H 'Content-Type: application/json' \
                              -d '{
                              "company_team": "string",
                              "permissions": [
                              "string"
                              ],
                              "job_title": "string"
                              }'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/company-users/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              ⚠️ DEPRECATED — MOVED TO AUTH BACKEND

                              This section is no longer valid in the Base backend.

                              All routes, controllers, services, and database logic related to Auth must be removed.

                              See:

                              Invitations are part of:

                              • user onboarding
                              • company membership creation
                              • identity lifecycle

                              This means they belong to the Auth Backend, not Platform Core and not Base backend.

                              • inviting users to companies
                              • onboarding flows
                              • invitation token handling

                              Invitations are part of:

                              • identity lifecycle
                              • onboarding
                              • membership creation

                              and are owned by:

                              • Auth Backend

                              • invitation controllers
                              • invitation routes
                              • invitation services
                              • invitation database tables
                              • invitation email logic

                              Use Auth Backend:


                              This backend must NOT:

                              • create invitations
                              • accept invitations
                              • manage onboarding flows

                              Invitation flow must be handled by Auth.


                              ⚠️ DEPRECATED — MOVED TO AUTH BACKEND

                              This section is no longer valid in the Base backend.

                              All routes, controllers, services, and database logic related to Auth must be removed.

                              See:

                              • team structures
                              • team-based access
                              • grouping users within company

                              Teams affect:

                              • permissions
                              • access control

                              and belong to:

                              • Auth Backend

                              • team controllers
                              • team routes
                              • team-based permission logic
                              • team-based access checks

                              Use Auth Backend:


                              This backend must NOT:

                              • resolve access using teams
                              • manage team membership for access control

                              Teams must only be consumed via Auth effective access.


                              Operations in this group: 11

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/companies' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/companies' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/companies/user/' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • permission_type (query, string; enum: user, team)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/companies/active-package' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/companies/user/details/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/companies/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Replace resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X PUT 'http://localhost:3099/api/companies/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required
                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/companies/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              None

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/companies/image' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Create resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X POST 'http://localhost:3099/api/companies/user/{id}' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Delete resource

                              Parameters

                              • id (path, string) required

                              Request body

                              None

                              Responses

                              • 403 — Forbidden

                              Example request

                              Terminal window
                              curl -X DELETE 'http://localhost:3099/api/companies/{id}/leave' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 3

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • period (query, string; enum: all_time, last_month, three_months, six_months) — default: all_time — Options: all_time, last_month, three_months, six_months

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/dashboard/events-overview' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/dashboard/upcoming-events' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Purpose: Retrieve resource

                              Parameters

                              • public (query, string)
                              • period (query, string; enum: yearly, half-yearly, quarterly) — default: yearly — Options: yearly, half-yearly, quarterly

                              Request body

                              None

                              Responses

                              • 403 — Forbidden
                              • 500 — Internal Server Error

                              Example request

                              Terminal window
                              curl -X GET 'http://localhost:3099/api/dashboard/financial' \
                              -H 'Authorization: Bearer <JWT>' \
                              -H 'x-org: <ORG>'

                              Operations in this group: 26

                              Purpose: Create resource

                              Parameters

                              • public (query, string)

                              Request body

                              • Required: Yes
                              • Content-Type: application/json
                                • $ref: CreateEventsV2DtoSchema
                                  • object
                                    • posted_by: string required
                                    • status: boolean required
                                    • title: string required
                                    • date: string required (date-time)
                                    • time: object required
                                      • object
                                        • start: string required (date-time)
                                        • end: string required (date-time)
                                    • venue: string required
                                    • type: string enum(speaker, concert, workshop, meetup, festival) required
                                    • country_name: string required
                                    • country_iso: string required
                                    • country_currency: string required
                                    • city: string required
                                    • lineup: array required
                                      • items:
                                        • object
                                          • artist: string required
                                          • currency: string required
                                          • amount: number required (float)
                                          • vendor: string
                                    • Content-Type: application/xml
                                      • $ref: CreateEventsV2DtoSchema
                                        • object
                                          • posted_by: string required
                                          • status: boolean required
                                          • title: string required
                                          • date: string required (date-time)
                                          • time: object required
                                            • object
                                              • start: string required (date-time)
                                              • end: string required (date-time)
                                          • venue: string required
                                          • type: string enum(speaker, concert, workshop, meetup, festival) required
                                          • country_name: string required
                                          • country_iso: string required
                                          • country_currency: string required
                                          • city: string required
                                          • lineup: array required
                                            • items:
                                              • object
                                                • artist: string required
                                                • currency: string required
                                                • amount: number required (float)
                                                • vendor: string

                                            Responses

                                            • 400 — Bad Request
                                            • 401 — Unauthorized
                                            • 403 — Forbidden
                                            • 500 — Internal Server Error

                                            Example request

                                            Terminal window
                                            curl -X POST 'http://localhost:3099/api/v2/events' \
                                            -H 'Authorization: Bearer <JWT>' \
                                            -H 'x-org: <ORG>' \
                                            -H 'Content-Type: application/json' \
                                            -d '{
                                            "posted_by": "string",
                                            "status": false,
                                            "title": "string",
                                            "date": "2026-01-01T00:00:00Z",
                                            "time": {
                                            "start": "2026-01-01T00:00:00Z",
                                            "end": "2026-01-01T00:00:00Z"
                                            },
                                            "venue": "string",
                                            "type": "speaker",
                                            "country_name": "string"
                                            }'

                                            Purpose: Update resource

                                            Parameters

                                            • id (path, string) required
                                            • public (query, string)

                                            Request body

                                            • Required: Yes
                                            • Content-Type: application/json
                                              • $ref: UpdateEventsV2DtoDefinition (schema definition not found)
                                            • Content-Type: application/xml
                                              • $ref: UpdateEventsV2DtoDefinition (schema definition not found)

                                            Responses

                                            • 400 — Bad Request
                                            • 403 — Forbidden
                                            • 500 — Internal Server Error

                                            Example request

                                            Terminal window
                                            curl -X PATCH 'http://localhost:3099/api/v2/events/{id}' \
                                            -H 'Authorization: Bearer <JWT>' \
                                            -H 'x-org: <ORG>' \
                                            -H 'Content-Type: application/json' \
                                            -d '{
                                            "$ref": "UpdateEventsV2DtoDefinition"
                                            }'

                                            Purpose: Create resource

                                            Parameters

                                            • public (query, string)

                                            Request body

                                            • Required: Yes
                                            • Content-Type: application/json
                                              • $ref: CreateEventsDtoSchema
                                                • object
                                                  • eventOrg: string required
                                                  • status: boolean required
                                                  • title: string required
                                                  • date: string required (date-time)
                                                  • country_iso: string required
                                                  • country_name: string required
                                                  • country_currency: string required
                                                  • city: string required
                                                  • venue: string required
                                                  • venue_id: string
                                                  • description: string
                                                  • type: string required
                                                  • lineup: array
                                                  • time: object
                                                    • object
                                                      • start: string required (date-time)
                                                      • end: string required (date-time)
                                                  • financial: object required
                                                    • object
                                                      • expenses: object
                                                        • object
                                                          • estimated: object
                                                            • object
                                                              • talent_programming: array
                                                              • hospitality_logistics: array
                                                              • technical_infrastructure: array
                                                              • operations_management: array
                                                              • venue_site: array
                                                              • safety_compliance: array
                                                              • marketing_sales: array
                                                              • commercial: array
                                                              • general_administrative: array
                                                              • other: array
                                                              • actual: object
                                                                • object
                                                                  • talent_programming: array
                                                                  • hospitality_logistics: array
                                                                  • technical_infrastructure: array
                                                                  • operations_management: array
                                                                  • venue_site: array
                                                                  • safety_compliance: array
                                                                  • marketing_sales: array
                                                                  • commercial: array
                                                                  • general_administrative: array
                                                                  • other: array
                                                                  • income: object
                                                                    • object
                                                                      • estimated: object
                                                                        • object
                                                                          • fnb: array
                                                                          • sponsors: array
                                                                          • merch: array
                                                                          • other: array
                                                                          • actual: object
                                                                            • object
                                                                              • tickets: array
                                                                              • fnb: array
                                                                              • sponsors: array
                                                                              • merch: array
                                                                              • other: array
                                                                              • tickets: array
                                                                              • taxes: array
                                                                              • Content-Type: application/xml
                                                                                • $ref: CreateEventsDtoSchema
                                                                                  • object
                                                                                    • eventOrg: string required
                                                                                    • status: boolean required
                                                                                    • title: string required
                                                                                    • date: string required (date-time)
                                                                                    • country_iso: string required
                                                                                    • country_name: string required
                                                                                    • country_currency: string required
                                                                                    • city: string required
                                                                                    • venue: string required
                                                                                    • venue_id: string
                                                                                    • description: string
                                                                                    • type: string required
                                                                                    • lineup: array
                                                                                    • time: object
                                                                                      • object
                                                                                        • start: string required (date-time)
                                                                                        • end: string required (date-time)
                                                                                    • financial: object required
                                                                                      • object
                                                                                        • expenses: object
                                                                                          • object
                                                                                            • estimated: object
                                                                                              • object
                                                                                                • talent_programming: array
                                                                                                • hospitality_logistics: array
                                                                                                • technical_infrastructure: array
                                                                                                • operations_management: array
                                                                                                • venue_site: array
                                                                                                • safety_compliance: array
                                                                                                • marketing_sales: array
                                                                                                • commercial: array
                                                                                                • general_administrative: array
                                                                                                • other: array
                                                                                                • actual: object
                                                                                                  • object
                                                                                                    • talent_programming: array
                                                                                                    • hospitality_logistics: array
                                                                                                    • technical_infrastructure: array
                                                                                                    • operations_management: array
                                                                                                    • venue_site: array
                                                                                                    • safety_compliance: array
                                                                                                    • marketing_sales: array
                                                                                                    • commercial: array
                                                                                                    • general_administrative: array
                                                                                                    • other: array
                                                                                                    • income: object
                                                                                                      • object
                                                                                                        • estimated: object
                                                                                                          • object
                                                                                                            • fnb: array
                                                                                                            • sponsors: array
                                                                                                            • merch: array
                                                                                                            • other: array
                                                                                                            • actual: object
                                                                                                              • object
                                                                                                                • tickets: array
                                                                                                                • fnb: array
                                                                                                                • sponsors: array
                                                                                                                • merch: array
                                                                                                                • other: array
                                                                                                                • tickets: array
                                                                                                                • taxes: array

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 401 — Unauthorized
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X POST 'http://localhost:3099/api/events' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>' \
                                                                                                                  -H 'Content-Type: application/json' \
                                                                                                                  -d '{
                                                                                                                  "eventOrg": "string",
                                                                                                                  "status": false,
                                                                                                                  "title": "string",
                                                                                                                  "date": "2026-01-01T00:00:00Z",
                                                                                                                  "country_iso": "string",
                                                                                                                  "country_name": "string",
                                                                                                                  "country_currency": "string",
                                                                                                                  "city": "string"
                                                                                                                  }'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • public (query, string)
                                                                                                                  • page (query, number) — default: 1
                                                                                                                  • limit (query, number) — default: 10
                                                                                                                  • sort_by (query, string)
                                                                                                                  • country_iso (query, string)
                                                                                                                  • q (query, string)
                                                                                                                  • eventType (query, string)
                                                                                                                  • status (query, boolean)
                                                                                                                  • type (query, string; enum: today, upcoming, past, all) — default: today — Filter events by date type. Options: today, upcoming, past, all

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • public (query, string)
                                                                                                                  • sort_by (query, string)
                                                                                                                  • q (query, string)
                                                                                                                  • country_iso (query, string)
                                                                                                                  • type (query, string; enum: today, upcoming, past, all) — default: today — Filter events by date type. Options: today, upcoming, past, all

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/search' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/ticket-metrics' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/overview' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/ticket-and-tax' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/profitability' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/performance-analytics' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)
                                                                                                                  • page (query, number)
                                                                                                                  • limit (query, number)
                                                                                                                  • category (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/payments' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/financial' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/predictions' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/vendor-events' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Update resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  • Required: Yes
                                                                                                                  • Content-Type: application/json
                                                                                                                    • $ref: UpdateVendorEventsDtoSchema
                                                                                                                      • object
                                                                                                                        • vendors: array required
                                                                                                                  • Content-Type: application/xml
                                                                                                                    • $ref: UpdateVendorEventsDtoSchema
                                                                                                                      • object
                                                                                                                        • vendors: array required

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X PATCH 'http://localhost:3099/api/events/{id}/vendor-events' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>' \
                                                                                                                  -H 'Content-Type: application/json' \
                                                                                                                  -d '{
                                                                                                                  "vendors": [
                                                                                                                  "string"
                                                                                                                  ]
                                                                                                                  }'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/report' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • artistId (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}/offers/{artistId}' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Retrieve resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  None

                                                                                                                  Responses

                                                                                                                  • 400 — Bad Request
                                                                                                                  • 403 — Forbidden
                                                                                                                  • 500 — Internal Server Error

                                                                                                                  Example request

                                                                                                                  Terminal window
                                                                                                                  curl -X GET 'http://localhost:3099/api/events/{id}' \
                                                                                                                  -H 'Authorization: Bearer <JWT>' \
                                                                                                                  -H 'x-org: <ORG>'

                                                                                                                  Purpose: Update resource

                                                                                                                  Parameters

                                                                                                                  • id (path, string) required
                                                                                                                  • public (query, string)

                                                                                                                  Request body

                                                                                                                  • Required: Yes
                                                                                                                  • Content-Type: application/json
                                                                                                                    • $ref: UpdateEventsDtoDefinition
                                                                                                                      • object
                                                                                                                        • city: string
                                                                                                                        • country_iso: string
                                                                                                                        • country_name: string
                                                                                                                        • country_currency: string
                                                                                                                        • date: string (date-time)
                                                                                                                        • description: string
                                                                                                                        • time: object
                                                                                                                          • object
                                                                                                                            • start: string (date-time)
                                                                                                                            • end: string (date-time)
                                                                                                                        • financial: object
                                                                                                                          • object
                                                                                                                            • expenses: object
                                                                                                                              • object
                                                                                                                                • estimated: object
                                                                                                                                  • object
                                                                                                                                    • talent_programming: array
                                                                                                                                    • hospitality_logistics: array
                                                                                                                                    • technical_infrastructure: array
                                                                                                                                    • operations_management: array
                                                                                                                                    • venue_site: array
                                                                                                                                    • safety_compliance: array
                                                                                                                                    • marketing_sales: array
                                                                                                                                    • commercial: array
                                                                                                                                    • general_administrative: array
                                                                                                                                    • other: array
                                                                                                                                    • actual: object
                                                                                                                                      • object
                                                                                                                                        • talent_programming: array
                                                                                                                                        • hospitality_logistics: array
                                                                                                                                        • technical_infrastructure: array
                                                                                                                                        • operations_management: array
                                                                                                                                        • venue_site: array
                                                                                                                                        • safety_compliance: array
                                                                                                                                        • marketing_sales: array
                                                                                                                                        • commercial: array
                                                                                                                                        • general_administrative: array
                                                                                                                                        • other: array
                                                                                                                                        • income: object
                                                                                                                                          • object
                                                                                                                                            • estimated: object
                                                                                                                                              • object
                                                                                                                                                • fnb: array
                                                                                                                                                • sponsors: array
                                                                                                                                                • merch: array
                                                                                                                                                • other: array
                                                                                                                                                • actual: object
                                                                                                                                                  • object
                                                                                                                                                    • tickets: array
                                                                                                                                                    • fnb: array
                                                                                                                                                    • sponsors: array
                                                                                                                                                    • merch: array
                                                                                                                                                    • other: array
                                                                                                                                                    • tickets: array
                                                                                                                                                    • taxes: array
                                                                                                                                                    • Content-Type: application/xml
                                                                                                                                                      • $ref: UpdateEventsDtoDefinition
                                                                                                                                                        • object
                                                                                                                                                          • city: string
                                                                                                                                                          • country_iso: string
                                                                                                                                                          • country_name: string
                                                                                                                                                          • country_currency: string
                                                                                                                                                          • date: string (date-time)
                                                                                                                                                          • description: string
                                                                                                                                                          • time: object
                                                                                                                                                            • object
                                                                                                                                                              • start: string (date-time)
                                                                                                                                                              • end: string (date-time)
                                                                                                                                                          • financial: object
                                                                                                                                                            • object
                                                                                                                                                              • expenses: object
                                                                                                                                                                • object
                                                                                                                                                                  • estimated: object
                                                                                                                                                                    • object
                                                                                                                                                                      • talent_programming: array
                                                                                                                                                                      • hospitality_logistics: array
                                                                                                                                                                      • technical_infrastructure: array
                                                                                                                                                                      • operations_management: array
                                                                                                                                                                      • venue_site: array
                                                                                                                                                                      • safety_compliance: array
                                                                                                                                                                      • marketing_sales: array
                                                                                                                                                                      • commercial: array
                                                                                                                                                                      • general_administrative: array
                                                                                                                                                                      • other: array
                                                                                                                                                                      • actual: object
                                                                                                                                                                        • object
                                                                                                                                                                          • talent_programming: array
                                                                                                                                                                          • hospitality_logistics: array
                                                                                                                                                                          • technical_infrastructure: array
                                                                                                                                                                          • operations_management: array
                                                                                                                                                                          • venue_site: array
                                                                                                                                                                          • safety_compliance: array
                                                                                                                                                                          • marketing_sales: array
                                                                                                                                                                          • commercial: array
                                                                                                                                                                          • general_administrative: array
                                                                                                                                                                          • other: array
                                                                                                                                                                          • income: object
                                                                                                                                                                            • object
                                                                                                                                                                              • estimated: object
                                                                                                                                                                                • object
                                                                                                                                                                                  • fnb: array
                                                                                                                                                                                  • sponsors: array
                                                                                                                                                                                  • merch: array
                                                                                                                                                                                  • other: array
                                                                                                                                                                                  • actual: object
                                                                                                                                                                                    • object
                                                                                                                                                                                      • tickets: array
                                                                                                                                                                                      • fnb: array
                                                                                                                                                                                      • sponsors: array
                                                                                                                                                                                      • merch: array
                                                                                                                                                                                      • other: array
                                                                                                                                                                                      • tickets: array
                                                                                                                                                                                      • taxes: array

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/events/{id}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                        -d '{
                                                                                                                                                                                        "city": "string",
                                                                                                                                                                                        "country_iso": "string",
                                                                                                                                                                                        "country_name": "string",
                                                                                                                                                                                        "country_currency": "string",
                                                                                                                                                                                        "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                        "description": "string",
                                                                                                                                                                                        "time": {
                                                                                                                                                                                        "start": "2026-01-01T00:00:00Z",
                                                                                                                                                                                        "end": "2026-01-01T00:00:00Z"
                                                                                                                                                                                        },
                                                                                                                                                                                        "financial": {
                                                                                                                                                                                        "expenses": {
                                                                                                                                                                                        "estimated": "...",
                                                                                                                                                                                        "actual": "..."
                                                                                                                                                                                        },
                                                                                                                                                                                        "income": {
                                                                                                                                                                                        "estimated": "...",
                                                                                                                                                                                        "actual": "..."
                                                                                                                                                                                        },
                                                                                                                                                                                        "tickets": [
                                                                                                                                                                                        "..."
                                                                                                                                                                                        ],
                                                                                                                                                                                        "taxes": [
                                                                                                                                                                                        "..."
                                                                                                                                                                                        ]
                                                                                                                                                                                        }
                                                                                                                                                                                        }'

                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (params, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/events/{id}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                          • $ref: askEventDtoSchemaSwagger
                                                                                                                                                                                            • object
                                                                                                                                                                                              • sessionId: string required
                                                                                                                                                                                              • prompt: string required
                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                          • $ref: askEventDtoSchemaSwagger
                                                                                                                                                                                            • object
                                                                                                                                                                                              • sessionId: string required
                                                                                                                                                                                              • prompt: string required

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/events/{id}/ai' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                        -d '{
                                                                                                                                                                                        "sessionId": "string",
                                                                                                                                                                                        "prompt": "string"
                                                                                                                                                                                        }'

                                                                                                                                                                                        Purpose: Replace resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X PUT 'http://localhost:3099/api/events/{id}/confirm' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Replace resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X PUT 'http://localhost:3099/api/events/{id}/cancel' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Update resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                          • $ref: ChangeEventsCompanyDtoSchema
                                                                                                                                                                                            • object
                                                                                                                                                                                              • eventIds: array
                                                                                                                                                                                              • companyId: string required
                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                          • $ref: ChangeEventsCompanyDtoSchema
                                                                                                                                                                                            • object
                                                                                                                                                                                              • eventIds: array
                                                                                                                                                                                              • companyId: string required

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/events/company' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                        -d '{
                                                                                                                                                                                        "eventIds": [
                                                                                                                                                                                        "string"
                                                                                                                                                                                        ],
                                                                                                                                                                                        "companyId": "string"
                                                                                                                                                                                        }'

                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                          • $ref: BulkDeleteEventSchema
                                                                                                                                                                                            • object
                                                                                                                                                                                              • ids: array
                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                          • $ref: BulkDeleteEventSchema
                                                                                                                                                                                            • object
                                                                                                                                                                                              • ids: array

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/events/bulk' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                        -d '{
                                                                                                                                                                                        "ids": [
                                                                                                                                                                                        "string"
                                                                                                                                                                                        ]
                                                                                                                                                                                        }'

                                                                                                                                                                                        Operations in this group: 17

                                                                                                                                                                                        IMPORTANT: Actual expenses have moved to the Finance System.

                                                                                                                                                                                        • All POST, PATCH, and DELETE endpoints in this group now accept estimated expenses only (type: "estimated").
                                                                                                                                                                                        • Any attempt to create, update, or delete an actual expense (type: "actual") will be rejected.
                                                                                                                                                                                        • The following endpoints are fully blocked and return 403 Forbidden:
                                                                                                                                                                                          • POST /event-expense/{id}/add-payment
                                                                                                                                                                                          • POST /event-expense/create-expense-deduction
                                                                                                                                                                                          • PUT /event-expense/{id}/edit-payment/{paymentId}
                                                                                                                                                                                          • DELETE /event-expense/{id}/delete-payment/{paymentId}
                                                                                                                                                                                        • For actual expense data (invoices, payments, highlights), use the Event Expense - Approval endpoints below.
                                                                                                                                                                                        • GET endpoints in this group still return both estimated and actual expenses from the local database (historical data).

                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)
                                                                                                                                                                                        • type (query, string)
                                                                                                                                                                                        • group (query, string) — Filter by group code (e.g. talent_programming)
                                                                                                                                                                                        • leaf (query, string) — Filter by leaf code (e.g. artist)
                                                                                                                                                                                        • status (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/find-by-event/{id}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        GET /event-expense/highlight-by-event/{id}

                                                                                                                                                                                        Section titled “GET /event-expense/highlight-by-event/{id}”

                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/highlight-by-event/{id}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/{id}/log' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Get all expense categories taxonomy

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        None

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 200 — Expense categories grouped by parent
                                                                                                                                                                                          • application/json
                                                                                                                                                                                            • object
                                                                                                                                                                                              • type: string
                                                                                                                                                                                              • items: object
                                                                                                                                                                                                • object
                                                                                                                                                                                                  • type: string
                                                                                                                                                                                                  • properties: object
                                                                                                                                                                                                    • object
                                                                                                                                                                                                      • group: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • label: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • options: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                          • items: object
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                              • properties: object
                                                                                                                                                                                                                • object
                                                                                                                                                                                                                  • label: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                                                  • value: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                          • application/xml
                                                                                                                                                                                            • object
                                                                                                                                                                                              • type: string
                                                                                                                                                                                              • items: object
                                                                                                                                                                                                • object
                                                                                                                                                                                                  • type: string
                                                                                                                                                                                                  • properties: object
                                                                                                                                                                                                    • object
                                                                                                                                                                                                      • group: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • label: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • options: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                          • items: object
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                              • properties: object
                                                                                                                                                                                                                • object
                                                                                                                                                                                                                  • label: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                                                  • value: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                        • 403 — Forbidden

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/categories' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Get expense categories for specific group

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • groupId (path, string) required — Group ID to filter categories

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 200 — Expense categories for specific group
                                                                                                                                                                                          • application/json
                                                                                                                                                                                            • object
                                                                                                                                                                                              • type: string
                                                                                                                                                                                              • items: object
                                                                                                                                                                                                • object
                                                                                                                                                                                                  • type: string
                                                                                                                                                                                                  • properties: object
                                                                                                                                                                                                    • object
                                                                                                                                                                                                      • group: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • label: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • options: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                          • items: object
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                              • properties: object
                                                                                                                                                                                                                • object
                                                                                                                                                                                                                  • label: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                                                  • value: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                          • application/xml
                                                                                                                                                                                            • object
                                                                                                                                                                                              • type: string
                                                                                                                                                                                              • items: object
                                                                                                                                                                                                • object
                                                                                                                                                                                                  • type: string
                                                                                                                                                                                                  • properties: object
                                                                                                                                                                                                    • object
                                                                                                                                                                                                      • group: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • label: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                      • options: object
                                                                                                                                                                                                        • object
                                                                                                                                                                                                          • type: string
                                                                                                                                                                                                          • items: object
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                              • properties: object
                                                                                                                                                                                                                • object
                                                                                                                                                                                                                  • label: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                                                  • value: object
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                        • 403 — Forbidden

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/categories/{groupId}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Get expense by ID

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        None

                                                                                                                                                                                        Responses

                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                        Example request

                                                                                                                                                                                        Terminal window
                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-expense/{id}' \
                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                        Purpose: Update resource

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                        Request body

                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                          • $ref: UpdateEventExpenseSchema
                                                                                                                                                                                            • object
                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                              • category: string
                                                                                                                                                                                              • type: string enum(actual, estimated)
                                                                                                                                                                                              • title: string
                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                              • currency: string
                                                                                                                                                                                              • posted_by: string
                                                                                                                                                                                              • date: string (date-time)
                                                                                                                                                                                              • vendorId: string
                                                                                                                                                                                              • artistId: string
                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                              • deduction_source: string enum(ticket_sales, merchandise, bar_sales, sponsorship)
                                                                                                                                                                                              • deduction_percentage: number (float)
                                                                                                                                                                                              • notes: string
                                                                                                                                                                                              • withholdingTax: number (float)
                                                                                                                                                                                              • isVersus: boolean
                                                                                                                                                                                              • isCalcPercentage: boolean
                                                                                                                                                                                              • percentageSource: string
                                                                                                                                                                                              • percentage: number (float)
                                                                                                                                                                                              • terms: array
                                                                                                                                                                                                • items:
                                                                                                                                                                                                  • object
                                                                                                                                                                                                    • amount: number required (float)
                                                                                                                                                                                                    • due_date: string required (date-time)
                                                                                                                                                                                                    • currency: string required
                                                                                                                                                                                                    • invoiceUrl: object — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                    • removeInvoice: boolean

                                                                                                                                                                                                Responses

                                                                                                                                                                                                • 400 — Bad Request
                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                Example request

                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                curl -X PATCH 'http://localhost:3099/api/event-expense/{id}' \
                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                -F 'file=@example.file'

                                                                                                                                                                                                Purpose: Delete resource

                                                                                                                                                                                                Parameters

                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                Request body

                                                                                                                                                                                                None

                                                                                                                                                                                                Responses

                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                Example request

                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/event-expense/{id}' \
                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                Parameters

                                                                                                                                                                                                None

                                                                                                                                                                                                Request body

                                                                                                                                                                                                None

                                                                                                                                                                                                Responses

                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                Example request

                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-expense' \
                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                Parameters

                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                Request body

                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                • Content-Type: multipart/form-data
                                                                                                                                                                                                  • $ref: CreateEventExpenseSchema
                                                                                                                                                                                                    • object
                                                                                                                                                                                                      • eventId: string required
                                                                                                                                                                                                      • category: string required
                                                                                                                                                                                                      • type: string enum(actual, estimated) required
                                                                                                                                                                                                      • title: string required
                                                                                                                                                                                                      • amount: number required (float)
                                                                                                                                                                                                      • currency: string required
                                                                                                                                                                                                      • posted_by: string required
                                                                                                                                                                                                      • date: string required (date-time)
                                                                                                                                                                                                      • vendorId: string
                                                                                                                                                                                                      • artistId: string
                                                                                                                                                                                                      • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card) — default: bank_transfer
                                                                                                                                                                                                      • deduction_source: string enum(ticket_sales, merchandise, bar_sales, sponsorship)
                                                                                                                                                                                                      • deduction_percentage: number (float)
                                                                                                                                                                                                      • notes: string
                                                                                                                                                                                                      • withholdingTax: number (float)
                                                                                                                                                                                                      • isVersus: boolean — default: False
                                                                                                                                                                                                      • isCalcPercentage: boolean — default: False
                                                                                                                                                                                                      • percentageSource: string
                                                                                                                                                                                                      • percentage: number (float)
                                                                                                                                                                                                      • terms: array required
                                                                                                                                                                                                        • items:
                                                                                                                                                                                                          • object
                                                                                                                                                                                                            • amount: number required (float)
                                                                                                                                                                                                            • due_date: string required (date-time)
                                                                                                                                                                                                            • currency: string required
                                                                                                                                                                                                            • invoiceUrl: object — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                            • includePaid: boolean — default: False

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                        -F 'file=@example.file'

                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • $ref: AddExpensePaymentDtoSchema (schema definition not found)
                                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                                          • $ref: AddExpensePaymentDtoSchema (schema definition not found)

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense/{id}/add-payment' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "$ref": "AddExpensePaymentDtoSchema"
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        POST /event-expense/create-expense-deduction

                                                                                                                                                                                                        Section titled “POST /event-expense/create-expense-deduction”

                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • $ref: CreateExpenseDeductionSchema (schema definition not found)
                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                          • $ref: CreateExpenseDeductionSchema (schema definition not found)

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense/create-expense-deduction' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "$ref": "CreateExpenseDeductionSchema"
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        Purpose: Move expenses between 2 different events

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • object
                                                                                                                                                                                                            • sourceEventId: string required
                                                                                                                                                                                                            • destinationEventId: string required
                                                                                                                                                                                                            • expenseIds: array

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense/move' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "sourceEventId": "string",
                                                                                                                                                                                                        "destinationEventId": "string",
                                                                                                                                                                                                        "expenseIds": [
                                                                                                                                                                                                        "string"
                                                                                                                                                                                                        ]
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        Purpose: Move and merge expenses between 2 different events

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • object
                                                                                                                                                                                                            • sourceEventId: string required
                                                                                                                                                                                                            • destinationEventId: string required
                                                                                                                                                                                                            • expenseIds: array
                                                                                                                                                                                                            • posted_by: string
                                                                                                                                                                                                            • dryRun: boolean

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense/move-and-merge' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "sourceEventId": "string",
                                                                                                                                                                                                        "destinationEventId": "string",
                                                                                                                                                                                                        "expenseIds": [
                                                                                                                                                                                                        "string"
                                                                                                                                                                                                        ],
                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                        "dryRun": false
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        Purpose: Merge expenses inside the same event

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: No
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • object
                                                                                                                                                                                                            • expenseIds: array
                                                                                                                                                                                                            • posted_by: string
                                                                                                                                                                                                            • dryRun: boolean

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-expense/{id}/merge' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "expenseIds": [
                                                                                                                                                                                                        "string"
                                                                                                                                                                                                        ],
                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                        "dryRun": false
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        PUT /event-expense/{id}/edit-payment/{paymentId}

                                                                                                                                                                                                        Section titled “PUT /event-expense/{id}/edit-payment/{paymentId}”

                                                                                                                                                                                                        Purpose: Replace resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)
                                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X PUT 'http://localhost:3099/api/event-expense/{id}/edit-payment/{paymentId}' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "eventId": "string",
                                                                                                                                                                                                        "amount": 0,
                                                                                                                                                                                                        "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                        "payment_method": "bank_transfer",
                                                                                                                                                                                                        "notes": "string",
                                                                                                                                                                                                        "receiptUrl": "value"
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        DELETE /event-expense/{id}/delete-payment/{paymentId}

                                                                                                                                                                                                        Section titled “DELETE /event-expense/{id}/delete-payment/{paymentId}”

                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-expense/{id}/delete-payment/{paymentId}' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Operations in this group: 7

                                                                                                                                                                                                        This is the SOLE SOURCE OF TRUTH for actual expenses.

                                                                                                                                                                                                        In OpenAPI these routes are tagged Event Expense - Approval. They proxy to the external Finance / Approval APIs (FINANCE_API_URL) and return invoice and category data managed outside the legacy event-expense Mongo flows. Prefer /event/finance/expense/* for new work; the /kisum/* paths in the Kisum group are compatibility aliases that forward to the same handlers.

                                                                                                                                                                                                        The frontend MUST use these endpoints to display actual expense data. The frontend MUST NOT create, update, or delete actual expenses through any other endpoint.

                                                                                                                                                                                                        Purpose: Get expense categories (cost center taxonomy) from the Approval / Finance system.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (query, string) required — Local company UUID or _id

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — List of expense categories
                                                                                                                                                                                                        • 400companyId is required
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/categories?companyId=<COMPANY_ID>' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        GET /event/finance/expense/categories/{groupId}

                                                                                                                                                                                                        Section titled “GET /event/finance/expense/categories/{groupId}”

                                                                                                                                                                                                        Purpose: Get expense categories for a specific category group from the Approval / Finance system.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • groupId (path, string) required — Category group identifier
                                                                                                                                                                                                        • companyId (query, string) required — Local company UUID or _id (forwarded to Finance as companyId)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Categories for the group
                                                                                                                                                                                                        • 400 — Missing or invalid parameters
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/categories/<GROUP_ID>?companyId=<COMPANY_ID>' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Get all invoices for a company from the Finance system (company-wide invoice list).

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (path, string) required — Local company UUID or kisumCompanyId

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Invoice list for the company
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 404 — Company not found

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/<companyId>' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        GET /event/finance/expense/{companyId}/events/{eventId}

                                                                                                                                                                                                        Section titled “GET /event/finance/expense/{companyId}/events/{eventId}”

                                                                                                                                                                                                        Purpose: Get single event detail with linked invoices, FX-normalized amounts, and derived payment statuses from the Approval / Finance system.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (path, string) required — Local company UUID or kisumCompanyId
                                                                                                                                                                                                        • eventId (path, string) required — Kisum event ID

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Event detail with invoices
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 404 — Company or event not found

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/<companyId>/events/<eventId>' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        GET /event/finance/expense/{companyId}/events/{eventId}/invoices

                                                                                                                                                                                                        Section titled “GET /event/finance/expense/{companyId}/events/{eventId}/invoices”

                                                                                                                                                                                                        Purpose: Get a paginated list of invoices linked to a Kisum event, with FX-normalized finance fields and virtual WHT rows, from the Approval / Finance system.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (path, string) required — Local company UUID or kisumCompanyId
                                                                                                                                                                                                        • eventId (path, string) required — Kisum event ID
                                                                                                                                                                                                        • page (query, number) — Page number (default 1)
                                                                                                                                                                                                        • limit (query, number) — Items per page (default 50, max 1000)
                                                                                                                                                                                                        • sortBy (query, string) — Sort field: totalAmount, toBePaidAmount, paidAmount, title, expenseCategory, vendor, status, approvalProcess, dueDate, createdAt
                                                                                                                                                                                                        • sortOrder (query, string; enum: asc, desc) — Sort direction (default asc)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Paginated invoice list
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 404 — Company or event not found

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/<companyId>/events/<eventId>/invoices?page=1&limit=50&sortBy=dueDate&sortOrder=desc' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        GET /event/finance/expense/{companyId}/events/{eventId}/invoices/highlights

                                                                                                                                                                                                        Section titled “GET /event/finance/expense/{companyId}/events/{eventId}/invoices/highlights”

                                                                                                                                                                                                        Purpose: Get aggregated expense highlights by category group with FX-normalized totals from the Approval / Finance system. Includes all DB-defined category groups even if they have zero invoices.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (path, string) required — Local company UUID or kisumCompanyId
                                                                                                                                                                                                        • eventId (path, string) required — Kisum event ID

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Expense highlights summary
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 404 — Company or event not found

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/<companyId>/events/<eventId>/invoices/highlights' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        GET /event/finance/expense/{companyId}/events/{eventId}/invoices/{invoiceId}

                                                                                                                                                                                                        Section titled “GET /event/finance/expense/{companyId}/events/{eventId}/invoices/{invoiceId}”

                                                                                                                                                                                                        Purpose: Get full invoice detail for a single invoice linked to a Kisum event, including files, payment terms with WHT breakdown, and payment history from the Approval / Finance system.

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • companyId (path, string) required — Local company UUID or kisumCompanyId
                                                                                                                                                                                                        • eventId (path, string) required — Kisum event ID
                                                                                                                                                                                                        • invoiceId (path, string) required — Local invoice UUID

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 200 — Full invoice detail
                                                                                                                                                                                                        • 401 — Unauthorized
                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 404 — Company, event, or invoice not found

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event/finance/expense/<companyId>/events/<eventId>/invoices/<invoiceId>' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        This backend depends on Auth for access resolution.

                                                                                                                                                                                                        • DO NOT allow request
                                                                                                                                                                                                        • DO NOT use stale access blindly
                                                                                                                                                                                                        • return 503

                                                                                                                                                                                                        This backend must NEVER:

                                                                                                                                                                                                        • bypass Auth
                                                                                                                                                                                                        • use local permission tables as source of truth
                                                                                                                                                                                                        • trust cached access when validation fails

                                                                                                                                                                                                        Operations in this group: 10

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)
                                                                                                                                                                                                        • page (query, number)
                                                                                                                                                                                                        • limit (query, number)
                                                                                                                                                                                                        • sort (query, string)
                                                                                                                                                                                                        • search (query, string)
                                                                                                                                                                                                        • type (query, string)
                                                                                                                                                                                                        • country (query, string)
                                                                                                                                                                                                        • status (query, string)
                                                                                                                                                                                                        • typeDate (query, string; enum: today, upcoming, pass)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-group' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                                          • $ref: CreateEventGroupSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • name: string required
                                                                                                                                                                                                              • type: string required
                                                                                                                                                                                                              • description: string required
                                                                                                                                                                                                              • startDate: string required (date-time)
                                                                                                                                                                                                              • endDate: string required (date-time)
                                                                                                                                                                                                              • events: string required

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-group' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                        -F 'file=@example.file'

                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                          • $ref: DeleteMultipleEventGroupSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • ids: array required
                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                          • $ref: DeleteMultipleEventGroupSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • ids: array required

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-group' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                        "ids": [
                                                                                                                                                                                                        "string"
                                                                                                                                                                                                        ]
                                                                                                                                                                                                        }'

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-group/{id}' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Update resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                                          • $ref: UpdateEventGroupSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • name: string
                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                              • description: string
                                                                                                                                                                                                              • startDate: string (date-time)
                                                                                                                                                                                                              • endDate: string (date-time)
                                                                                                                                                                                                              • events: string

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/event-group/{id}' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                        -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                        -F 'file=@example.file'

                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-group/{id}' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-group/{id}/overview' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-group/{id}/ticket-sales' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-group/{id}/financial' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Replace resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X PUT 'http://localhost:3099/api/event-group/{id}/status' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Operations in this group: 14

                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        None

                                                                                                                                                                                                        Responses

                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                        Example request

                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-income' \
                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                        Request body

                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                        • Content-Type: multipart/form-data
                                                                                                                                                                                                          • $ref: CreateEventIncomeSchema
                                                                                                                                                                                                            • object
                                                                                                                                                                                                              • eventId: string required
                                                                                                                                                                                                              • category: string required
                                                                                                                                                                                                              • type: string required
                                                                                                                                                                                                              • title: string required
                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                              • vendorId: string
                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                              • terms: array
                                                                                                                                                                                                                • items:
                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                    • amount: number required (float)
                                                                                                                                                                                                                    • includePaid: boolean — default: False
                                                                                                                                                                                                                    • due_date: string required (date-time)
                                                                                                                                                                                                                    • invoiceUrl: object required — Invoice file upload (PDF, PNG, JPG)

                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-income' \
                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                -F 'file=@example.file'

                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                • public (query, string)
                                                                                                                                                                                                                • type (query, string)
                                                                                                                                                                                                                • category (query, string)
                                                                                                                                                                                                                • status (query, string)

                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                None

                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-income/find-by-event/{id}' \
                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                None

                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-income/highlight-by-event/{id}' \
                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                None

                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-income/{id}' \
                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                Purpose: Update resource

                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                • Content-Type: multipart/form-data
                                                                                                                                                                                                                  • $ref: UpdateEventIncomeSchema
                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                      • eventId: string
                                                                                                                                                                                                                      • category: string
                                                                                                                                                                                                                      • type: string
                                                                                                                                                                                                                      • title: string
                                                                                                                                                                                                                      • amount: number (float)
                                                                                                                                                                                                                      • currency: string
                                                                                                                                                                                                                      • posted_by: string
                                                                                                                                                                                                                      • date: string (date-time)
                                                                                                                                                                                                                      • vendorId: string
                                                                                                                                                                                                                      • notes: string
                                                                                                                                                                                                                      • terms: array
                                                                                                                                                                                                                        • items:
                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                            • amount: number required (float)
                                                                                                                                                                                                                            • due_date: string required (date-time)
                                                                                                                                                                                                                            • invoiceUrl: object required — Invoice file upload (PDF, PNG, JPG)

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/event-income/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                        -F 'file=@example.file'

                                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-income/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: AddIncomePaymentSchema (schema definition not found)
                                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                                          • $ref: AddIncomePaymentSchema (schema definition not found)

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-income/{id}/add-payment' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "$ref": "AddIncomePaymentSchema"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        POST /event-income/{paymentId}/update-payment

                                                                                                                                                                                                                        Section titled “POST /event-income/{paymentId}/update-payment”

                                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)
                                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-income/{paymentId}/update-payment' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "eventId": "string",
                                                                                                                                                                                                                        "amount": 0,
                                                                                                                                                                                                                        "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                                        "payment_method": "bank_transfer",
                                                                                                                                                                                                                        "notes": "string",
                                                                                                                                                                                                                        "receiptUrl": "value"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        POST /event-income/{paymentId}/delete-payment

                                                                                                                                                                                                                        Section titled “POST /event-income/{paymentId}/delete-payment”

                                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-income/{paymentId}/delete-payment' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        PUT /event-income/{id}/edit-payment/{paymentId}

                                                                                                                                                                                                                        Section titled “PUT /event-income/{id}/edit-payment/{paymentId}”

                                                                                                                                                                                                                        Purpose: Replace resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)
                                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                                          • $ref: AddPaymentSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string
                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                              • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X PUT 'http://localhost:3099/api/event-income/{id}/edit-payment/{paymentId}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "eventId": "string",
                                                                                                                                                                                                                        "amount": 0,
                                                                                                                                                                                                                        "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                                        "payment_method": "bank_transfer",
                                                                                                                                                                                                                        "notes": "string",
                                                                                                                                                                                                                        "receiptUrl": "value"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        DELETE /event-income/{id}/delete-payment/{paymentId}

                                                                                                                                                                                                                        Section titled “DELETE /event-income/{id}/delete-payment/{paymentId}”

                                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • paymentId (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 400 — Bad Request
                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-income/{id}/delete-payment/{paymentId}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Operations in this group: 6

                                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-tax' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Create resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: CreateEventTaxSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string required
                                                                                                                                                                                                                              • name: string required
                                                                                                                                                                                                                              • code: string required
                                                                                                                                                                                                                              • rate_type: string required
                                                                                                                                                                                                                              • rate: number required (float)
                                                                                                                                                                                                                              • type: string required
                                                                                                                                                                                                                              • category: string required
                                                                                                                                                                                                                              • taxable: string required
                                                                                                                                                                                                                              • payable: string required
                                                                                                                                                                                                                              • description: string
                                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                                          • $ref: CreateEventTaxSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string required
                                                                                                                                                                                                                              • name: string required
                                                                                                                                                                                                                              • code: string required
                                                                                                                                                                                                                              • rate_type: string required
                                                                                                                                                                                                                              • rate: number required (float)
                                                                                                                                                                                                                              • type: string required
                                                                                                                                                                                                                              • category: string required
                                                                                                                                                                                                                              • taxable: string required
                                                                                                                                                                                                                              • payable: string required
                                                                                                                                                                                                                              • description: string
                                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                                              • posted_by: string required

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-tax' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "eventId": "string",
                                                                                                                                                                                                                        "name": "string",
                                                                                                                                                                                                                        "code": "string",
                                                                                                                                                                                                                        "rate_type": "string",
                                                                                                                                                                                                                        "rate": 0,
                                                                                                                                                                                                                        "type": "string",
                                                                                                                                                                                                                        "category": "string",
                                                                                                                                                                                                                        "taxable": "string"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)
                                                                                                                                                                                                                        • type (query, string)
                                                                                                                                                                                                                        • category (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-tax/find-by-event/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Retrieve resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-tax/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Update resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: UpdateEventTaxSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • name: string
                                                                                                                                                                                                                              • code: string
                                                                                                                                                                                                                              • rate_type: string
                                                                                                                                                                                                                              • rate: number (float)
                                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                                              • category: string
                                                                                                                                                                                                                              • taxable: string
                                                                                                                                                                                                                              • payable: string
                                                                                                                                                                                                                              • description: string
                                                                                                                                                                                                                              • currency: string
                                                                                                                                                                                                                              • posted_by: string
                                                                                                                                                                                                                        • Content-Type: application/xml
                                                                                                                                                                                                                          • $ref: UpdateEventTaxSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • name: string
                                                                                                                                                                                                                              • code: string
                                                                                                                                                                                                                              • rate_type: string
                                                                                                                                                                                                                              • rate: number (float)
                                                                                                                                                                                                                              • type: string
                                                                                                                                                                                                                              • category: string
                                                                                                                                                                                                                              • taxable: string
                                                                                                                                                                                                                              • payable: string
                                                                                                                                                                                                                              • description: string
                                                                                                                                                                                                                              • currency: string
                                                                                                                                                                                                                              • posted_by: string

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/event-tax/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "name": "string",
                                                                                                                                                                                                                        "code": "string",
                                                                                                                                                                                                                        "rate_type": "string",
                                                                                                                                                                                                                        "rate": 0,
                                                                                                                                                                                                                        "type": "string",
                                                                                                                                                                                                                        "category": "string",
                                                                                                                                                                                                                        "taxable": "string",
                                                                                                                                                                                                                        "payable": "string"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        Purpose: Delete resource

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-tax/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Operations in this group: 18

                                                                                                                                                                                                                        Purpose: Get all event tickets for a specific event

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event ID
                                                                                                                                                                                                                        • public (query, string)
                                                                                                                                                                                                                        • type (query, string) — Filter by ticket type
                                                                                                                                                                                                                        • category (query, string) — Filter by ticket category

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket/find-by-event/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Get payment terms for a specific event ticket

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event Ticket ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket/{id}/payment-terms' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Get Ticket Companies who sales tickets for a specific event

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket/{id}/vendors' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Get daily sales for a specific event

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event ID
                                                                                                                                                                                                                        • public (query, string)
                                                                                                                                                                                                                        • skip (query, integer) — default: 0 — Number of records to skip (for pagination)
                                                                                                                                                                                                                        • limit (query, integer) — default: 10 — Number of records to return
                                                                                                                                                                                                                        • sortBy (query, string; enum: date, quantity, amount, totalAmount) — default: date — Field to sort by: date, quantity (total tickets sold per day), amount/totalAmount (total revenue per day)
                                                                                                                                                                                                                        • sortOrder (query, string; enum: asc, desc) — default: desc — Sort order: asc (ascending) or desc (descending)
                                                                                                                                                                                                                        • view (query, string; enum: dailyTotals, monthlyTotals) — default: dailyTotals — View: daily (daily sales) or monthly (monthly sales)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket/{id}/daily-sales' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Get a specific event ticket by ID

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event Ticket ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Update an event ticket

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event Ticket ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: UpdateEventTicketSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • vendorId: string
                                                                                                                                                                                                                              • title: string
                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                              • allocation: number (float)
                                                                                                                                                                                                                              • comps: number (float)
                                                                                                                                                                                                                              • currency: string
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • due_date: string (date-time)
                                                                                                                                                                                                                              • ticket_group: string

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X PATCH 'http://localhost:3099/api/event-ticket/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "vendorId": "string",
                                                                                                                                                                                                                        "title": "string",
                                                                                                                                                                                                                        "amount": 0,
                                                                                                                                                                                                                        "allocation": 0,
                                                                                                                                                                                                                        "comps": 0,
                                                                                                                                                                                                                        "currency": "string",
                                                                                                                                                                                                                        "posted_by": "string",
                                                                                                                                                                                                                        "due_date": "2026-01-01T00:00:00Z"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        Purpose: Delete an event ticket

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • id (path, string) required — Event Ticket ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X DELETE 'http://localhost:3099/api/event-ticket/{id}' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Get all event tickets for the company

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        None

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X GET 'http://localhost:3099/api/event-ticket' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>'

                                                                                                                                                                                                                        Purpose: Create a new event ticket

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: CreateEventTicketSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • eventId: string required
                                                                                                                                                                                                                              • vendorId: string required
                                                                                                                                                                                                                              • title: string required
                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                              • allocation: number required (float)
                                                                                                                                                                                                                              • comps: number required (float)
                                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                              • ticket_group: string

                                                                                                                                                                                                                        Responses

                                                                                                                                                                                                                        • 403 — Forbidden
                                                                                                                                                                                                                        • 500 — Internal Server Error

                                                                                                                                                                                                                        Example request

                                                                                                                                                                                                                        Terminal window
                                                                                                                                                                                                                        curl -X POST 'http://localhost:3099/api/event-ticket' \
                                                                                                                                                                                                                        -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                        -H 'x-org: <ORG>' \
                                                                                                                                                                                                                        -H 'Content-Type: application/json' \
                                                                                                                                                                                                                        -d '{
                                                                                                                                                                                                                        "eventId": "string",
                                                                                                                                                                                                                        "vendorId": "string",
                                                                                                                                                                                                                        "title": "string",
                                                                                                                                                                                                                        "amount": 0,
                                                                                                                                                                                                                        "allocation": 0,
                                                                                                                                                                                                                        "comps": 0,
                                                                                                                                                                                                                        "currency": "string",
                                                                                                                                                                                                                        "posted_by": "string"
                                                                                                                                                                                                                        }'

                                                                                                                                                                                                                        Purpose: Add a ticket sale to an event ticket

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • ticketId (path, string) required — Event Ticket ID
                                                                                                                                                                                                                        • public (query, string)

                                                                                                                                                                                                                        Request body

                                                                                                                                                                                                                        • Required: Yes
                                                                                                                                                                                                                        • Content-Type: application/json
                                                                                                                                                                                                                          • $ref: AddTicketSalesSchema
                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                              • ticketsSales: array required
                                                                                                                                                                                                                                • items:
                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                    • quantity: number required (float)
                                                                                                                                                                                                                                    • date: string required (date-time)
                                                                                                                                                                                                                                    • posted_by: string required
                                                                                                                                                                                                                                    • isComps: boolean — default: False
                                                                                                                                                                                                                                    • discount: number (float)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 400 — Bad Request
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-ticket/{ticketId}/sale-add' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{
                                                                                                                                                                                                                                "ticketsSales": [
                                                                                                                                                                                                                                {
                                                                                                                                                                                                                                "quantity": "...",
                                                                                                                                                                                                                                "date": "...",
                                                                                                                                                                                                                                "posted_by": "...",
                                                                                                                                                                                                                                "isComps": "...",
                                                                                                                                                                                                                                "discount": "..."
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                }'

                                                                                                                                                                                                                                PUT /event-ticket/{ticketId}/sale-edit/{saleId}

                                                                                                                                                                                                                                Section titled “PUT /event-ticket/{ticketId}/sale-edit/{saleId}”

                                                                                                                                                                                                                                Purpose: Edit a ticket sale from an event ticket

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticketId (path, string) required — Event Ticket ID
                                                                                                                                                                                                                                • saleId (path, string) required — Sale ID to edit
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                    • quantity: integer — Number of tickets sold
                                                                                                                                                                                                                                    • date: string (date) — Date of the sale
                                                                                                                                                                                                                                    • posted_by: string — User who posted the sale
                                                                                                                                                                                                                                    • isComps: boolean — Whether this is a comp ticket
                                                                                                                                                                                                                                    • discount: number — Discount as decimal (0-1, e.g., 0.5 = 50% off)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X PUT 'http://localhost:3099/api/event-ticket/{ticketId}/sale-edit/{saleId}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{
                                                                                                                                                                                                                                "quantity": 0,
                                                                                                                                                                                                                                "date": "2026-01-01",
                                                                                                                                                                                                                                "posted_by": "string",
                                                                                                                                                                                                                                "isComps": false,
                                                                                                                                                                                                                                "discount": 0
                                                                                                                                                                                                                                }'

                                                                                                                                                                                                                                POST /event-ticket/{ticketVendorId}/sales-import

                                                                                                                                                                                                                                Section titled “POST /event-ticket/{ticketVendorId}/sales-import”

                                                                                                                                                                                                                                Purpose: Import ticket sales from CSV file. CSV columns: Date, Ticket Type, Ticket Price, Ticket Sold, Discount (optional, decimal 0-1 e.g. 0.05 = 5% off), Ticket Income (optional)

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticketVendorId (path, string) required — Ticket Vendor ID
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: multipart/form-data
                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                    • file: string (binary) — CSV file containing ticket sales data. Columns: Date, Ticket Type, Ticket Price, Ticket Sold, Discount (optional, decimal 0-1)
                                                                                                                                                                                                                                    • posted_by: string — User who posted the import

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-ticket/{ticketVendorId}/sales-import' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                -F 'file=@example.file'

                                                                                                                                                                                                                                POST /event-ticket/{ticketVendorId}/payment-add

                                                                                                                                                                                                                                Section titled “POST /event-ticket/{ticketVendorId}/payment-add”

                                                                                                                                                                                                                                Purpose: Add a payment to an event ticket term

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticketVendorId (path, string) required — Term ID
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • $ref: AddPaymentSchema
                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                      • eventId: string
                                                                                                                                                                                                                                      • amount: number required (float)
                                                                                                                                                                                                                                      • date: string required (date-time)
                                                                                                                                                                                                                                      • posted_by: string required
                                                                                                                                                                                                                                      • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                                      • notes: string
                                                                                                                                                                                                                                      • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-ticket/{ticketVendorId}/payment-add' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{
                                                                                                                                                                                                                                "eventId": "string",
                                                                                                                                                                                                                                "amount": 0,
                                                                                                                                                                                                                                "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                                                                "posted_by": "string",
                                                                                                                                                                                                                                "payment_method": "bank_transfer",
                                                                                                                                                                                                                                "notes": "string",
                                                                                                                                                                                                                                "receiptUrl": "value"
                                                                                                                                                                                                                                }'

                                                                                                                                                                                                                                POST /event-ticket/{termId}/payment-update/{paymentId}

                                                                                                                                                                                                                                Section titled “POST /event-ticket/{termId}/payment-update/{paymentId}”

                                                                                                                                                                                                                                Purpose: Update a payment for an event ticket

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • termId (path, string) required — Term ID
                                                                                                                                                                                                                                • paymentId (path, string) required — Payment ID to update
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • $ref: AddPaymentSchema
                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                      • eventId: string
                                                                                                                                                                                                                                      • amount: number required (float)
                                                                                                                                                                                                                                      • date: string required (date-time)
                                                                                                                                                                                                                                      • posted_by: string required
                                                                                                                                                                                                                                      • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                                      • notes: string
                                                                                                                                                                                                                                      • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-ticket/{termId}/payment-update/{paymentId}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{
                                                                                                                                                                                                                                "eventId": "string",
                                                                                                                                                                                                                                "amount": 0,
                                                                                                                                                                                                                                "date": "2026-01-01T00:00:00Z",
                                                                                                                                                                                                                                "posted_by": "string",
                                                                                                                                                                                                                                "payment_method": "bank_transfer",
                                                                                                                                                                                                                                "notes": "string",
                                                                                                                                                                                                                                "receiptUrl": "value"
                                                                                                                                                                                                                                }'

                                                                                                                                                                                                                                DELETE /event-ticket/{termId}/payment-delete/{paymentId}

                                                                                                                                                                                                                                Section titled “DELETE /event-ticket/{termId}/payment-delete/{paymentId}”

                                                                                                                                                                                                                                Purpose: Delete a payment from an event ticket

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • termId (path, string) required — Term ID
                                                                                                                                                                                                                                • paymentId (path, string) required — Payment ID to delete
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/event-ticket/{termId}/payment-delete/{paymentId}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                DELETE /event-ticket/{ticketId}/sale-delete/{saleId}

                                                                                                                                                                                                                                Section titled “DELETE /event-ticket/{ticketId}/sale-delete/{saleId}”

                                                                                                                                                                                                                                Purpose: Delete a ticket sale from an event ticket

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticketId (path, string) required — Event Ticket ID
                                                                                                                                                                                                                                • saleId (path, string) required — Sale ID to delete
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 400 — Bad Request
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/event-ticket/{ticketId}/sale-delete/{saleId}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                DELETE /event-ticket/{ticketId}/sales-clear

                                                                                                                                                                                                                                Section titled “DELETE /event-ticket/{ticketId}/sales-clear”

                                                                                                                                                                                                                                Purpose: Delete all ticket sales for a specific ticket category

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticketId (path, string) required — Event Ticket ID (ticket category)
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/event-ticket/{ticketId}/sales-clear' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                DELETE /event-ticket/by-group/{ticket_group}

                                                                                                                                                                                                                                Section titled “DELETE /event-ticket/by-group/{ticket_group}”

                                                                                                                                                                                                                                Purpose: Delete an event ticket

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • ticket_group (path, string) required — Event Ticket Group
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/event-ticket/by-group/{ticket_group}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 3

                                                                                                                                                                                                                                Natural-language Event Intelligence Copilot flows: list sessions, load a session, and submit a query (optional session_id) for guided event planning. Requires a normal user JWT (Authorization + x-org).

                                                                                                                                                                                                                                Purpose: List copilot sessions for the authenticated user.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Session list
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-intelligence-copilot/sessions' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /event-intelligence-copilot/session/{id}

                                                                                                                                                                                                                                Section titled “GET /event-intelligence-copilot/session/{id}”

                                                                                                                                                                                                                                Purpose: Fetch a single copilot session by id.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Session payload
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 404 — Not found (when applicable)

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/event-intelligence-copilot/session/<SESSION_ID>' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Send a user query to the copilot (optionally continuing an existing session).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • query (string) required — min length 3
                                                                                                                                                                                                                                  • session_id (string) — optional; continue an existing session

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 / 201 — Copilot response payload
                                                                                                                                                                                                                                • 400 — Validation error
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/event-intelligence-copilot/query' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{
                                                                                                                                                                                                                                "query": "I want to make a show in Singapore, 5000 capacity, ticket price 120",
                                                                                                                                                                                                                                "session_id": "optional-session-id"
                                                                                                                                                                                                                                }'

                                                                                                                                                                                                                                Operations in this group: 7

                                                                                                                                                                                                                                Legacy compatibility routes under /kisum/* for frontends still calling older paths. They are observed as legacy traffic and forward to the same Finance API reads as the canonical Event Expense - Approval and related handlers. Prefer /event/finance/expense/* for new integrations. Canonical reads may be disabled by server feature flags (service unavailable when off).

                                                                                                                                                                                                                                Purpose: List events for a company from the Finance API (GET /api/kisum/{companyId}/events).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • companyId (path, string) required
                                                                                                                                                                                                                                • (query) — Forwarded to Finance as query parameters (filtering/pagination as supported upstream).

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Events list
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical Kisum finance reads disabled by feature flag

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/<companyId>/events' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Get one event by id for a company from the Finance API.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • companyId (path, string) required
                                                                                                                                                                                                                                • eventId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Event detail
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/<companyId>/events/<eventId>' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /kisum/{companyId}/events/{eventId}/invoices

                                                                                                                                                                                                                                Section titled “GET /kisum/{companyId}/events/{eventId}/invoices”

                                                                                                                                                                                                                                Purpose: Paginated invoices for an event (same semantics as /event/finance/expense/{companyId}/events/{eventId}/invoices).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • companyId (path, string) required
                                                                                                                                                                                                                                • eventId (path, string) required
                                                                                                                                                                                                                                • page, limit, sortBy, sortOrder (query) — Same as the canonical event finance invoices route

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Paginated invoices
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/<companyId>/events/<eventId>/invoices?page=1&limit=50' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /kisum/{companyId}/events/{eventId}/invoices/highlights

                                                                                                                                                                                                                                Section titled “GET /kisum/{companyId}/events/{eventId}/invoices/highlights”

                                                                                                                                                                                                                                Purpose: Aggregated expense highlights for the event.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • companyId (path, string) required
                                                                                                                                                                                                                                • eventId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Highlights payload
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/<companyId>/events/<eventId>/invoices/highlights' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /kisum/{companyId}/events/{eventId}/invoices/{invoiceId}

                                                                                                                                                                                                                                Section titled “GET /kisum/{companyId}/events/{eventId}/invoices/{invoiceId}”

                                                                                                                                                                                                                                Purpose: Single invoice detail for an event.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • companyId (path, string) required
                                                                                                                                                                                                                                • eventId (path, string) required
                                                                                                                                                                                                                                • invoiceId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Invoice detail
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/<companyId>/events/<eventId>/invoices/<invoiceId>' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Expense categories from Finance (GET /api/kisum/expense-categories); query params are forwarded (for example companyId when required by Finance).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • (query) — Forwarded to Finance

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Categories
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Canonical reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/expense-categories?companyId=<COMPANY_ID>' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /kisum/event-expense/find-by-event/{eventId}

                                                                                                                                                                                                                                Section titled “GET /kisum/event-expense/find-by-event/{eventId}”

                                                                                                                                                                                                                                Purpose: Legacy event-expense payload by event id (fallback read path; may be gated separately from canonical reads).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required
                                                                                                                                                                                                                                • (query) — Forwarded when applicable

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Event expense data
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Legacy fallback reads disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/kisum/event-expense/find-by-event/<eventId>' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 11

                                                                                                                                                                                                                                Server-to-server style integration with the Finance API: daily income ingest, cash balances, deductions lifecycle, integration logs, and a cron failover trigger.
                                                                                                                                                                                                                                Auth: POST/GET under /integrations/finance/* use the same Authorization: Bearer <JWT> + x-org pattern as the rest of the API (authenticateToken). /cron/kisum-income-failover expects the cron secret (or internal API key) in the Bearer token—see deployment configuration.

                                                                                                                                                                                                                                POST /integrations/finance/income/daily/bulk

                                                                                                                                                                                                                                Section titled “POST /integrations/finance/income/daily/bulk”

                                                                                                                                                                                                                                Purpose: Push a bulk daily income batch to Finance (POST /api/kisum/income/daily/bulk). Logs rows to financeIntegrationLog on success/partial/failure.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • JSON body forwarded to Finance (typically includes sourceRunId and a rows array per the Finance contract)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Bulk processing result (may include per-row validation)
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Income ingest disabled by feature flag

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/integrations/finance/income/daily/bulk' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d @income-daily-bulk.json

                                                                                                                                                                                                                                Purpose: Push a single daily income document to Finance (POST /api/kisum/income/daily).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • JSON body forwarded to Finance

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Ingest result
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Income ingest disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/integrations/finance/income/daily' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d @income-daily-single.json

                                                                                                                                                                                                                                Purpose: Read daily income from Finance (GET /api/kisum/income/daily); query string forwarded.

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • (query) — Forwarded to Finance as query parameters

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Daily income payload
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/finance/income/daily' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /integrations/finance/events/{eventId}/cash-balances

                                                                                                                                                                                                                                Section titled “GET /integrations/finance/events/{eventId}/cash-balances”

                                                                                                                                                                                                                                Purpose: Cash balances for an event from Finance (GET /api/events/{eventId}/cash-balances).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required
                                                                                                                                                                                                                                • (query) — Forwarded to Finance

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Cash balances
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/finance/events/<eventId>/cash-balances' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                GET /integrations/finance/events/{eventId}/deductions

                                                                                                                                                                                                                                Section titled “GET /integrations/finance/events/{eventId}/deductions”

                                                                                                                                                                                                                                Purpose: List deductions for an event (GET /api/events/{eventId}/deductions).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required
                                                                                                                                                                                                                                • (query) — Forwarded to Finance

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Deductions list
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/finance/events/<eventId>/deductions' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                POST /integrations/finance/events/{eventId}/deductions/reserve

                                                                                                                                                                                                                                Section titled “POST /integrations/finance/events/{eventId}/deductions/reserve”

                                                                                                                                                                                                                                Purpose: Reserve a deduction (POST /api/events/{eventId}/deductions/reserve).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • Body forwarded to Finance (e.g. companyId and ledger/invoice identifiers—see Finance deduction contract)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Mutation result
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Deduction lifecycle disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/integrations/finance/events/<eventId>/deductions/reserve' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{"companyId":"<COMPANY_ID>"}'

                                                                                                                                                                                                                                POST /integrations/finance/events/{eventId}/deductions/settle

                                                                                                                                                                                                                                Section titled “POST /integrations/finance/events/{eventId}/deductions/settle”

                                                                                                                                                                                                                                Purpose: Settle a deduction (POST /api/events/{eventId}/deductions/settle).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes — JSON forwarded to Finance

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Mutation result
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Deduction lifecycle disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/integrations/finance/events/<eventId>/deductions/settle' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{}'

                                                                                                                                                                                                                                POST /integrations/finance/events/{eventId}/deductions/release

                                                                                                                                                                                                                                Section titled “POST /integrations/finance/events/{eventId}/deductions/release”

                                                                                                                                                                                                                                Purpose: Release a deduction (POST /api/events/{eventId}/deductions/release).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • eventId (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes — JSON forwarded to Finance

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Mutation result
                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 503 — Deduction lifecycle disabled

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/integrations/finance/events/<eventId>/deductions/release' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                -d '{}'

                                                                                                                                                                                                                                Purpose: Read recent finance integration log documents from Mongo (ingest pushes, deduction calls, etc.).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • kind (query, string) — filter by log kind
                                                                                                                                                                                                                                • status (query, string) — filter by status
                                                                                                                                                                                                                                • sourceRunId (query, string)
                                                                                                                                                                                                                                • requestId (query, string)
                                                                                                                                                                                                                                • limit (query, number) — max 500, default 50

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200{ data, limit }
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/finance/logs?limit=50' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Trigger the Kisum income failover cron handler (same handler as POST). Use the cron secret or internal key in Authorization: Bearer ….

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Cron execution result
                                                                                                                                                                                                                                • 403 — Invalid or missing secret

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/cron/kisum-income-failover' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <CRON_OR_INTERNAL_SECRET>'

                                                                                                                                                                                                                                Purpose: Trigger the Kisum income failover cron handler (same handler as GET).

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Optional — forwarded only if the handler inspects the body

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 200 — Cron execution result
                                                                                                                                                                                                                                • 403 — Invalid or missing secret

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/cron/kisum-income-failover' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <CRON_OR_INTERNAL_SECRET>'

                                                                                                                                                                                                                                Operations in this group: 2

                                                                                                                                                                                                                                GET /exchange/history/{currency}/{year}/{month}/{day}

                                                                                                                                                                                                                                Section titled “GET /exchange/history/{currency}/{year}/{month}/{day}”

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • currency (path, string) required
                                                                                                                                                                                                                                • year (path, string) required
                                                                                                                                                                                                                                • month (path, string) required
                                                                                                                                                                                                                                • day (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/exchange/history/{currency}/{year}/{month}/{day}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • from (path, string) required
                                                                                                                                                                                                                                • to (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/exchange/{from}/{to}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 6

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • page (query, number)
                                                                                                                                                                                                                                • limit (query, number)
                                                                                                                                                                                                                                • sort (query, string) — Sort field: rank, name, country.iso2, size.min, size.max, size.avg, charts.viberate.overall.score.rank, charts.viberate.overall.lineup_points.rank, charts.viberate.overall.network_points.rank
                                                                                                                                                                                                                                • order (query, string) — Sort order: asc or desc

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/festivals' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/festivals' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/festivals/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Update resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X PATCH 'http://localhost:3099/api/festivals/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Delete resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/festivals/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/festivals/edition/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 1

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: multipart/form-data
                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                    • file: string (binary)

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • default

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/files/upload' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                -F 'file=@example.file'

                                                                                                                                                                                                                                Operations in this group: 1

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • q (query, string)
                                                                                                                                                                                                                                • sort (query, string)
                                                                                                                                                                                                                                • page (query, number)
                                                                                                                                                                                                                                • limit (query, number)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 400 — Bad Request
                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/genres' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 2

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/xero/connect' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/integrations/xero/status' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 1

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/news' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 3

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/nextcloud' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/nextcloud/download' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • artistName (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/nextcloud/shares/{artistName}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 6

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/notification' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/notification/read-all' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/notification/test-promoter' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/notification/test-agency' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/notification/send' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/notification/{id}/read' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Operations in this group: 16

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/offer-agreement-templates' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X POST 'http://localhost:3099/api/offer-agreement-templates' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Replace resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X PUT 'http://localhost:3099/api/offer-agreement-templates/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Delete resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • id (path, string) required
                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X DELETE 'http://localhost:3099/api/offer-agreement-templates/{id}' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Retrieve resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                Responses

                                                                                                                                                                                                                                • 403 — Forbidden
                                                                                                                                                                                                                                • 500 — Internal Server Error

                                                                                                                                                                                                                                Example request

                                                                                                                                                                                                                                Terminal window
                                                                                                                                                                                                                                curl -X GET 'http://localhost:3099/api/offer' \
                                                                                                                                                                                                                                -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                -H 'x-org: <ORG>'

                                                                                                                                                                                                                                Purpose: Create resource

                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                • public (query, string)

                                                                                                                                                                                                                                Request body

                                                                                                                                                                                                                                • Required: Yes
                                                                                                                                                                                                                                • Content-Type: application/json
                                                                                                                                                                                                                                  • $ref: CreateOfferSchema
                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                      • avails: string required
                                                                                                                                                                                                                                      • offer: string
                                                                                                                                                                                                                                      • event: string
                                                                                                                                                                                                                                      • currency: string required
                                                                                                                                                                                                                                      • agent: string required
                                                                                                                                                                                                                                      • buyer_email: string required (email)
                                                                                                                                                                                                                                      • artist: object required
                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                          • artist_id: string required
                                                                                                                                                                                                                                          • fee: number required (float)
                                                                                                                                                                                                                                          • wht_percent: number required (float)
                                                                                                                                                                                                                                          • show_date: string required
                                                                                                                                                                                                                                          • set_length: number required (float)
                                                                                                                                                                                                                                          • show_type: string required
                                                                                                                                                                                                                                      • data: object
                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                          • offer_type: string enum(net, gross) required
                                                                                                                                                                                                                                          • merch: boolean
                                                                                                                                                                                                                                          • merch_share: string
                                                                                                                                                                                                                                          • broadcast: boolean
                                                                                                                                                                                                                                          • broadcast_fee: number (float)
                                                                                                                                                                                                                                          • sponsor: boolean
                                                                                                                                                                                                                                          • sponsor_share: string
                                                                                                                                                                                                                                          • international_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • domestic_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • hotel_accommodation: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • catering: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • ground_transport: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • travel_insurance: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                              • amount: number (float)
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                          • non_show_cost: object — default: {'status': False}
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • status: boolean — default: False
                                                                                                                                                                                                                                              • notes: string
                                                                                                                                                                                                                                      • additional: object
                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                          • travel_information: object
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • visa: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                  • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                  • amount: number (float)
                                                                                                                                                                                                                                                  • notes: string
                                                                                                                                                                                                                                              • nearest_airport_name: string
                                                                                                                                                                                                                                              • hotel_to_airport_distance: number (float)
                                                                                                                                                                                                                                              • venue_to_airport_distance: number (float)
                                                                                                                                                                                                                                          • accommodation_information: object
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • hotel_name: string
                                                                                                                                                                                                                                              • hotel_to_venues_distance: number (float)
                                                                                                                                                                                                                                      • status: string enum(draft, pending, accepted, rejected) — default: pending
                                                                                                                                                                                                                                      • agreements: object
                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                          • contracts: object
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • files: object
                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                  • pdf: string
                                                                                                                                                                                                                                                  • word: string
                                                                                                                                                                                                                                          • adobe_id: string
                                                                                                                                                                                                                                          • members: object
                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                              • seller: object
                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                  • email: string (email)
                                                                                                                                                                                                                                                  • esignUrl: string
                                                                                                                                                                                                                                                  • member_id: string
                                                                                                                                                                                                                                                  • status: string
                                                                                                                                                                                                                                              • buyer: object
                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                  • email: string (email)
                                                                                                                                                                                                                                                  • esignUrl: string
                                                                                                                                                                                                                                                  • member_id: string
                                                                                                                                                                                                                                                  • status: string
                                                                                                                                                                                                                                          • invoices: array
                                                                                                                                                                                                                                            • items:
                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                • invoice_number: string
                                                                                                                                                                                                                                                • invoice_id: string
                                                                                                                                                                                                                                                • amount: number (float)
                                                                                                                                                                                                                                                • currency: string
                                                                                                                                                                                                                                                • due_date: string (date-time)
                                                                                                                                                                                                                                                • status: string
                                                                                                                                                                                                                                                • url: string
                                                                                                                                                                                                                                                • payment_proof: string
                                                                                                                                                                                                                                                • payment: boolean — default: False
                                                                                                                                                                                                                                          • venue: string
                                                                                                                                                                                                                                          • notes: string
                                                                                                                                                                                                                                          • Content-Type: application/xml
                                                                                                                                                                                                                                            • $ref: CreateOfferSchema
                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                • avails: string required
                                                                                                                                                                                                                                                • offer: string
                                                                                                                                                                                                                                                • event: string
                                                                                                                                                                                                                                                • currency: string required
                                                                                                                                                                                                                                                • agent: string required
                                                                                                                                                                                                                                                • buyer_email: string required (email)
                                                                                                                                                                                                                                                • artist: object required
                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                    • artist_id: string required
                                                                                                                                                                                                                                                    • fee: number required (float)
                                                                                                                                                                                                                                                    • wht_percent: number required (float)
                                                                                                                                                                                                                                                    • show_date: string required
                                                                                                                                                                                                                                                    • set_length: number required (float)
                                                                                                                                                                                                                                                    • show_type: string required
                                                                                                                                                                                                                                                • data: object
                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                    • offer_type: string enum(net, gross) required
                                                                                                                                                                                                                                                    • merch: boolean
                                                                                                                                                                                                                                                    • merch_share: string
                                                                                                                                                                                                                                                    • broadcast: boolean
                                                                                                                                                                                                                                                    • broadcast_fee: number (float)
                                                                                                                                                                                                                                                    • sponsor: boolean
                                                                                                                                                                                                                                                    • sponsor_share: string
                                                                                                                                                                                                                                                    • international_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • domestic_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • hotel_accommodation: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • catering: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • ground_transport: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • travel_insurance: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                    • non_show_cost: object — default: {'status': False}
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • status: boolean — default: False
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                • additional: object
                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                    • travel_information: object
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • visa: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                            • amount: number (float)
                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                        • nearest_airport_name: string
                                                                                                                                                                                                                                                        • hotel_to_airport_distance: number (float)
                                                                                                                                                                                                                                                        • venue_to_airport_distance: number (float)
                                                                                                                                                                                                                                                    • accommodation_information: object
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • hotel_name: string
                                                                                                                                                                                                                                                        • hotel_to_venues_distance: number (float)
                                                                                                                                                                                                                                                • status: string enum(draft, pending, accepted, rejected) — default: pending
                                                                                                                                                                                                                                                • agreements: object
                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                    • contracts: object
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • files: object
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • pdf: string
                                                                                                                                                                                                                                                            • word: string
                                                                                                                                                                                                                                                    • adobe_id: string
                                                                                                                                                                                                                                                    • members: object
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • seller: object
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • email: string (email)
                                                                                                                                                                                                                                                            • esignUrl: string
                                                                                                                                                                                                                                                            • member_id: string
                                                                                                                                                                                                                                                            • status: string
                                                                                                                                                                                                                                                        • buyer: object
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • email: string (email)
                                                                                                                                                                                                                                                            • esignUrl: string
                                                                                                                                                                                                                                                            • member_id: string
                                                                                                                                                                                                                                                            • status: string
                                                                                                                                                                                                                                                    • invoices: array
                                                                                                                                                                                                                                                      • items:
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • invoice_number: string
                                                                                                                                                                                                                                                          • invoice_id: string
                                                                                                                                                                                                                                                          • amount: number (float)
                                                                                                                                                                                                                                                          • currency: string
                                                                                                                                                                                                                                                          • due_date: string (date-time)
                                                                                                                                                                                                                                                          • status: string
                                                                                                                                                                                                                                                          • url: string
                                                                                                                                                                                                                                                          • payment_proof: string
                                                                                                                                                                                                                                                          • payment: boolean — default: False
                                                                                                                                                                                                                                                    • venue: string
                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                    • Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/offer' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "avails": "string",
                                                                                                                                                                                                                                                      "offer": "string",
                                                                                                                                                                                                                                                      "event": "string",
                                                                                                                                                                                                                                                      "currency": "string",
                                                                                                                                                                                                                                                      "agent": "string",
                                                                                                                                                                                                                                                      "buyer_email": "user@example.com",
                                                                                                                                                                                                                                                      "artist": {
                                                                                                                                                                                                                                                      "artist_id": "string",
                                                                                                                                                                                                                                                      "fee": 0,
                                                                                                                                                                                                                                                      "wht_percent": 0,
                                                                                                                                                                                                                                                      "show_date": "string",
                                                                                                                                                                                                                                                      "set_length": 0,
                                                                                                                                                                                                                                                      "show_type": "string"
                                                                                                                                                                                                                                                      },
                                                                                                                                                                                                                                                      "data": {
                                                                                                                                                                                                                                                      "offer_type": "net",
                                                                                                                                                                                                                                                      "merch": false,
                                                                                                                                                                                                                                                      "merch_share": "string",
                                                                                                                                                                                                                                                      "broadcast": false,
                                                                                                                                                                                                                                                      "broadcast_fee": 0,
                                                                                                                                                                                                                                                      "sponsor": false,
                                                                                                                                                                                                                                                      "sponsor_share": "string",
                                                                                                                                                                                                                                                      "international_flights": {
                                                                                                                                                                                                                                                      "status": "...",
                                                                                                                                                                                                                                                      "amount": "...",
                                                                                                                                                                                                                                                      "notes": "..."
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)
                                                                                                                                                                                                                                                      • artist (query, string)
                                                                                                                                                                                                                                                      • search (query, string)
                                                                                                                                                                                                                                                      • iso2 (query, string)
                                                                                                                                                                                                                                                      • type (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/offer/received' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)
                                                                                                                                                                                                                                                      • artist (query, string)
                                                                                                                                                                                                                                                      • search (query, string)
                                                                                                                                                                                                                                                      • iso2 (query, string)
                                                                                                                                                                                                                                                      • type (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/offer/sent' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/offer/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/offer/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/sent/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/accept/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/reject/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/payment-proof/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/offer/payment/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      This backend must NOT:

                                                                                                                                                                                                                                                      • manage users
                                                                                                                                                                                                                                                      • manage company memberships
                                                                                                                                                                                                                                                      • assign permissions
                                                                                                                                                                                                                                                      • assign modules
                                                                                                                                                                                                                                                      • manage subscriptions
                                                                                                                                                                                                                                                      • manage packages

                                                                                                                                                                                                                                                      These belong to:

                                                                                                                                                                                                                                                      • Auth Backend
                                                                                                                                                                                                                                                      • Platform Core Backend

                                                                                                                                                                                                                                                      ⚠️ DEPRECATED — MOVED TO PLATFORM CORE BACKEND

                                                                                                                                                                                                                                                      This section is no longer valid in the Base backend.

                                                                                                                                                                                                                                                      See:


                                                                                                                                                                                                                                                      This backend previously handled:

                                                                                                                                                                                                                                                      • package definitions
                                                                                                                                                                                                                                                      • package assignment to companies
                                                                                                                                                                                                                                                      • mapping packages → modules
                                                                                                                                                                                                                                                      • package-based feature access

                                                                                                                                                                                                                                                      Packages are part of commercial/product logic, not business logic.

                                                                                                                                                                                                                                                      They are now owned by:

                                                                                                                                                                                                                                                      • Platform Core Backend

                                                                                                                                                                                                                                                      All package-related code must be removed from this backend:

                                                                                                                                                                                                                                                      • package controllers
                                                                                                                                                                                                                                                      • package routes
                                                                                                                                                                                                                                                      • package services
                                                                                                                                                                                                                                                      • package database tables (as source of truth)
                                                                                                                                                                                                                                                      • package-based access checks
                                                                                                                                                                                                                                                      • package → permission logic

                                                                                                                                                                                                                                                      Use Platform Core:

                                                                                                                                                                                                                                                      Core provides:

                                                                                                                                                                                                                                                      • company entitlements
                                                                                                                                                                                                                                                      • enabled modules
                                                                                                                                                                                                                                                      • subscription state

                                                                                                                                                                                                                                                      This backend must NOT:

                                                                                                                                                                                                                                                      • read packages to allow access
                                                                                                                                                                                                                                                      • infer access from packages
                                                                                                                                                                                                                                                      • store package truth

                                                                                                                                                                                                                                                      Access must be enforced using Auth effective access only.


                                                                                                                                                                                                                                                      ⚠️ DEPRECATED — MOVED TO AUTH BACKEND

                                                                                                                                                                                                                                                      This section is no longer valid in the Base backend.

                                                                                                                                                                                                                                                      All routes, controllers, services, and database logic related to Auth must be removed.

                                                                                                                                                                                                                                                      See:

                                                                                                                                                                                                                                                      This backend previously handled:

                                                                                                                                                                                                                                                      • permission definitions
                                                                                                                                                                                                                                                      • permission assignment
                                                                                                                                                                                                                                                      • permission-based access checks

                                                                                                                                                                                                                                                      Permissions are part of access control and identity, not business logic.

                                                                                                                                                                                                                                                      They are now owned by:

                                                                                                                                                                                                                                                      • Auth Backend

                                                                                                                                                                                                                                                      • permission controllers
                                                                                                                                                                                                                                                      • permission routes
                                                                                                                                                                                                                                                      • permission services
                                                                                                                                                                                                                                                      • permission tables (as source of truth)
                                                                                                                                                                                                                                                      • permission assignment logic
                                                                                                                                                                                                                                                      • local permission enforcement based on internal tables

                                                                                                                                                                                                                                                      Use Auth Backend:

                                                                                                                                                                                                                                                      Auth provides:

                                                                                                                                                                                                                                                      • effective permissions
                                                                                                                                                                                                                                                      • resolved access model

                                                                                                                                                                                                                                                      This backend must NOT:

                                                                                                                                                                                                                                                      • define permissions
                                                                                                                                                                                                                                                      • assign permissions
                                                                                                                                                                                                                                                      • act as permission authority

                                                                                                                                                                                                                                                      This backend must only:

                                                                                                                                                                                                                                                      • check required permission exists in effective access from Auth

                                                                                                                                                                                                                                                      Operations in this group: 5

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • sort (query, string)
                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/rankings/alltime' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • rankings (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/rankings/cityranking' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/rankings/topartists' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • rankings (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/rankings/topsong' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/rankings/worldwide' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 1

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/reviews' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 6

                                                                                                                                                                                                                                                      Purpose: Get a list of roster items

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • q (query, string) — Query Artist Name
                                                                                                                                                                                                                                                      • status (query, number) — Status
                                                                                                                                                                                                                                                      • page (query, number) — Page
                                                                                                                                                                                                                                                      • limit (query, number) — Limit
                                                                                                                                                                                                                                                      • iso2 (query, array) — Array of territory iso2

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/roster' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create a new roster item

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: CreateRosterSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • artists: array required — Artist ID

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/roster' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "artists": [
                                                                                                                                                                                                                                                      "string"
                                                                                                                                                                                                                                                      ]
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Get a list of roster items

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • artistId (path, string) required — Artist ID
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/roster/{artistId}/shows' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Get a roster item by ID

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Roster ID
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/roster/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Delete a roster item

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Roster ID
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/roster/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Confirm a roster item

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Roster ID
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdateRosterSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • status: number (float) — Status of the roster (-1: rejected, 0: pending, 1: confirmed)

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/roster/{id}/confirm' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "status": 0
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Operations in this group: 3

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/regions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/{id}/subregions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • subId (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/{id}/{subId}/countries' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      ⚠️ DEPRECATED — MOVED TO AUTH BACKEND

                                                                                                                                                                                                                                                      This section is no longer valid in the Base backend.

                                                                                                                                                                                                                                                      All routes, controllers, services, and database logic related to Auth must be removed.

                                                                                                                                                                                                                                                      See:

                                                                                                                                                                                                                                                      • role definitions
                                                                                                                                                                                                                                                      • role assignment
                                                                                                                                                                                                                                                      • role-based access control

                                                                                                                                                                                                                                                      Roles are part of identity and access control, not business logic.

                                                                                                                                                                                                                                                      They are now owned by:

                                                                                                                                                                                                                                                      • Auth Backend

                                                                                                                                                                                                                                                      • role controllers
                                                                                                                                                                                                                                                      • role routes
                                                                                                                                                                                                                                                      • role assignment logic
                                                                                                                                                                                                                                                      • role tables as source of truth
                                                                                                                                                                                                                                                      • role-based access checks

                                                                                                                                                                                                                                                      Use Auth Backend:


                                                                                                                                                                                                                                                      This backend must NOT:

                                                                                                                                                                                                                                                      • assign roles
                                                                                                                                                                                                                                                      • interpret roles as access authority

                                                                                                                                                                                                                                                      Roles must only be consumed through effective access from Auth.


                                                                                                                                                                                                                                                      These concepts are independent:

                                                                                                                                                                                                                                                      • Role → administrative authority
                                                                                                                                                                                                                                                      • Module → product access
                                                                                                                                                                                                                                                      • Permission → action inside module
                                                                                                                                                                                                                                                      Role ≠ Module access

                                                                                                                                                                                                                                                      A USER can have Finance only. An ADMIN can have limited modules.

                                                                                                                                                                                                                                                      Do not infer module access from role.


                                                                                                                                                                                                                                                      Operations in this group: 8

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • mbid (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/artists/{mbid}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • mbid (path, string) required
                                                                                                                                                                                                                                                      • db (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/artists/{mbid}/setlists' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • geoId (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/city/{geoId}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • venueId (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/venue/{venueId}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • q (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/search/artists' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • q (query, string)
                                                                                                                                                                                                                                                      • countryCode (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/search/cities' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/search/countries' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • q (query, string)
                                                                                                                                                                                                                                                      • city (query, string)
                                                                                                                                                                                                                                                      • country (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/setlistfm/search/venues' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      ⚠️ DEPRECATED — MOVED TO PLATFORM CORE BACKEND

                                                                                                                                                                                                                                                      This section is no longer valid in the Base backend.

                                                                                                                                                                                                                                                      See:

                                                                                                                                                                                                                                                      • subscription lifecycle
                                                                                                                                                                                                                                                      • subscription status tracking
                                                                                                                                                                                                                                                      • subscription-based access decisions

                                                                                                                                                                                                                                                      Subscriptions are part of commercial/financial logic, not business logic.

                                                                                                                                                                                                                                                      They are now owned by:

                                                                                                                                                                                                                                                      • Platform Core Backend

                                                                                                                                                                                                                                                      • subscription controllers
                                                                                                                                                                                                                                                      • subscription routes
                                                                                                                                                                                                                                                      • subscription services
                                                                                                                                                                                                                                                      • subscription database logic
                                                                                                                                                                                                                                                      • subscription-based access checks

                                                                                                                                                                                                                                                      Use Platform Core:


                                                                                                                                                                                                                                                      This backend must NOT:

                                                                                                                                                                                                                                                      • decide access based on subscription
                                                                                                                                                                                                                                                      • store subscription truth
                                                                                                                                                                                                                                                      • check subscription status to allow routes

                                                                                                                                                                                                                                                      Subscription affects access only through Auth effective access.


                                                                                                                                                                                                                                                      Operations in this group: 8

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/tasks' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: multipart/form-data
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • name: string required
                                                                                                                                                                                                                                                          • description: string
                                                                                                                                                                                                                                                          • event: string
                                                                                                                                                                                                                                                          • assignees: array
                                                                                                                                                                                                                                                          • status: string enum(not_started, in_progress, in_review, done)
                                                                                                                                                                                                                                                          • priority: string enum(urgent, high, normal, low) required
                                                                                                                                                                                                                                                          • start_date: string (date-time)
                                                                                                                                                                                                                                                          • end_date: string (date-time)
                                                                                                                                                                                                                                                          • attachments: array — Max 5 files, 1MB each, JPEG/PNG only

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/tasks' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                                      -F 'file=@example.file'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/tasks/{id}/comments' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/tasks/{id}/activities' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/tasks/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Update resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: No
                                                                                                                                                                                                                                                      • Content-Type: multipart/form-data
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • name: string
                                                                                                                                                                                                                                                          • description: string
                                                                                                                                                                                                                                                          • event: string
                                                                                                                                                                                                                                                          • assignees: array
                                                                                                                                                                                                                                                          • status: string enum(not_started, in_progress, in_review, done)
                                                                                                                                                                                                                                                          • priority: string enum(urgent, high, normal, low)
                                                                                                                                                                                                                                                          • start_date: string (date-time)
                                                                                                                                                                                                                                                          • end_date: string (date-time)
                                                                                                                                                                                                                                                          • attachments: array — New attachments to add

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PATCH 'http://localhost:3099/api/tasks/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                                      -F 'file=@example.file'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/tasks/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: multipart/form-data
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • comment: string
                                                                                                                                                                                                                                                          • attachments: array

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/tasks/{id}/comment' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                                      -F 'file=@example.file'

                                                                                                                                                                                                                                                      Operations in this group: 2

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/transactions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/transactions/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 1

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • code (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/trend/locations' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 17

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: CreateUsersSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • name: string required — Full name of the user
                                                                                                                                                                                                                                                            • phoneNumber: string — Optional phone number
                                                                                                                                                                                                                                                            • email: string required (email) — User email address
                                                                                                                                                                                                                                                            • password: string required — User password
                                                                                                                                                                                                                                                            • industry: string required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: CreateUsersSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • name: string required — Full name of the user
                                                                                                                                                                                                                                                            • phoneNumber: string — Optional phone number
                                                                                                                                                                                                                                                            • email: string required (email) — User email address
                                                                                                                                                                                                                                                            • password: string required — User password
                                                                                                                                                                                                                                                            • industry: string required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/users' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "name": "string",
                                                                                                                                                                                                                                                      "phoneNumber": "string",
                                                                                                                                                                                                                                                      "email": "user@example.com",
                                                                                                                                                                                                                                                      "password": "string",
                                                                                                                                                                                                                                                      "industry": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/init' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/profile' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: multipart/form-data
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • name: string
                                                                                                                                                                                                                                                          • phoneNumber: string
                                                                                                                                                                                                                                                          • email: string (email)
                                                                                                                                                                                                                                                          • roles: string
                                                                                                                                                                                                                                                          • profilePicture: string (binary)

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/users/profile' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                                      -F 'file=@example.file'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/permissions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/companies' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/industry-categories' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/invitation' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/onboard' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/users/onboard' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/users/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: multipart/form-data
                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                          • name: string
                                                                                                                                                                                                                                                          • phoneNumber: string
                                                                                                                                                                                                                                                          • email: string (email)
                                                                                                                                                                                                                                                          • roles: string
                                                                                                                                                                                                                                                          • profilePicture: string (binary)

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/users/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: multipart/form-data' \
                                                                                                                                                                                                                                                      -F 'file=@example.file'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/users/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: AcceptInvitationSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company_id: string required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: AcceptInvitationSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company_id: string required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/users/accept-invitation' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "company_id": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: AcceptInvitationSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company_id: string required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: AcceptInvitationSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company_id: string required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/users/reject-invitation' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "company_id": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdatePasswordSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • oldPassword: string required
                                                                                                                                                                                                                                                            • newPassword: string required
                                                                                                                                                                                                                                                            • confirmPassword: string required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: UpdatePasswordSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • oldPassword: string required
                                                                                                                                                                                                                                                            • newPassword: string required
                                                                                                                                                                                                                                                            • confirmPassword: string required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/users/update-password' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "oldPassword": "string",
                                                                                                                                                                                                                                                      "newPassword": "string",
                                                                                                                                                                                                                                                      "confirmPassword": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Operations in this group: 11

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)
                                                                                                                                                                                                                                                      • type (query, string)
                                                                                                                                                                                                                                                      • countryCode (query, string)
                                                                                                                                                                                                                                                      • search (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: CreateVendorsSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company: string required
                                                                                                                                                                                                                                                            • vendorName: string required
                                                                                                                                                                                                                                                            • type: string required
                                                                                                                                                                                                                                                            • email: string required (email)
                                                                                                                                                                                                                                                            • sortName: string
                                                                                                                                                                                                                                                            • website: string
                                                                                                                                                                                                                                                            • phoneNumber: string
                                                                                                                                                                                                                                                            • bankDetails: object
                                                                                                                                                                                                                                                            • people: object
                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                            • taxID: string
                                                                                                                                                                                                                                                            • address: object required
                                                                                                                                                                                                                                                            • posted_by: string required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: CreateVendorsSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • company: string required
                                                                                                                                                                                                                                                            • vendorName: string required
                                                                                                                                                                                                                                                            • type: string required
                                                                                                                                                                                                                                                            • email: string required (email)
                                                                                                                                                                                                                                                            • sortName: string
                                                                                                                                                                                                                                                            • website: string
                                                                                                                                                                                                                                                            • phoneNumber: string
                                                                                                                                                                                                                                                            • bankDetails: object
                                                                                                                                                                                                                                                            • people: object
                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                            • taxID: string
                                                                                                                                                                                                                                                            • address: object required
                                                                                                                                                                                                                                                            • posted_by: string required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/vendors' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "company": "string",
                                                                                                                                                                                                                                                      "vendorName": "string",
                                                                                                                                                                                                                                                      "type": "string",
                                                                                                                                                                                                                                                      "email": "user@example.com",
                                                                                                                                                                                                                                                      "sortName": "string",
                                                                                                                                                                                                                                                      "website": "string",
                                                                                                                                                                                                                                                      "phoneNumber": "string",
                                                                                                                                                                                                                                                      "bankDetails": "value"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • q (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/search' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/vendors/validate' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/{id}/events' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/{id}/dashboard' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • name (query, string)
                                                                                                                                                                                                                                                      • eventIds (query, string) — Comma separated event IDs
                                                                                                                                                                                                                                                      • eventName (query, string)
                                                                                                                                                                                                                                                      • invoiceStatus (query, string)
                                                                                                                                                                                                                                                      • paymentStatus (query, string)
                                                                                                                                                                                                                                                      • startDate (query, string)
                                                                                                                                                                                                                                                      • endDate (query, string)
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 20

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/{id}/invoices' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • name (query, string)
                                                                                                                                                                                                                                                      • eventIds (query, string) — Comma separated event IDs
                                                                                                                                                                                                                                                      • eventName (query, string)
                                                                                                                                                                                                                                                      • type (query, string)
                                                                                                                                                                                                                                                      • status (query, string)
                                                                                                                                                                                                                                                      • startDate (query, string)
                                                                                                                                                                                                                                                      • endDate (query, string)
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 20

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/{id}/transactions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdateVendorsDtoSchema (schema definition not found)
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: UpdateVendorsDtoSchema (schema definition not found)

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "$ref": "UpdateVendorsDtoSchema"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 15

                                                                                                                                                                                                                                                      Purpose: Get list of vendors

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • page (query, number)
                                                                                                                                                                                                                                                      • limit (query, number)
                                                                                                                                                                                                                                                      • type (query, string)
                                                                                                                                                                                                                                                      • countryCode (query, string)
                                                                                                                                                                                                                                                      • search (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create a new vendor

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • object

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/vendors-system/vendors' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '"value"'

                                                                                                                                                                                                                                                      Purpose: Get events associated with vendor

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors/{id}/events' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      GET /vendors-system/vendors/{id}/dashboard

                                                                                                                                                                                                                                                      Section titled “GET /vendors-system/vendors/{id}/dashboard”

                                                                                                                                                                                                                                                      Purpose: Get vendor dashboard data

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors/{id}/dashboard' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Get vendor invoices

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID
                                                                                                                                                                                                                                                      • name (query, string)
                                                                                                                                                                                                                                                      • eventIds (query, string) — Comma separated event IDs
                                                                                                                                                                                                                                                      • eventName (query, string)
                                                                                                                                                                                                                                                      • invoiceStatus (query, string)
                                                                                                                                                                                                                                                      • paymentStatus (query, string)
                                                                                                                                                                                                                                                      • startDate (query, string)
                                                                                                                                                                                                                                                      • endDate (query, string)
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 20

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors/{id}/invoices' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      GET /vendors-system/vendors/{id}/transactions

                                                                                                                                                                                                                                                      Section titled “GET /vendors-system/vendors/{id}/transactions”

                                                                                                                                                                                                                                                      Purpose: Get vendor transactions

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID
                                                                                                                                                                                                                                                      • name (query, string)
                                                                                                                                                                                                                                                      • eventIds (query, string) — Comma separated event IDs
                                                                                                                                                                                                                                                      • eventName (query, string)
                                                                                                                                                                                                                                                      • type (query, string)
                                                                                                                                                                                                                                                      • status (query, string)
                                                                                                                                                                                                                                                      • startDate (query, string)
                                                                                                                                                                                                                                                      • endDate (query, string)
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 20

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors/{id}/transactions' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Get vendor by ID

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/vendors-system/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Update vendor information

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • object

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/vendors-system/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '"value"'

                                                                                                                                                                                                                                                      Purpose: Delete vendor

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Vendor ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/vendors-system/vendors/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create a new invoice for vendor

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • object

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/vendors-system/vendors/invoice' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '"value"'

                                                                                                                                                                                                                                                      POST /vendors-system/vendors/invoice/payment

                                                                                                                                                                                                                                                      Section titled “POST /vendors-system/vendors/invoice/payment”

                                                                                                                                                                                                                                                      Purpose: Create a payment for vendor invoice

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • object

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/vendors-system/vendors/invoice/payment' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '"value"'

                                                                                                                                                                                                                                                      Purpose: Update vendor invoice

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Invoice ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/vendors-system/vendors/invoice/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{}'

                                                                                                                                                                                                                                                      DELETE /vendors-system/vendors/invoice/{id}

                                                                                                                                                                                                                                                      Section titled “DELETE /vendors-system/vendors/invoice/{id}”

                                                                                                                                                                                                                                                      Purpose: Delete vendor invoice

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Invoice ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/vendors-system/vendors/invoice/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      PUT /vendors-system/vendors/invoice/payment/{id}

                                                                                                                                                                                                                                                      Section titled “PUT /vendors-system/vendors/invoice/payment/{id}”

                                                                                                                                                                                                                                                      Purpose: Update vendor invoice payment

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Payment ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • object

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/vendors-system/vendors/invoice/payment/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '"value"'

                                                                                                                                                                                                                                                      DELETE /vendors-system/vendors/invoice/payment/{id}

                                                                                                                                                                                                                                                      Section titled “DELETE /vendors-system/vendors/invoice/payment/{id}”

                                                                                                                                                                                                                                                      Purpose: Delete vendor invoice payment

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required — Payment ID

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/vendors-system/vendors/invoice/payment/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 19

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • sort (query, string) — default: address.country
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 10
                                                                                                                                                                                                                                                      • country (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: VenueCreateDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • name: string required
                                                                                                                                                                                                                                                            • posted_by: string — default: admin
                                                                                                                                                                                                                                                            • url: string
                                                                                                                                                                                                                                                            • _id: anyOf
                                                                                                                                                                                                                                                            • unique_id: string
                                                                                                                                                                                                                                                            • address: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: string
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: VenueCreateDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • name: string required
                                                                                                                                                                                                                                                            • posted_by: string — default: admin
                                                                                                                                                                                                                                                            • url: string
                                                                                                                                                                                                                                                            • _id: anyOf
                                                                                                                                                                                                                                                            • unique_id: string
                                                                                                                                                                                                                                                            • address: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: string

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/venues' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "name": "string",
                                                                                                                                                                                                                                                      "posted_by": "string",
                                                                                                                                                                                                                                                      "url": "string",
                                                                                                                                                                                                                                                      "_id": "string",
                                                                                                                                                                                                                                                      "unique_id": "string",
                                                                                                                                                                                                                                                      "address": {
                                                                                                                                                                                                                                                      "country": "string"
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • sort (query, string) — default: address.country
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 10
                                                                                                                                                                                                                                                      • country (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/related' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • list (query, boolean) — default: False

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/type' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • q (query, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/viberate' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • q (query, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/bandsintown' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • q (query, string) required
                                                                                                                                                                                                                                                      • limit (query, number) — default: 10
                                                                                                                                                                                                                                                      • country (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/search' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • type (query, string; enum: today, upcoming, past, all) — default: all — Filter events by date type. Options: today, upcoming, past, all

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/details/{id}/events' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/details/{id}/seasonality' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/details/{id}/default' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/details/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/similar/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • iso2 (path, string) required
                                                                                                                                                                                                                                                      • venueName (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/{iso2}/{venueName}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • iso2 (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)
                                                                                                                                                                                                                                                      • limit (query, number) — default: 10

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/venues/{iso2}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdateVenueCapacityDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • id: number required (float)
                                                                                                                                                                                                                                                            • venueId: number required (float)
                                                                                                                                                                                                                                                            • venueCapacity: anyOf required
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: UpdateVenueCapacityDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • id: number required (float)
                                                                                                                                                                                                                                                            • venueId: number required (float)
                                                                                                                                                                                                                                                            • venueCapacity: anyOf required

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/venues/update/{id}/capacity' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "id": 0,
                                                                                                                                                                                                                                                      "venueId": 0,
                                                                                                                                                                                                                                                      "venueCapacity": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: anyOf
                                                                                                                                                                                                                                                            • venue_info: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • boxOfficeInfo: string
                                                                                                                                                                                                                                                                • parkingDetail: string
                                                                                                                                                                                                                                                                • accessSeat: string
                                                                                                                                                                                                                                                                • generalInfo: string
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: number (float)
                                                                                                                                                                                                                                                                • longitude: number (float)
                                                                                                                                                                                                                                                            • location: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • image2: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • last_updated: string (date-time)
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: UpdateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: anyOf
                                                                                                                                                                                                                                                            • venue_info: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • boxOfficeInfo: string
                                                                                                                                                                                                                                                                • parkingDetail: string
                                                                                                                                                                                                                                                                • accessSeat: string
                                                                                                                                                                                                                                                                • generalInfo: string
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: number (float)
                                                                                                                                                                                                                                                                • longitude: number (float)
                                                                                                                                                                                                                                                            • location: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • image2: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • last_updated: string (date-time)
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/venues/update/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "type": "string",
                                                                                                                                                                                                                                                      "name": "string",
                                                                                                                                                                                                                                                      "alias": "string",
                                                                                                                                                                                                                                                      "sort_alias": "string",
                                                                                                                                                                                                                                                      "capacity": "string",
                                                                                                                                                                                                                                                      "venue_info": {
                                                                                                                                                                                                                                                      "boxOfficeInfo": "string",
                                                                                                                                                                                                                                                      "parkingDetail": "string",
                                                                                                                                                                                                                                                      "accessSeat": "string",
                                                                                                                                                                                                                                                      "generalInfo": "string"
                                                                                                                                                                                                                                                      },
                                                                                                                                                                                                                                                      "address": "string",
                                                                                                                                                                                                                                                      "coordinates": {
                                                                                                                                                                                                                                                      "latitude": 0,
                                                                                                                                                                                                                                                      "longitude": 0
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Update resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: UpdateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: anyOf
                                                                                                                                                                                                                                                            • venue_info: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • boxOfficeInfo: string
                                                                                                                                                                                                                                                                • parkingDetail: string
                                                                                                                                                                                                                                                                • accessSeat: string
                                                                                                                                                                                                                                                                • generalInfo: string
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: number (float)
                                                                                                                                                                                                                                                                • longitude: number (float)
                                                                                                                                                                                                                                                            • location: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • image2: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • last_updated: string (date-time)
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: UpdateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: anyOf
                                                                                                                                                                                                                                                            • venue_info: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • boxOfficeInfo: string
                                                                                                                                                                                                                                                                • parkingDetail: string
                                                                                                                                                                                                                                                                • accessSeat: string
                                                                                                                                                                                                                                                                • generalInfo: string
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: number (float)
                                                                                                                                                                                                                                                                • longitude: number (float)
                                                                                                                                                                                                                                                            • location: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: number (float)
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • image2: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • last_updated: string (date-time)
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PATCH 'http://localhost:3099/api/venues/update/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "type": "string",
                                                                                                                                                                                                                                                      "name": "string",
                                                                                                                                                                                                                                                      "alias": "string",
                                                                                                                                                                                                                                                      "sort_alias": "string",
                                                                                                                                                                                                                                                      "capacity": "string",
                                                                                                                                                                                                                                                      "venue_info": {
                                                                                                                                                                                                                                                      "boxOfficeInfo": "string",
                                                                                                                                                                                                                                                      "parkingDetail": "string",
                                                                                                                                                                                                                                                      "accessSeat": "string",
                                                                                                                                                                                                                                                      "generalInfo": "string"
                                                                                                                                                                                                                                                      },
                                                                                                                                                                                                                                                      "address": "string",
                                                                                                                                                                                                                                                      "coordinates": {
                                                                                                                                                                                                                                                      "latitude": 0,
                                                                                                                                                                                                                                                      "longitude": 0
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      • Required: Yes
                                                                                                                                                                                                                                                      • Content-Type: application/json
                                                                                                                                                                                                                                                        • $ref: CreateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string required
                                                                                                                                                                                                                                                            • name: string required
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: string required
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: anyOf
                                                                                                                                                                                                                                                                • longitude: anyOf
                                                                                                                                                                                                                                                            • location: object required
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object required
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string required
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string
                                                                                                                                                                                                                                                      • Content-Type: application/xml
                                                                                                                                                                                                                                                        • $ref: CreateVenueDtoSchema
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • type: string required
                                                                                                                                                                                                                                                            • name: string required
                                                                                                                                                                                                                                                            • alias: string
                                                                                                                                                                                                                                                            • sort_alias: string
                                                                                                                                                                                                                                                            • capacity: string required
                                                                                                                                                                                                                                                            • address: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • image: string
                                                                                                                                                                                                                                                            • coordinates: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • latitude: anyOf
                                                                                                                                                                                                                                                                • longitude: anyOf
                                                                                                                                                                                                                                                            • location: object required
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • country: object required
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                    • iso: string required
                                                                                                                                                                                                                                                                • region: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • city: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                • state: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • id: object
                                                                                                                                                                                                                                                                    • code: string
                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                            • urls: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • website: string
                                                                                                                                                                                                                                                                • instagram: string
                                                                                                                                                                                                                                                                • facebook: string
                                                                                                                                                                                                                                                                • twitter: string
                                                                                                                                                                                                                                                                • tiktok: string
                                                                                                                                                                                                                                                                • youtube: string
                                                                                                                                                                                                                                                                • google: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • setlistfm: string
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • wikipedia: string
                                                                                                                                                                                                                                                                • others: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • platforms_ids: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • wikidata: string
                                                                                                                                                                                                                                                                • songkick: string
                                                                                                                                                                                                                                                                • tm_id: string
                                                                                                                                                                                                                                                                • musicbrainz: string
                                                                                                                                                                                                                                                            • ended: boolean
                                                                                                                                                                                                                                                            • comment: string
                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                            • opening: string

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/venues/add' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>' \
                                                                                                                                                                                                                                                      -H 'Content-Type: application/json' \
                                                                                                                                                                                                                                                      -d '{
                                                                                                                                                                                                                                                      "type": "string",
                                                                                                                                                                                                                                                      "name": "string",
                                                                                                                                                                                                                                                      "alias": "string",
                                                                                                                                                                                                                                                      "sort_alias": "string",
                                                                                                                                                                                                                                                      "capacity": "string",
                                                                                                                                                                                                                                                      "address": "string",
                                                                                                                                                                                                                                                      "logo": "string",
                                                                                                                                                                                                                                                      "image": "string"
                                                                                                                                                                                                                                                      }'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 401 — Unauthorized
                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/venues/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 11

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/xero/login' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/xero/callback' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/xero/invoices' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/xero/invoices' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/xero/invoices/{id}/pdf' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/xero/invoices/OnlineInvoice' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/xero/add' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/xero/contacts' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/xero/invoices/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Delete resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X DELETE 'http://localhost:3099/api/xero/invoices/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Replace resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • public (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 403 — Forbidden
                                                                                                                                                                                                                                                      • 500 — Internal Server Error

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X PUT 'http://localhost:3099/api/xero/contacts/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 1

                                                                                                                                                                                                                                                      Purpose: Retrieve resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      • id (path, string) required
                                                                                                                                                                                                                                                      • page (query, number) — default: 1
                                                                                                                                                                                                                                                      • limit (query, number) — default: 20
                                                                                                                                                                                                                                                      • q (query, string)

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • 400 — Bad Request
                                                                                                                                                                                                                                                      • 403 — Forbidden

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X GET 'http://localhost:3099/api/agencies/team/{id}' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Operations in this group: 2

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/ai-kisum/graph' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      Purpose: Create resource

                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Request body

                                                                                                                                                                                                                                                      None

                                                                                                                                                                                                                                                      Responses

                                                                                                                                                                                                                                                      • default

                                                                                                                                                                                                                                                      Example request

                                                                                                                                                                                                                                                      Terminal window
                                                                                                                                                                                                                                                      curl -X POST 'http://localhost:3099/api/artists/migrate' \
                                                                                                                                                                                                                                                      -H 'Authorization: Bearer <JWT>' \
                                                                                                                                                                                                                                                      -H 'x-org: <ORG>'

                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • company_id: string required
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • amount: number required (float)
                                                                                                                                                                                                                                                        • date: string required (date-time)
                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                        • currency: string required
                                                                                                                                                                                                                                                        • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card) required
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                        • vendorId: string
                                                                                                                                                                                                                                                        • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)
                                                                                                                                                                                                                                                        • termId: oneOf
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • eventId: string
                                                                                                                                                                                                                                                        • amount: number required (float)
                                                                                                                                                                                                                                                        • date: string required (date-time)
                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                        • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                        • receiptUrl: object — Receipt file upload (PDF, PNG, JPG, GIF)
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • artistId: string required
                                                                                                                                                                                                                                                        • id: number required (float)
                                                                                                                                                                                                                                                        • key: string required
                                                                                                                                                                                                                                                        • name: string required
                                                                                                                                                                                                                                                        • role: string enum(agency, management) required
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • name: string required
                                                                                                                                                                                                                                                        • email: string (email)
                                                                                                                                                                                                                                                        • title: string
                                                                                                                                                                                                                                                        • phone: string
                                                                                                                                                                                                                                                        • department: string
                                                                                                                                                                                                                                                        • role: string
                                                                                                                                                                                                                                                        • active: boolean — default: True
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • quantity: number required (float)
                                                                                                                                                                                                                                                        • date: string required (date-time)
                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                        • isComps: boolean — default: False
                                                                                                                                                                                                                                                        • discount: number (float)
                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                        • ticketsSales: array required
                                                                                                                                                                                                                                                          • items:
                                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                                              • quantity: number required (float)
                                                                                                                                                                                                                                                              • date: string required (date-time)
                                                                                                                                                                                                                                                              • posted_by: string required
                                                                                                                                                                                                                                                              • isComps: boolean — default: False
                                                                                                                                                                                                                                                              • discount: number (float)
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • ids: array
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • eventIds: array
                                                                                                                                                                                                                                                            • companyId: string required
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • email: string required (email)
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • email: string required (email)
                                                                                                                                                                                                                                                            • company_id: string required
                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                            • key: string required
                                                                                                                                                                                                                                                            • name: string required
                                                                                                                                                                                                                                                            • role: string enum(agency, management) — default: agency
                                                                                                                                                                                                                                                            • otherRoles: array
                                                                                                                                                                                                                                                            • airtableId: string
                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                            • parent_code: string
                                                                                                                                                                                                                                                            • parent_label: string
                                                                                                                                                                                                                                                            • leaf_code: string
                                                                                                                                                                                                                                                            • logo: string
                                                                                                                                                                                                                                                            • website: string
                                                                                                                                                                                                                                                            • radar_enabled: boolean — default: False
                                                                                                                                                                                                                                                            • radar_domain: string
                                                                                                                                                                                                                                                            • claimed: boolean
                                                                                                                                                                                                                                                            • hq_locations: array
                                                                                                                                                                                                                                                            • other_locations: array
                                                                                                                                                                                                                                                            • top_artists: array
                                                                                                                                                                                                                                                              • items:
                                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                                  • key: string
                                                                                                                                                                                                                                                                  • name: string
                                                                                                                                                                                                                                                                  • image_url: string
                                                                                                                                                                                                                                                                  • profile_url: string
                                                                                                                                                                                                                                                            • social_numbers: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • fbAvg: number (float)
                                                                                                                                                                                                                                                                • fbTotal: object
                                                                                                                                                                                                                                                                • igAvg: number (float)
                                                                                                                                                                                                                                                                • igTotal: object
                                                                                                                                                                                                                                                                • spAvg: number (float)
                                                                                                                                                                                                                                                                • spTotal: object
                                                                                                                                                                                                                                                                • ytAvg: number (float)
                                                                                                                                                                                                                                                                • ytTotal: number (float)
                                                                                                                                                                                                                                                                • igUrl: string
                                                                                                                                                                                                                                                            • genres: array
                                                                                                                                                                                                                                                            • rostr: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • uuid: string
                                                                                                                                                                                                                                                                • rostrId: string
                                                                                                                                                                                                                                                                • profile: object
                                                                                                                                                                                                                                                                • rostr_parent: object
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • parent: object
                                                                                                                                                                                                                                                                    • url: string
                                                                                                                                                                                                                                                                • recordLabelType: object
                                                                                                                                                                                                                                                                • typeClassifier: object
                                                                                                                                                                                                                                                            • rosterSize: number (float)
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • resJson: object
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • priceId: string required — Price ID Package
                                                                                                                                                                                                                                                                • successUrl: string required — Success URL
                                                                                                                                                                                                                                                                • cancelUrl: string required — Cancel URL
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • name: string required
                                                                                                                                                                                                                                                                • description: string
                                                                                                                                                                                                                                                                • permissions: array
                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                • eventId: string required
                                                                                                                                                                                                                                                                • category: string required
                                                                                                                                                                                                                                                                • type: string enum(actual, estimated) required
                                                                                                                                                                                                                                                                • title: string required
                                                                                                                                                                                                                                                                • amount: number required (float)
                                                                                                                                                                                                                                                                • currency: string required
                                                                                                                                                                                                                                                                • posted_by: string required
                                                                                                                                                                                                                                                                • date: string required (date-time)
                                                                                                                                                                                                                                                                • vendorId: string
                                                                                                                                                                                                                                                                • artistId: string
                                                                                                                                                                                                                                                                • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card) — default: bank_transfer
                                                                                                                                                                                                                                                                • deduction_source: string enum(ticket_sales, merchandise, bar_sales, sponsorship)
                                                                                                                                                                                                                                                                • deduction_percentage: number (float)
                                                                                                                                                                                                                                                                • notes: string
                                                                                                                                                                                                                                                                • withholdingTax: number (float)
                                                                                                                                                                                                                                                                • isVersus: boolean — default: False
                                                                                                                                                                                                                                                                • isCalcPercentage: boolean — default: False
                                                                                                                                                                                                                                                                • percentageSource: string
                                                                                                                                                                                                                                                                • percentage: number (float)
                                                                                                                                                                                                                                                                • terms: array required
                                                                                                                                                                                                                                                                  • items:
                                                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                                                      • amount: number required (float)
                                                                                                                                                                                                                                                                      • due_date: string required (date-time)
                                                                                                                                                                                                                                                                      • currency: string required
                                                                                                                                                                                                                                                                      • invoiceUrl: object — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                                                                                      • includePaid: boolean — default: False
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                    • type: string required
                                                                                                                                                                                                                                                                    • description: string required
                                                                                                                                                                                                                                                                    • startDate: string required (date-time)
                                                                                                                                                                                                                                                                    • endDate: string required (date-time)
                                                                                                                                                                                                                                                                    • events: string required
                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                    • eventId: string required
                                                                                                                                                                                                                                                                    • category: string required
                                                                                                                                                                                                                                                                    • type: string required
                                                                                                                                                                                                                                                                    • title: string required
                                                                                                                                                                                                                                                                    • amount: number required (float)
                                                                                                                                                                                                                                                                    • currency: string required
                                                                                                                                                                                                                                                                    • posted_by: string required
                                                                                                                                                                                                                                                                    • date: string required (date-time)
                                                                                                                                                                                                                                                                    • vendorId: string
                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                    • terms: array
                                                                                                                                                                                                                                                                      • items:
                                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                                          • amount: number required (float)
                                                                                                                                                                                                                                                                          • includePaid: boolean — default: False
                                                                                                                                                                                                                                                                          • due_date: string required (date-time)
                                                                                                                                                                                                                                                                          • invoiceUrl: object required — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                        • artist: string required
                                                                                                                                                                                                                                                                        • showType: string enum(co_headline, headline, support, festival) required
                                                                                                                                                                                                                                                                        • numberOfShows: number required (float)
                                                                                                                                                                                                                                                                        • countryIso2: string required
                                                                                                                                                                                                                                                                        • countryName: string required
                                                                                                                                                                                                                                                                        • cityName: string required
                                                                                                                                                                                                                                                                        • venue: string required
                                                                                                                                                                                                                                                                        • venueCapacity: number required (float)
                                                                                                                                                                                                                                                                        • showDate: string required (date-time)
                                                                                                                                                                                                                                                                        • artistFee: number required (float)
                                                                                                                                                                                                                                                                        • currency: string required
                                                                                                                                                                                                                                                                        • offerType: string enum(net, gross) required
                                                                                                                                                                                                                                                                        • internationalFlights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • domesticFlights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • hotelAccommodation: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • catering: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • visa: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • groundTransport: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • travelInsurance: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                            • amount: oneOf (float)
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                        • nonShowCost: object — default: {'status': False}
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • status: boolean required — default: False
                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                        • eventId: string required
                                                                                                                                                                                                                                                                        • name: string required
                                                                                                                                                                                                                                                                        • code: string required
                                                                                                                                                                                                                                                                        • rate_type: string required
                                                                                                                                                                                                                                                                        • rate: number required (float)
                                                                                                                                                                                                                                                                        • type: string required
                                                                                                                                                                                                                                                                        • category: string required
                                                                                                                                                                                                                                                                        • taxable: string required
                                                                                                                                                                                                                                                                        • payable: string required
                                                                                                                                                                                                                                                                        • description: string
                                                                                                                                                                                                                                                                        • currency: string required
                                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                        • eventId: string required
                                                                                                                                                                                                                                                                        • vendorId: string required
                                                                                                                                                                                                                                                                        • title: string required
                                                                                                                                                                                                                                                                        • amount: number required (float)
                                                                                                                                                                                                                                                                        • allocation: number required (float)
                                                                                                                                                                                                                                                                        • comps: number required (float)
                                                                                                                                                                                                                                                                        • currency: string required
                                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                                        • ticket_group: string
                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                        • eventOrg: string required
                                                                                                                                                                                                                                                                        • status: boolean required
                                                                                                                                                                                                                                                                        • title: string required
                                                                                                                                                                                                                                                                        • date: string required (date-time)
                                                                                                                                                                                                                                                                        • country_iso: string required
                                                                                                                                                                                                                                                                        • country_name: string required
                                                                                                                                                                                                                                                                        • country_currency: string required
                                                                                                                                                                                                                                                                        • city: string required
                                                                                                                                                                                                                                                                        • venue: string required
                                                                                                                                                                                                                                                                        • venue_id: string
                                                                                                                                                                                                                                                                        • description: string
                                                                                                                                                                                                                                                                        • type: string required
                                                                                                                                                                                                                                                                        • lineup: array
                                                                                                                                                                                                                                                                        • time: object
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • start: string required (date-time)
                                                                                                                                                                                                                                                                            • end: string required (date-time)
                                                                                                                                                                                                                                                                        • financial: object required
                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                            • expenses: object
                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                • estimated: object
                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                    • talent_programming: array
                                                                                                                                                                                                                                                                                    • hospitality_logistics: array
                                                                                                                                                                                                                                                                                    • technical_infrastructure: array
                                                                                                                                                                                                                                                                                    • operations_management: array
                                                                                                                                                                                                                                                                                    • venue_site: array
                                                                                                                                                                                                                                                                                    • safety_compliance: array
                                                                                                                                                                                                                                                                                    • marketing_sales: array
                                                                                                                                                                                                                                                                                    • commercial: array
                                                                                                                                                                                                                                                                                    • general_administrative: array
                                                                                                                                                                                                                                                                                    • other: array
                                                                                                                                                                                                                                                                                    • actual: object
                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                        • talent_programming: array
                                                                                                                                                                                                                                                                                        • hospitality_logistics: array
                                                                                                                                                                                                                                                                                        • technical_infrastructure: array
                                                                                                                                                                                                                                                                                        • operations_management: array
                                                                                                                                                                                                                                                                                        • venue_site: array
                                                                                                                                                                                                                                                                                        • safety_compliance: array
                                                                                                                                                                                                                                                                                        • marketing_sales: array
                                                                                                                                                                                                                                                                                        • commercial: array
                                                                                                                                                                                                                                                                                        • general_administrative: array
                                                                                                                                                                                                                                                                                        • other: array
                                                                                                                                                                                                                                                                                        • income: object
                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                            • estimated: object
                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                • fnb: array
                                                                                                                                                                                                                                                                                                • sponsors: array
                                                                                                                                                                                                                                                                                                • merch: array
                                                                                                                                                                                                                                                                                                • other: array
                                                                                                                                                                                                                                                                                                • actual: object
                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                    • tickets: array
                                                                                                                                                                                                                                                                                                    • fnb: array
                                                                                                                                                                                                                                                                                                    • sponsors: array
                                                                                                                                                                                                                                                                                                    • merch: array
                                                                                                                                                                                                                                                                                                    • other: array
                                                                                                                                                                                                                                                                                                    • tickets: array
                                                                                                                                                                                                                                                                                                    • taxes: array
                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                        • posted_by: string required
                                                                                                                                                                                                                                                                                                        • status: boolean required
                                                                                                                                                                                                                                                                                                        • title: string required
                                                                                                                                                                                                                                                                                                        • date: string required (date-time)
                                                                                                                                                                                                                                                                                                        • time: object required
                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                            • start: string required (date-time)
                                                                                                                                                                                                                                                                                                            • end: string required (date-time)
                                                                                                                                                                                                                                                                                                        • venue: string required
                                                                                                                                                                                                                                                                                                        • type: string enum(speaker, concert, workshop, meetup, festival) required
                                                                                                                                                                                                                                                                                                        • country_name: string required
                                                                                                                                                                                                                                                                                                        • country_iso: string required
                                                                                                                                                                                                                                                                                                        • country_currency: string required
                                                                                                                                                                                                                                                                                                        • city: string required
                                                                                                                                                                                                                                                                                                        • lineup: array required
                                                                                                                                                                                                                                                                                                          • items:
                                                                                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                                                                                              • artist: string required
                                                                                                                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                                                                                                              • vendor: string
                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                            • type: string enum(ticket, tax, expense, income)
                                                                                                                                                                                                                                                                                                            • data: object
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                            • type: string enum(ticket, tax, expense, income)
                                                                                                                                                                                                                                                                                                            • data: object
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                            • avails: string required
                                                                                                                                                                                                                                                                                                            • offer: string
                                                                                                                                                                                                                                                                                                            • event: string
                                                                                                                                                                                                                                                                                                            • currency: string required
                                                                                                                                                                                                                                                                                                            • agent: string required
                                                                                                                                                                                                                                                                                                            • buyer_email: string required (email)
                                                                                                                                                                                                                                                                                                            • artist: object required
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                • artist_id: string required
                                                                                                                                                                                                                                                                                                                • fee: number required (float)
                                                                                                                                                                                                                                                                                                                • wht_percent: number required (float)
                                                                                                                                                                                                                                                                                                                • show_date: string required
                                                                                                                                                                                                                                                                                                                • set_length: number required (float)
                                                                                                                                                                                                                                                                                                                • show_type: string required
                                                                                                                                                                                                                                                                                                            • data: object
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                • offer_type: string enum(net, gross) required
                                                                                                                                                                                                                                                                                                                • merch: boolean
                                                                                                                                                                                                                                                                                                                • merch_share: string
                                                                                                                                                                                                                                                                                                                • broadcast: boolean
                                                                                                                                                                                                                                                                                                                • broadcast_fee: number (float)
                                                                                                                                                                                                                                                                                                                • sponsor: boolean
                                                                                                                                                                                                                                                                                                                • sponsor_share: string
                                                                                                                                                                                                                                                                                                                • international_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • domestic_flights: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • hotel_accommodation: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • catering: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • ground_transport: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • travel_insurance: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                    • amount: number (float)
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                • non_show_cost: object — default: {'status': False}
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: boolean — default: False
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                            • additional: object
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                • travel_information: object
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • visa: object — default: {'status': 'not_covered', 'amount': 0}
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • status: string enum(covered, not_covered, buyout) required
                                                                                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                                                                                    • nearest_airport_name: string
                                                                                                                                                                                                                                                                                                                    • hotel_to_airport_distance: number (float)
                                                                                                                                                                                                                                                                                                                    • venue_to_airport_distance: number (float)
                                                                                                                                                                                                                                                                                                                • accommodation_information: object
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • hotel_name: string
                                                                                                                                                                                                                                                                                                                    • hotel_to_venues_distance: number (float)
                                                                                                                                                                                                                                                                                                            • status: string enum(draft, pending, accepted, rejected) — default: pending
                                                                                                                                                                                                                                                                                                            • agreements: object
                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                • contracts: object
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • files: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • pdf: string
                                                                                                                                                                                                                                                                                                                        • word: string
                                                                                                                                                                                                                                                                                                                • adobe_id: string
                                                                                                                                                                                                                                                                                                                • members: object
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • seller: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • email: string (email)
                                                                                                                                                                                                                                                                                                                        • esignUrl: string
                                                                                                                                                                                                                                                                                                                        • member_id: string
                                                                                                                                                                                                                                                                                                                        • status: string
                                                                                                                                                                                                                                                                                                                    • buyer: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • email: string (email)
                                                                                                                                                                                                                                                                                                                        • esignUrl: string
                                                                                                                                                                                                                                                                                                                        • member_id: string
                                                                                                                                                                                                                                                                                                                        • status: string
                                                                                                                                                                                                                                                                                                                • invoices: array
                                                                                                                                                                                                                                                                                                                  • items:
                                                                                                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                                                                                                      • invoice_number: string
                                                                                                                                                                                                                                                                                                                      • invoice_id: string
                                                                                                                                                                                                                                                                                                                      • amount: number (float)
                                                                                                                                                                                                                                                                                                                      • currency: string
                                                                                                                                                                                                                                                                                                                      • due_date: string (date-time)
                                                                                                                                                                                                                                                                                                                      • status: string
                                                                                                                                                                                                                                                                                                                      • url: string
                                                                                                                                                                                                                                                                                                                      • payment_proof: string
                                                                                                                                                                                                                                                                                                                      • payment: boolean — default: False
                                                                                                                                                                                                                                                                                                                • venue: string
                                                                                                                                                                                                                                                                                                                • notes: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                    • is_published: boolean required
                                                                                                                                                                                                                                                                                                                    • price: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • monthly: number required (float)
                                                                                                                                                                                                                                                                                                                        • yearly: number required (float)
                                                                                                                                                                                                                                                                                                                    • limits: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • max_companies: number required (float)
                                                                                                                                                                                                                                                                                                                        • max_users_per_company: number required (float)
                                                                                                                                                                                                                                                                                                                    • features: array
                                                                                                                                                                                                                                                                                                                    • type: string required
                                                                                                                                                                                                                                                                                                                    • description: string
                                                                                                                                                                                                                                                                                                                    • permissions: array
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • artists: array required — Artist ID
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • name: string required — Full name of the user
                                                                                                                                                                                                                                                                                                                    • phoneNumber: string — Optional phone number
                                                                                                                                                                                                                                                                                                                    • email: string required (email) — User email address
                                                                                                                                                                                                                                                                                                                    • password: string required — User password
                                                                                                                                                                                                                                                                                                                    • industry: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • company: string required
                                                                                                                                                                                                                                                                                                                    • vendorName: string required
                                                                                                                                                                                                                                                                                                                    • type: string required
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                    • sortName: string
                                                                                                                                                                                                                                                                                                                    • website: string
                                                                                                                                                                                                                                                                                                                    • phoneNumber: string
                                                                                                                                                                                                                                                                                                                    • bankDetails: object
                                                                                                                                                                                                                                                                                                                    • people: object
                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                    • taxID: string
                                                                                                                                                                                                                                                                                                                    • address: object required
                                                                                                                                                                                                                                                                                                                    • posted_by: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • type: string required
                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                    • alias: string
                                                                                                                                                                                                                                                                                                                    • sort_alias: string
                                                                                                                                                                                                                                                                                                                    • capacity: string required
                                                                                                                                                                                                                                                                                                                    • address: string
                                                                                                                                                                                                                                                                                                                    • logo: string
                                                                                                                                                                                                                                                                                                                    • image: string
                                                                                                                                                                                                                                                                                                                    • coordinates: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • latitude: anyOf
                                                                                                                                                                                                                                                                                                                        • longitude: anyOf
                                                                                                                                                                                                                                                                                                                    • location: object required
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • country: object required
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • id: object
                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                            • iso: string required
                                                                                                                                                                                                                                                                                                                        • region: object
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • id: object
                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                        • city: object
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • id: object
                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                        • state: object
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • id: object
                                                                                                                                                                                                                                                                                                                            • code: string
                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                    • urls: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • website: string
                                                                                                                                                                                                                                                                                                                        • instagram: string
                                                                                                                                                                                                                                                                                                                        • facebook: string
                                                                                                                                                                                                                                                                                                                        • twitter: string
                                                                                                                                                                                                                                                                                                                        • tiktok: string
                                                                                                                                                                                                                                                                                                                        • youtube: string
                                                                                                                                                                                                                                                                                                                        • google: string
                                                                                                                                                                                                                                                                                                                        • songkick: string
                                                                                                                                                                                                                                                                                                                        • setlistfm: string
                                                                                                                                                                                                                                                                                                                        • wikidata: string
                                                                                                                                                                                                                                                                                                                        • wikipedia: string
                                                                                                                                                                                                                                                                                                                        • others: string
                                                                                                                                                                                                                                                                                                                        • musicbrainz: string
                                                                                                                                                                                                                                                                                                                    • platforms_ids: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • wikidata: string
                                                                                                                                                                                                                                                                                                                        • songkick: string
                                                                                                                                                                                                                                                                                                                        • tm_id: string
                                                                                                                                                                                                                                                                                                                        • musicbrainz: string
                                                                                                                                                                                                                                                                                                                    • ended: boolean
                                                                                                                                                                                                                                                                                                                    • comment: string
                                                                                                                                                                                                                                                                                                                    • description: string
                                                                                                                                                                                                                                                                                                                    • opening: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • index: number (float)
                                                                                                                                                                                                                                                                                                                    • type: string enum(ticket, tax, expense, income)
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • ids: array required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • id: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • sort_by: string
                                                                                                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                                                                                                    • country_iso: string
                                                                                                                                                                                                                                                                                                                    • status: boolean
                                                                                                                                                                                                                                                                                                                    • q: string
                                                                                                                                                                                                                                                                                                                    • eventType: string
                                                                                                                                                                                                                                                                                                                    • page: number (float)
                                                                                                                                                                                                                                                                                                                    • limit: number (float)
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                    • job_title: string required
                                                                                                                                                                                                                                                                                                                    • permissions: array
                                                                                                                                                                                                                                                                                                                    • company_team: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                    • password: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • status: number (float) — Status
                                                                                                                                                                                                                                                                                                                    • page: number (float) — Page
                                                                                                                                                                                                                                                                                                                    • limit: number (float) — Limit
                                                                                                                                                                                                                                                                                                                    • q: string — Query Artist Name
                                                                                                                                                                                                                                                                                                                    • iso2: string — Query Artist Name
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • refreshToken: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • name: string required — Full name of the user
                                                                                                                                                                                                                                                                                                                    • phoneNumber: string — Optional phone number
                                                                                                                                                                                                                                                                                                                    • email: string required (email) — User email address
                                                                                                                                                                                                                                                                                                                    • password: string required — User password
                                                                                                                                                                                                                                                                                                                    • industry: string required
                                                                                                                                                                                                                                                                                                                    • companyId: string
                                                                                                                                                                                                                                                                                                                    • is_blast: boolean — User will be blasted about new features and updates in the app
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • companyId: string
                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                    • password: string required
                                                                                                                                                                                                                                                                                                                    • phoneNumber: string required
                                                                                                                                                                                                                                                                                                                    • industry: string required
                                                                                                                                                                                                                                                                                                                    • is_blast: boolean — User will be blasted about new features and updates in the app
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • name: string required — Full name of the user
                                                                                                                                                                                                                                                                                                                    • phoneNumber: string — Optional phone number
                                                                                                                                                                                                                                                                                                                    • email: string required (email) — User email address
                                                                                                                                                                                                                                                                                                                    • password: string required — User password
                                                                                                                                                                                                                                                                                                                    • industry: string required
                                                                                                                                                                                                                                                                                                                    • company_id: string required
                                                                                                                                                                                                                                                                                                                    • is_blast: boolean — User will be blasted about new features and updates in the app
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • artist: string
                                                                                                                                                                                                                                                                                                                    • request: string
                                                                                                                                                                                                                                                                                                                    • char: number (float)
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • query: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • email: string required (email)
                                                                                                                                                                                                                                                                                                                    • newPassword: string required
                                                                                                                                                                                                                                                                                                                    • otp: string required
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • sort_by: string
                                                                                                                                                                                                                                                                                                                    • q: string
                                                                                                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                                                                                                    • country_iso: string
                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                    • key: string
                                                                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                                                                    • role: string enum(agency, management)
                                                                                                                                                                                                                                                                                                                    • otherRoles: array
                                                                                                                                                                                                                                                                                                                    • airtableId: string
                                                                                                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                                                                                                    • parent_code: string
                                                                                                                                                                                                                                                                                                                    • parent_label: string
                                                                                                                                                                                                                                                                                                                    • leaf_code: string
                                                                                                                                                                                                                                                                                                                    • logo: string
                                                                                                                                                                                                                                                                                                                    • website: string
                                                                                                                                                                                                                                                                                                                    • radar_enabled: boolean
                                                                                                                                                                                                                                                                                                                    • radar_domain: string
                                                                                                                                                                                                                                                                                                                    • claimed: boolean
                                                                                                                                                                                                                                                                                                                    • hq_locations: array
                                                                                                                                                                                                                                                                                                                    • other_locations: array
                                                                                                                                                                                                                                                                                                                    • top_artists: array
                                                                                                                                                                                                                                                                                                                      • items:
                                                                                                                                                                                                                                                                                                                        • object
                                                                                                                                                                                                                                                                                                                          • key: string
                                                                                                                                                                                                                                                                                                                          • name: string
                                                                                                                                                                                                                                                                                                                          • image_url: string
                                                                                                                                                                                                                                                                                                                          • profile_url: string
                                                                                                                                                                                                                                                                                                                    • social_numbers: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • fbAvg: number (float)
                                                                                                                                                                                                                                                                                                                        • fbTotal: object
                                                                                                                                                                                                                                                                                                                        • igAvg: number (float)
                                                                                                                                                                                                                                                                                                                        • igTotal: object
                                                                                                                                                                                                                                                                                                                        • spAvg: number (float)
                                                                                                                                                                                                                                                                                                                        • spTotal: object
                                                                                                                                                                                                                                                                                                                        • ytAvg: number (float)
                                                                                                                                                                                                                                                                                                                        • ytTotal: number (float)
                                                                                                                                                                                                                                                                                                                        • igUrl: string
                                                                                                                                                                                                                                                                                                                    • genres: array
                                                                                                                                                                                                                                                                                                                    • rostr: object
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • uuid: string
                                                                                                                                                                                                                                                                                                                        • rostrId: string
                                                                                                                                                                                                                                                                                                                        • profile: object
                                                                                                                                                                                                                                                                                                                        • rostr_parent: object
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • parent: object
                                                                                                                                                                                                                                                                                                                            • url: string
                                                                                                                                                                                                                                                                                                                        • recordLabelType: object
                                                                                                                                                                                                                                                                                                                        • typeClassifier: object
                                                                                                                                                                                                                                                                                                                    • rosterSize: number (float)
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • name: string
                                                                                                                                                                                                                                                                                                                        • description: string
                                                                                                                                                                                                                                                                                                                        • permissions: array
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • company_team: string
                                                                                                                                                                                                                                                                                                                        • permissions: array
                                                                                                                                                                                                                                                                                                                        • job_title: string
                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                        • eventId: string
                                                                                                                                                                                                                                                                                                                        • category: string
                                                                                                                                                                                                                                                                                                                        • type: string enum(actual, estimated)
                                                                                                                                                                                                                                                                                                                        • title: string
                                                                                                                                                                                                                                                                                                                        • amount: number (float)
                                                                                                                                                                                                                                                                                                                        • currency: string
                                                                                                                                                                                                                                                                                                                        • posted_by: string
                                                                                                                                                                                                                                                                                                                        • date: string (date-time)
                                                                                                                                                                                                                                                                                                                        • vendorId: string
                                                                                                                                                                                                                                                                                                                        • artistId: string
                                                                                                                                                                                                                                                                                                                        • payment_method: string enum(bank_transfer, deducted_from_tickets, cash, check, credit_card)
                                                                                                                                                                                                                                                                                                                        • deduction_source: string enum(ticket_sales, merchandise, bar_sales, sponsorship)
                                                                                                                                                                                                                                                                                                                        • deduction_percentage: number (float)
                                                                                                                                                                                                                                                                                                                        • notes: string
                                                                                                                                                                                                                                                                                                                        • withholdingTax: number (float)
                                                                                                                                                                                                                                                                                                                        • isVersus: boolean
                                                                                                                                                                                                                                                                                                                        • isCalcPercentage: boolean
                                                                                                                                                                                                                                                                                                                        • percentageSource: string
                                                                                                                                                                                                                                                                                                                        • percentage: number (float)
                                                                                                                                                                                                                                                                                                                        • terms: array
                                                                                                                                                                                                                                                                                                                          • items:
                                                                                                                                                                                                                                                                                                                            • object
                                                                                                                                                                                                                                                                                                                              • amount: number required (float)
                                                                                                                                                                                                                                                                                                                              • due_date: string required (date-time)
                                                                                                                                                                                                                                                                                                                              • currency: string required
                                                                                                                                                                                                                                                                                                                              • invoiceUrl: object — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                                                                                                                                              • removeInvoice: boolean
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                                                                                            • description: string
                                                                                                                                                                                                                                                                                                                            • startDate: string (date-time)
                                                                                                                                                                                                                                                                                                                            • endDate: string (date-time)
                                                                                                                                                                                                                                                                                                                            • events: string
                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                            • eventId: string
                                                                                                                                                                                                                                                                                                                            • category: string
                                                                                                                                                                                                                                                                                                                            • type: string
                                                                                                                                                                                                                                                                                                                            • title: string
                                                                                                                                                                                                                                                                                                                            • amount: number (float)
                                                                                                                                                                                                                                                                                                                            • currency: string
                                                                                                                                                                                                                                                                                                                            • posted_by: string
                                                                                                                                                                                                                                                                                                                            • date: string (date-time)
                                                                                                                                                                                                                                                                                                                            • vendorId: string
                                                                                                                                                                                                                                                                                                                            • notes: string
                                                                                                                                                                                                                                                                                                                            • terms: array
                                                                                                                                                                                                                                                                                                                              • items:
                                                                                                                                                                                                                                                                                                                                • object
                                                                                                                                                                                                                                                                                                                                  • amount: number required (float)
                                                                                                                                                                                                                                                                                                                                  • due_date: string required (date-time)
                                                                                                                                                                                                                                                                                                                                  • invoiceUrl: object required — Invoice file upload (PDF, PNG, JPG)
                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                • name: string
                                                                                                                                                                                                                                                                                                                                • code: string
                                                                                                                                                                                                                                                                                                                                • rate_type: string
                                                                                                                                                                                                                                                                                                                                • rate: number (float)
                                                                                                                                                                                                                                                                                                                                • type: string
                                                                                                                                                                                                                                                                                                                                • category: string
                                                                                                                                                                                                                                                                                                                                • taxable: string
                                                                                                                                                                                                                                                                                                                                • payable: string
                                                                                                                                                                                                                                                                                                                                • description: string
                                                                                                                                                                                                                                                                                                                                • currency: string
                                                                                                                                                                                                                                                                                                                                • posted_by: string
                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                • vendorId: string
                                                                                                                                                                                                                                                                                                                                • title: string
                                                                                                                                                                                                                                                                                                                                • amount: number (float)
                                                                                                                                                                                                                                                                                                                                • allocation: number (float)
                                                                                                                                                                                                                                                                                                                                • comps: number (float)
                                                                                                                                                                                                                                                                                                                                • currency: string
                                                                                                                                                                                                                                                                                                                                • posted_by: string required
                                                                                                                                                                                                                                                                                                                                • due_date: string (date-time)
                                                                                                                                                                                                                                                                                                                                • ticket_group: string
                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                • city: string
                                                                                                                                                                                                                                                                                                                                • country_iso: string
                                                                                                                                                                                                                                                                                                                                • country_name: string
                                                                                                                                                                                                                                                                                                                                • country_currency: string
                                                                                                                                                                                                                                                                                                                                • date: string (date-time)
                                                                                                                                                                                                                                                                                                                                • description: string
                                                                                                                                                                                                                                                                                                                                • time: object
                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                    • start: string (date-time)
                                                                                                                                                                                                                                                                                                                                    • end: string (date-time)
                                                                                                                                                                                                                                                                                                                                • financial: object
                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                    • expenses: object
                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                        • estimated: object
                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                            • talent_programming: array
                                                                                                                                                                                                                                                                                                                                            • hospitality_logistics: array
                                                                                                                                                                                                                                                                                                                                            • technical_infrastructure: array
                                                                                                                                                                                                                                                                                                                                            • operations_management: array
                                                                                                                                                                                                                                                                                                                                            • venue_site: array
                                                                                                                                                                                                                                                                                                                                            • safety_compliance: array
                                                                                                                                                                                                                                                                                                                                            • marketing_sales: array
                                                                                                                                                                                                                                                                                                                                            • commercial: array
                                                                                                                                                                                                                                                                                                                                            • general_administrative: array
                                                                                                                                                                                                                                                                                                                                            • other: array
                                                                                                                                                                                                                                                                                                                                            • actual: object
                                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                                • talent_programming: array
                                                                                                                                                                                                                                                                                                                                                • hospitality_logistics: array
                                                                                                                                                                                                                                                                                                                                                • technical_infrastructure: array
                                                                                                                                                                                                                                                                                                                                                • operations_management: array
                                                                                                                                                                                                                                                                                                                                                • venue_site: array
                                                                                                                                                                                                                                                                                                                                                • safety_compliance: array
                                                                                                                                                                                                                                                                                                                                                • marketing_sales: array
                                                                                                                                                                                                                                                                                                                                                • commercial: array
                                                                                                                                                                                                                                                                                                                                                • general_administrative: array
                                                                                                                                                                                                                                                                                                                                                • other: array
                                                                                                                                                                                                                                                                                                                                                • income: object
                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                    • estimated: object
                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                        • fnb: array
                                                                                                                                                                                                                                                                                                                                                        • sponsors: array
                                                                                                                                                                                                                                                                                                                                                        • merch: array
                                                                                                                                                                                                                                                                                                                                                        • other: array
                                                                                                                                                                                                                                                                                                                                                        • actual: object
                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                            • tickets: array
                                                                                                                                                                                                                                                                                                                                                            • fnb: array
                                                                                                                                                                                                                                                                                                                                                            • sponsors: array
                                                                                                                                                                                                                                                                                                                                                            • merch: array
                                                                                                                                                                                                                                                                                                                                                            • other: array
                                                                                                                                                                                                                                                                                                                                                            • tickets: array
                                                                                                                                                                                                                                                                                                                                                            • taxes: array
                                                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                                                • city: string
                                                                                                                                                                                                                                                                                                                                                                • country_iso: string
                                                                                                                                                                                                                                                                                                                                                                • country_name: string
                                                                                                                                                                                                                                                                                                                                                                • country_currency: string
                                                                                                                                                                                                                                                                                                                                                                • date: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                • description: string
                                                                                                                                                                                                                                                                                                                                                                • time: object
                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                    • start: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                    • end: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                • financial: object
                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                    • expenses: object
                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                        • estimated: object
                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                            • talent_programming: array
                                                                                                                                                                                                                                                                                                                                                                            • hospitality_logistics: array
                                                                                                                                                                                                                                                                                                                                                                            • technical_infrastructure: array
                                                                                                                                                                                                                                                                                                                                                                            • operations_management: array
                                                                                                                                                                                                                                                                                                                                                                            • venue_site: array
                                                                                                                                                                                                                                                                                                                                                                            • safety_compliance: array
                                                                                                                                                                                                                                                                                                                                                                            • marketing_sales: array
                                                                                                                                                                                                                                                                                                                                                                            • commercial: array
                                                                                                                                                                                                                                                                                                                                                                            • general_administrative: array
                                                                                                                                                                                                                                                                                                                                                                            • other: array
                                                                                                                                                                                                                                                                                                                                                                            • actual: object
                                                                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                                                                • talent_programming: array
                                                                                                                                                                                                                                                                                                                                                                                • hospitality_logistics: array
                                                                                                                                                                                                                                                                                                                                                                                • technical_infrastructure: array
                                                                                                                                                                                                                                                                                                                                                                                • operations_management: array
                                                                                                                                                                                                                                                                                                                                                                                • venue_site: array
                                                                                                                                                                                                                                                                                                                                                                                • safety_compliance: array
                                                                                                                                                                                                                                                                                                                                                                                • marketing_sales: array
                                                                                                                                                                                                                                                                                                                                                                                • commercial: array
                                                                                                                                                                                                                                                                                                                                                                                • general_administrative: array
                                                                                                                                                                                                                                                                                                                                                                                • other: array
                                                                                                                                                                                                                                                                                                                                                                                • income: object
                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                    • estimated: object
                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                        • fnb: array
                                                                                                                                                                                                                                                                                                                                                                                        • sponsors: array
                                                                                                                                                                                                                                                                                                                                                                                        • merch: array
                                                                                                                                                                                                                                                                                                                                                                                        • other: array
                                                                                                                                                                                                                                                                                                                                                                                        • actual: object
                                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                                            • tickets: array
                                                                                                                                                                                                                                                                                                                                                                                            • fnb: array
                                                                                                                                                                                                                                                                                                                                                                                            • sponsors: array
                                                                                                                                                                                                                                                                                                                                                                                            • merch: array
                                                                                                                                                                                                                                                                                                                                                                                            • other: array
                                                                                                                                                                                                                                                                                                                                                                                            • tickets: array
                                                                                                                                                                                                                                                                                                                                                                                            • taxes: array
                                                                                                                                                                                                                                                                                                                                                                                              • object
                                                                                                                                                                                                                                                                                                                                                                                                • posted_by: string
                                                                                                                                                                                                                                                                                                                                                                                                • status: boolean
                                                                                                                                                                                                                                                                                                                                                                                                • title: string
                                                                                                                                                                                                                                                                                                                                                                                                • date: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                                                • time: object
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • start: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                                                    • end: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                                                • venue: string
                                                                                                                                                                                                                                                                                                                                                                                                • type: string enum(speaker, concert, workshop, meetup, festival)
                                                                                                                                                                                                                                                                                                                                                                                                • country_name: string
                                                                                                                                                                                                                                                                                                                                                                                                • country_iso: string
                                                                                                                                                                                                                                                                                                                                                                                                • country_currency: string
                                                                                                                                                                                                                                                                                                                                                                                                • city: string
                                                                                                                                                                                                                                                                                                                                                                                                • lineup: array required
                                                                                                                                                                                                                                                                                                                                                                                                  • items:
                                                                                                                                                                                                                                                                                                                                                                                                    • object
                                                                                                                                                                                                                                                                                                                                                                                                      • artist: string required
                                                                                                                                                                                                                                                                                                                                                                                                      • currency: string required
                                                                                                                                                                                                                                                                                                                                                                                                      • amount: number required (float)
                                                                                                                                                                                                                                                                                                                                                                                                      • vendor: string
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • index: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                    • type: string enum(ticket, tax, expense, income)
                                                                                                                                                                                                                                                                                                                                                                                                    • data: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • index: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                    • type: string enum(ticket, tax, expense, income)
                                                                                                                                                                                                                                                                                                                                                                                                    • data: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • oldPassword: string required
                                                                                                                                                                                                                                                                                                                                                                                                    • newPassword: string required
                                                                                                                                                                                                                                                                                                                                                                                                    • confirmPassword: string required
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • status: number (float) — Status of the roster (-1: rejected, 0: pending, 1: confirmed)
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                                                                                                                                                    • email: string (email)
                                                                                                                                                                                                                                                                                                                                                                                                    • title: string
                                                                                                                                                                                                                                                                                                                                                                                                    • phone: string
                                                                                                                                                                                                                                                                                                                                                                                                    • department: string
                                                                                                                                                                                                                                                                                                                                                                                                    • role: string
                                                                                                                                                                                                                                                                                                                                                                                                    • active: boolean
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                                                                                                                                                    • phoneNumber: string
                                                                                                                                                                                                                                                                                                                                                                                                    • email: string (email)
                                                                                                                                                                                                                                                                                                                                                                                                    • roles: string — Role ID
                                                                                                                                                                                                                                                                                                                                                                                                    • industry: string
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • vendors: array required
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • company: string
                                                                                                                                                                                                                                                                                                                                                                                                    • vendorName: string
                                                                                                                                                                                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                                                                                                                                                                                    • bankDetails: object
                                                                                                                                                                                                                                                                                                                                                                                                    • sortName: string
                                                                                                                                                                                                                                                                                                                                                                                                    • email: string (email)
                                                                                                                                                                                                                                                                                                                                                                                                    • website: string
                                                                                                                                                                                                                                                                                                                                                                                                    • phoneNumber: string
                                                                                                                                                                                                                                                                                                                                                                                                    • notes: string
                                                                                                                                                                                                                                                                                                                                                                                                    • people: object
                                                                                                                                                                                                                                                                                                                                                                                                    • taxID: string
                                                                                                                                                                                                                                                                                                                                                                                                    • address: object
                                                                                                                                                                                                                                                                                                                                                                                                    • posted_by: string
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • id: number required (float)
                                                                                                                                                                                                                                                                                                                                                                                                    • venueId: number required (float)
                                                                                                                                                                                                                                                                                                                                                                                                    • venueCapacity: anyOf required
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • type: string
                                                                                                                                                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                                                                                                                                                    • alias: string
                                                                                                                                                                                                                                                                                                                                                                                                    • sort_alias: string
                                                                                                                                                                                                                                                                                                                                                                                                    • capacity: anyOf
                                                                                                                                                                                                                                                                                                                                                                                                    • venue_info: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • boxOfficeInfo: string
                                                                                                                                                                                                                                                                                                                                                                                                        • parkingDetail: string
                                                                                                                                                                                                                                                                                                                                                                                                        • accessSeat: string
                                                                                                                                                                                                                                                                                                                                                                                                        • generalInfo: string
                                                                                                                                                                                                                                                                                                                                                                                                    • address: string
                                                                                                                                                                                                                                                                                                                                                                                                    • coordinates: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • latitude: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                        • longitude: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                    • location: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • country: object
                                                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                                                            • id: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                                                                                                            • iso: string
                                                                                                                                                                                                                                                                                                                                                                                                        • region: object
                                                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                                                            • id: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                                                                                                        • city: object
                                                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                                                            • id: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                                                                                                        • state: object
                                                                                                                                                                                                                                                                                                                                                                                                          • object
                                                                                                                                                                                                                                                                                                                                                                                                            • id: number (float)
                                                                                                                                                                                                                                                                                                                                                                                                            • code: string
                                                                                                                                                                                                                                                                                                                                                                                                            • name: string
                                                                                                                                                                                                                                                                                                                                                                                                    • logo: string
                                                                                                                                                                                                                                                                                                                                                                                                    • image: string
                                                                                                                                                                                                                                                                                                                                                                                                    • image2: string
                                                                                                                                                                                                                                                                                                                                                                                                    • urls: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • website: string
                                                                                                                                                                                                                                                                                                                                                                                                        • instagram: string
                                                                                                                                                                                                                                                                                                                                                                                                        • facebook: string
                                                                                                                                                                                                                                                                                                                                                                                                        • twitter: string
                                                                                                                                                                                                                                                                                                                                                                                                        • tiktok: string
                                                                                                                                                                                                                                                                                                                                                                                                        • youtube: string
                                                                                                                                                                                                                                                                                                                                                                                                        • google: string
                                                                                                                                                                                                                                                                                                                                                                                                        • songkick: string
                                                                                                                                                                                                                                                                                                                                                                                                        • setlistfm: string
                                                                                                                                                                                                                                                                                                                                                                                                        • wikidata: string
                                                                                                                                                                                                                                                                                                                                                                                                        • wikipedia: string
                                                                                                                                                                                                                                                                                                                                                                                                        • others: string
                                                                                                                                                                                                                                                                                                                                                                                                        • musicbrainz: string
                                                                                                                                                                                                                                                                                                                                                                                                    • platforms_ids: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • wikidata: string
                                                                                                                                                                                                                                                                                                                                                                                                        • songkick: string
                                                                                                                                                                                                                                                                                                                                                                                                        • tm_id: string
                                                                                                                                                                                                                                                                                                                                                                                                        • musicbrainz: string
                                                                                                                                                                                                                                                                                                                                                                                                    • ended: boolean
                                                                                                                                                                                                                                                                                                                                                                                                    • comment: string
                                                                                                                                                                                                                                                                                                                                                                                                    • last_updated: string (date-time)
                                                                                                                                                                                                                                                                                                                                                                                                    • description: string
                                                                                                                                                                                                                                                                                                                                                                                                    • opening: string
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • name: string required
                                                                                                                                                                                                                                                                                                                                                                                                    • posted_by: string — default: admin
                                                                                                                                                                                                                                                                                                                                                                                                    • url: string
                                                                                                                                                                                                                                                                                                                                                                                                    • _id: anyOf
                                                                                                                                                                                                                                                                                                                                                                                                    • unique_id: string
                                                                                                                                                                                                                                                                                                                                                                                                    • address: object
                                                                                                                                                                                                                                                                                                                                                                                                      • object
                                                                                                                                                                                                                                                                                                                                                                                                        • country: string
                                                                                                                                                                                                                                                                                                                                                                                                  • object
                                                                                                                                                                                                                                                                                                                                                                                                    • sessionId: string required
                                                                                                                                                                                                                                                                                                                                                                                                    • prompt: string required