Get result count and totals for orders in one call

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/orders/summary

Combines what GET overall and GET total return, to save the frontend a round-trip. Computes the same two values the same way -- see OrderTableViewService.calculateSummary().

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Query parameters

  • id string
  • name string
  • orderId string
  • date string(date-time)
  • description string
  • contactId string
  • status string

    Multi-value supported. Example: value1;value2

    Values are OFFERED, OFFERED_SENT, CONFIRMED, CONFIRMED_SENT, BILLABLE, FINISHED, or CANCELLED.

  • isExpensesEnabled boolean
  • orderAmount
  • hasWarnings boolean
  • validated boolean
  • clientEmail string
  • isInvoiceGenerated boolean
  • isPeriodic boolean
  • isInWorkflow boolean
  • clientOrderEmail string
  • hasProformaInvoice boolean

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • count integer(int64)
    • totals object
      Hide totals attributes Show totals attributes object
      • id integer(int64)
      • name string
      • orderId string
      • date string(date-time)
      • description string
      • contactName string
      • contactId integer(int64)
      • organizationId integer(int64)
      • warnings string
      • status string

        Values are OFFERED, OFFERED_SENT, CONFIRMED, CONFIRMED_SENT, BILLABLE, FINISHED, or CANCELLED.

      • isExpensesEnabled boolean
      • isPrePaymentAvailable boolean
      • isPartialPaymentAvailable boolean
      • orderAmount number
      • creatorContactId integer(int64)
      • hasWarnings boolean
      • validated boolean
      • clientEmail string
      • clientECorrespondence boolean
      • workflowPermissions string
      • isInvoiceGenerated boolean
      • isPeriodic boolean
      • isInWorkflow boolean
      • flagsAmount integer(int32)
      • activeSubOrderId integer(int64)
      • activeSubOrderInvoicingDate string(date-time)
      • systemValidated boolean
      • clientOrderEmail string
      • clientAdvancedInvoicingNote string
      • hasProformaInvoice boolean
      • inWorkflow boolean
      • periodic boolean
      • expensesEnabled boolean
      • prePaymentAvailable boolean
      • partialPaymentAvailable boolean
      • invoiceGenerated boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/orders/summary
curl \
 --request GET 'https://wyzio.app/api-v1/orders/summary'
Response examples (200)
{
  "count": 42,
  "totals": {
    "id": 42,
    "name": "string",
    "orderId": "string",
    "date": "2026-05-04T09:42:00Z",
    "description": "string",
    "contactName": "string",
    "contactId": 42,
    "organizationId": 42,
    "warnings": "string",
    "status": "OFFERED",
    "isExpensesEnabled": true,
    "isPrePaymentAvailable": true,
    "isPartialPaymentAvailable": true,
    "orderAmount": 42.0,
    "creatorContactId": 42,
    "hasWarnings": true,
    "validated": true,
    "clientEmail": "string",
    "clientECorrespondence": true,
    "workflowPermissions": "string",
    "isInvoiceGenerated": true,
    "isPeriodic": true,
    "isInWorkflow": true,
    "flagsAmount": 42,
    "activeSubOrderId": 42,
    "activeSubOrderInvoicingDate": "2026-05-04T09:42:00Z",
    "systemValidated": true,
    "clientOrderEmail": "string",
    "clientAdvancedInvoicingNote": "string",
    "hasProformaInvoice": true,
    "inWorkflow": true,
    "periodic": true,
    "expensesEnabled": true,
    "prePaymentAvailable": true,
    "partialPaymentAvailable": true,
    "invoiceGenerated": true
  }
}