Pool Service Software MCP by usefulapi
Read clients, routes, jobs and invoices; create and schedule jobs in Pool Service Software.
使うべきか
品質と安全性
検出事項(1)
- LOWpss_unschedule_job 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"pool-service-software": {
"url": "https://pool-service-software.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://pool-service-software.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(32)
🟢pss_list_clients(searchTerm, sortField, sortOrder, limit, offset)
List clients (customers) with contact details, client type and status. Search by name, email or phone. PSS API: GET /v1/clients.
入力スキーマ
{
"type": "object",
"properties": {
"searchTerm": {
"description": "Searches display name, first/last name, email, phone and company name.",
"type": "string"
},
"sortField": {
"type": "string",
"enum": [
"clientId",
"firstName",
"lastName",
"displayName",
"createdAt",
"updatedAt",
"status"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_client(clientId)
Get one client by UUID. PSS API: GET /v1/clients/{clientId}.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"minLength": 1,
"description": "The client UUID."
}
},
"required": [
"clientId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_create_client(firstName, clientType, lastName, displayName, companyName, ...)
Create a client (customer). Requires first name and client type. Creates a record in the company's PSS account. PSS API: POST /v1/clients.
入力スキーマ
{
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"clientType": {
"type": "string",
"enum": [
"Residential",
"Commercial",
"Management",
"Vacation",
"Bank Owned"
]
},
"lastName": {
"type": "string"
},
"displayName": {
"type": "string"
},
"companyName": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"mobilePhone": {
"type": "string"
},
"email": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
},
"country": {
"type": "string"
},
"isAutoPayOn": {
"type": "boolean"
},
"isSendingInvoicePdf": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"Active",
"Inactive"
]
}
},
"required": [
"firstName",
"clientType"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_update_client(clientId, firstName, lastName, displayName, companyName, ...)
Change some fields of one client (partial update; only the fields you pass change). PSS API: PATCH /v1/clients/{clientId}.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"minLength": 1,
"description": "The client UUID."
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"displayName": {
"type": "string"
},
"companyName": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"mobilePhone": {
"type": "string"
},
"email": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
},
"country": {
"type": "string"
},
"clientType": {
"type": "string",
"enum": [
"Residential",
"Commercial",
"Management",
"Vacation",
"Bank Owned"
]
},
"isAutoPayOn": {
"type": "boolean"
},
"isSendingInvoicePdf": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"Active",
"Inactive"
]
}
},
"required": [
"clientId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_members(searchTerm, sortField, sortOrder, limit, offset)
List company members (office staff and technicians) with roles and technician details. PSS API: GET /v1/members.
入力スキーマ
{
"type": "object",
"properties": {
"searchTerm": {
"description": "Searches display name and email.",
"type": "string"
},
"sortField": {
"type": "string",
"enum": [
"memberId",
"displayName",
"createdAt",
"updatedAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_member(memberId)
Get one company member by UUID, including roles and technician details. PSS API: GET /v1/members/{memberId}.
入力スキーマ
{
"type": "object",
"properties": {
"memberId": {
"type": "string",
"minLength": 1,
"description": "The member UUID."
}
},
"required": [
"memberId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_properties(clientId, searchTerm, sortField, sortOrder, limit, ...)
List properties (the pools and sites serviced for clients), with address, pool volume and service frequency. PSS API: GET /v1/properties.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"description": "Only rows for this client UUID.",
"type": "string"
},
"searchTerm": {
"description": "Searches property name, alt contact, address, city and alt contact email.",
"type": "string"
},
"sortField": {
"type": "string",
"enum": [
"propertyId",
"propertyName",
"city",
"state",
"address",
"createdAt",
"updatedAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_property(propertyId)
Get one property by UUID, including pool volume, surface type, tech notes and flags. PSS API: GET /v1/properties/{propertyId}.
入力スキーマ
{
"type": "object",
"properties": {
"propertyId": {
"type": "string",
"minLength": 1,
"description": "The property UUID."
}
},
"required": [
"propertyId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_create_property(clientId, propertyType, address, startDate, propertyName, ...)
Create a property (pool or site) for an existing client. Requires client id, property type, address and start date. PSS API: POST /v1/properties.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"minLength": 1,
"description": "The client UUID."
},
"propertyType": {
"type": "string",
"enum": [
"Residential",
"Commercial",
"Management",
"Vacation",
"Bank Owned"
]
},
"address": {
"type": "string"
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"propertyName": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"zip": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"poolVolume": {
"type": "number"
},
"surfaceType": {
"type": "string"
},
"isSaltPool": {
"type": "boolean"
},
"gateCode": {
"type": "string"
},
"petName": {
"type": "string"
},
"techNotes": {
"type": "string"
},
"serviceFrequency": {
"anyOf": [
{
"type": "number",
"const": -1
},
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
},
{
"type": "number",
"const": 4
}
],
"description": "Service frequency code: -1, 1, 2, 3 or 4, as the PSS API defines it."
},
"isActive": {
"type": "boolean"
}
},
"required": [
"clientId",
"propertyType",
"address",
"startDate"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_update_property(propertyId, clientId, propertyType, propertyName, address, ...)
Change some fields of one property (partial update; only the fields you pass change). PSS API: PATCH /v1/properties/{propertyId}.
入力スキーマ
{
"type": "object",
"properties": {
"propertyId": {
"type": "string",
"minLength": 1,
"description": "The property UUID."
},
"clientId": {
"type": "string"
},
"propertyType": {
"type": "string",
"enum": [
"Residential",
"Commercial",
"Management",
"Vacation",
"Bank Owned"
]
},
"propertyName": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"zip": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"poolVolume": {
"type": "number"
},
"surfaceType": {
"type": "string"
},
"isSaltPool": {
"type": "boolean"
},
"gateCode": {
"type": "string"
},
"petName": {
"type": "string"
},
"techNotes": {
"type": "string"
},
"serviceFrequency": {
"anyOf": [
{
"type": "number",
"const": -1
},
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
},
{
"type": "number",
"const": 4
}
],
"description": "Service frequency code: -1, 1, 2, 3 or 4, as the PSS API defines it."
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"isActive": {
"type": "boolean"
}
},
"required": [
"propertyId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_routes(clientId, propertyId, technicianId, dayOfWeek, sortField, ...)
List service routes: which technician services which property, on which weekday, in which stop order. PSS API: GET /v1/routes.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"description": "Only rows for this client UUID.",
"type": "string"
},
"propertyId": {
"description": "Only rows for this property UUID.",
"type": "string"
},
"technicianId": {
"description": "Only rows for this technician UUID.",
"type": "string"
},
"dayOfWeek": {
"description": "Service day: 1 = Monday … 7 = Sunday.",
"type": "integer",
"minimum": 1,
"maximum": 7
},
"sortField": {
"type": "string",
"enum": [
"routeId",
"propertyId",
"technicianId",
"dayOfWeek",
"stopOrder",
"createdAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_route(routeId)
Get one service route by UUID. PSS API: GET /v1/routes/{routeId}.
入力スキーマ
{
"type": "object",
"properties": {
"routeId": {
"type": "string",
"minLength": 1,
"description": "The route UUID."
}
},
"required": [
"routeId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_job_types(sortField, sortOrder, limit, offset)
List job types (for example repair or chemical service) with their ids. PSS API: GET /v1/jobTypes.
入力スキーマ
{
"type": "object",
"properties": {
"sortField": {
"type": "string",
"enum": [
"jobTypeName",
"jobTypeId"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_job_type(jobTypeId)
Get one job type by UUID. PSS API: GET /v1/jobTypes/{jobTypeId}.
入力スキーマ
{
"type": "object",
"properties": {
"jobTypeId": {
"type": "string",
"minLength": 1,
"description": "The job type UUID."
}
},
"required": [
"jobTypeId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_item_types(sortField, sortOrder, limit, offset)
List item types (the categories line items and catalog items belong to). PSS API: GET /v1/itemTypes.
入力スキーマ
{
"type": "object",
"properties": {
"sortField": {
"type": "string",
"enum": [
"itemTypeName",
"itemTypeId"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_item_type(itemTypeId)
Get one item type by UUID. PSS API: GET /v1/itemTypes/{itemTypeId}.
入力スキーマ
{
"type": "object",
"properties": {
"itemTypeId": {
"type": "string",
"minLength": 1,
"description": "The item type UUID."
}
},
"required": [
"itemTypeId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_jobs(clientId, propertyId, technicianId, status, dateFrom, ...)
List jobs (work orders) with status and dates. Filter by client, property, technician, status or start-date range. PSS API: GET /v1/jobs.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"description": "Only rows for this client UUID.",
"type": "string"
},
"propertyId": {
"description": "Only rows for this property UUID.",
"type": "string"
},
"technicianId": {
"description": "Only rows for this technician UUID.",
"type": "string"
},
"status": {
"description": "Exact status match.",
"type": "string",
"enum": [
"Draft",
"Scheduled",
"Done",
"Cancelled",
"Missed"
]
},
"dateFrom": {
"description": "Start date on or after this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dateTo": {
"description": "Start date on or before this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"sortField": {
"type": "string",
"enum": [
"jobId",
"subject",
"status",
"startDate",
"endDate",
"createdAt",
"updatedAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_job(jobId)
Get one job by UUID, with totals, notes and its scheduled instances. PSS API: GET /v1/jobs/{jobId}.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
}
},
"required": [
"jobId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_job_line_items(jobId)
List the line items (parts, labour, charges) on one job. PSS API: GET /v1/jobs/{jobId}/lineItems.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
}
},
"required": [
"jobId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_create_job(clientId, subject, jobDurationType, propertyId, technicianId, ...)
Create a job (work order) for a client. Requires client id, subject and duration type (SingleDay or MultipleDay). Optional line items. PSS API: POST /v1/jobs.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"minLength": 1,
"description": "The client UUID."
},
"subject": {
"type": "string"
},
"jobDurationType": {
"type": "string",
"enum": [
"SingleDay",
"MultipleDay"
]
},
"propertyId": {
"type": "string"
},
"technicianId": {
"type": "string"
},
"jobTypeId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"Draft",
"Scheduled",
"Done",
"Cancelled",
"Missed"
]
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"instructionNotes": {
"type": "string"
},
"clientNotes": {
"type": "string"
},
"tax1": {
"type": "number"
},
"tax2": {
"type": "number"
},
"discount": {
"type": "number"
},
"deposit": {
"type": "number"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"itemTypeId": {
"type": "string",
"description": "Item type UUID (from pss_list_item_types)."
},
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"rate": {
"type": "number"
},
"isTax1": {
"type": "boolean"
},
"isTax2": {
"type": "boolean"
},
"catalogId": {
"description": "Catalog item UUID (from pss_list_catalog_items), if any.",
"type": "string"
}
},
"required": [
"itemTypeId"
]
}
}
},
"required": [
"clientId",
"subject",
"jobDurationType"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_update_job(jobId, clientId, propertyId, technicianId, subject, ...)
Change some fields of one job (partial update; only the fields you pass change). PSS API: PATCH /v1/jobs/{jobId}.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
},
"clientId": {
"type": "string"
},
"propertyId": {
"type": "string"
},
"technicianId": {
"type": "string"
},
"subject": {
"type": "string"
},
"jobTypeId": {
"type": "string"
},
"jobDurationType": {
"type": "string",
"enum": [
"SingleDay",
"MultipleDay"
]
},
"status": {
"type": "string",
"enum": [
"Draft",
"Scheduled",
"Done",
"Cancelled",
"Missed"
]
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"instructionNotes": {
"type": "string"
},
"clientNotes": {
"type": "string"
},
"tax1": {
"type": "number"
},
"tax2": {
"type": "number"
},
"discount": {
"type": "number"
},
"deposit": {
"type": "number"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"itemTypeId": {
"type": "string",
"description": "Item type UUID (from pss_list_item_types)."
},
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"rate": {
"type": "number"
},
"isTax1": {
"type": "boolean"
},
"isTax2": {
"type": "boolean"
},
"catalogId": {
"description": "Catalog item UUID (from pss_list_catalog_items), if any.",
"type": "string"
}
},
"required": [
"itemTypeId"
]
}
}
},
"required": [
"jobId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_schedule_job(jobId, date, stopPreference)
Put a job on a day's route. stopPreference sets where it goes in the day: optimized, first or last. PSS API: POST /v1/jobs/{jobId}/schedule.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day to schedule, yyyy-mm-dd."
},
"stopPreference": {
"type": "string",
"enum": [
"optimized",
"first",
"last"
]
}
},
"required": [
"jobId",
"date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_unschedule_job(jobId, date)
Take a job off a day's route. PSS API: POST /v1/jobs/{jobId}/unschedule.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The scheduled day to remove, yyyy-mm-dd."
}
},
"required": [
"jobId",
"date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_reopen_job(jobId)
Reopen a job that is marked done so the team can change it. PSS API: POST /v1/jobs/{jobId}/reopen.
入力スキーマ
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "The job UUID."
}
},
"required": [
"jobId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_invoices(clientId, status, dateFrom, dateTo, sortField, ...)
List invoices with status, amounts and balance. Filter by client, status or issue-date range. PSS API: GET /v1/invoices.
入力スキーマ
{
"type": "object",
"properties": {
"clientId": {
"description": "Only rows for this client UUID.",
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"sent",
"viewed",
"paid",
"overdue",
"written-off"
]
},
"dateFrom": {
"description": "Issue date on or after this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dateTo": {
"description": "Issue date on or before this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"sortField": {
"type": "string",
"enum": [
"invoiceId",
"issueDate",
"dueDate",
"totalAmount",
"balance",
"status",
"createdAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_invoice(invoiceId)
Get one invoice by UUID, with its line items and payments. PSS API: GET /v1/invoices/{invoiceId}.
入力スキーマ
{
"type": "object",
"properties": {
"invoiceId": {
"type": "string",
"minLength": 1,
"description": "The invoice UUID."
}
},
"required": [
"invoiceId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_visits(visitTypes, clientId, propertyId, technicianId, dateFrom, ...)
List service visits in one list: route visits and completed job visits, sorted by service time. Good for 'what did the team do on this day'. PSS API: GET /v1/visits.
入力スキーマ
{
"type": "object",
"properties": {
"visitTypes": {
"description": "Visit kinds to include. Default: both.",
"type": "array",
"items": {
"type": "string",
"enum": [
"serviceRouteVisit",
"jobVisit"
]
}
},
"clientId": {
"description": "Only rows for this client UUID.",
"type": "string"
},
"propertyId": {
"description": "Only rows for this property UUID.",
"type": "string"
},
"technicianId": {
"description": "Only rows for this technician UUID.",
"type": "string"
},
"dateFrom": {
"description": "Service time on or after this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dateTo": {
"description": "Service time on or before this day.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"isIncludingSkipped": {
"description": "Also return skipped visits (default false).",
"type": "boolean"
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_visit(visitId)
Get one visit by UUID, with pool readings (pH, chlorine and so on), checklist items and chemical dosages. PSS API: GET /v1/visits/{visitId}.
入力スキーマ
{
"type": "object",
"properties": {
"visitId": {
"type": "string",
"minLength": 1,
"description": "The visit UUID."
}
},
"required": [
"visitId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_list_catalog_items(itemTypeId, searchTerm, sortField, sortOrder, limit, ...)
List catalog items (the company's price list of parts and services) with rate and stock. PSS API: GET /v1/catalog.
入力スキーマ
{
"type": "object",
"properties": {
"itemTypeId": {
"description": "Only items of this item type UUID.",
"type": "string"
},
"searchTerm": {
"description": "Searches catalog name and description.",
"type": "string"
},
"sortField": {
"type": "string",
"enum": [
"catalogId",
"catalogName",
"rate",
"createdAt",
"updatedAt"
]
},
"sortOrder": {
"description": "Sort direction.",
"type": "string",
"enum": [
"ASC",
"DESC"
]
},
"limit": {
"description": "Items per page (1–200, default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"description": "Zero-based offset for pagination.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pss_get_catalog_item(catalogId)
Get one catalog item by UUID. PSS API: GET /v1/catalog/{catalogId}.
入力スキーマ
{
"type": "object",
"properties": {
"catalogId": {
"type": "string",
"minLength": 1,
"description": "The catalog item UUID."
}
},
"required": [
"catalogId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_create_catalog_item(itemTypeId, catalogName, quantity, rate, description, ...)
Add an item to the company's price list. Requires item type id, name, quantity and rate. PSS API: POST /v1/catalog.
入力スキーマ
{
"type": "object",
"properties": {
"itemTypeId": {
"type": "string"
},
"catalogName": {
"type": "string"
},
"quantity": {
"type": "number"
},
"rate": {
"type": "number"
},
"description": {
"type": "string"
},
"isTax1": {
"type": "boolean"
},
"notes": {
"type": "string"
},
"isTracking": {
"description": "Track stock count for this item.",
"type": "boolean"
},
"itemNumber": {
"type": "string"
},
"unitCost": {
"type": "number"
},
"workDuration": {
"description": "Work time for this item, in minutes.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"itemTypeId",
"catalogName",
"quantity",
"rate"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pss_update_catalog_item(catalogId, itemTypeId, catalogName, description, quantity, ...)
Change some fields of one catalog item (partial update; only the fields you pass change). PSS API: PATCH /v1/catalog/{catalogId}.
入力スキーマ
{
"type": "object",
"properties": {
"catalogId": {
"type": "string",
"minLength": 1,
"description": "The catalog item UUID."
},
"itemTypeId": {
"type": "string"
},
"catalogName": {
"type": "string"
},
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"rate": {
"type": "number"
},
"isTax1": {
"type": "boolean"
},
"notes": {
"type": "string"
},
"isTracking": {
"type": "boolean"
},
"itemNumber": {
"type": "string"
},
"unitCost": {
"type": "number"
},
"workDuration": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"catalogId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス