Read sales types

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://rest-api.developer.24sevenoffice.com/doc/v1/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"v1 MCP server": {
  "url": "https://rest-api.developer.24sevenoffice.com/doc/v1/mcp"
}
Close
GET /salestypes

Read a list of sales types available in the system.

Headers

  • Authorization string Required

    Authorization header

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id integer

      The unique identifier of the sales type.

    • name string

      The name of the sales type.

    • account object

      The associated account within the Finago Office accounting module for this sales type.

      Hide account attribute Show account attribute object
      • id integer

        A unique identifier for the account within Finago Office accounting module.

GET /salestypes
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/salestypes' \
 --header "Authorization: string"
Response examples (200)
[
  {
    "id": 1,
    "name": "Product Sales",
    "account": {
      "id": 2000001
    }
  },
  {
    "id": 2,
    "name": "Service Sales",
    "account": {
      "id": 2000003
    }
  }
]