Pool Brain MCP by usefulapi
Read customers, routes, jobs and invoices; create or update customers and add notes in Pool Brain.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWpoolbrain_list_product_categories에서
- LOWpoolbrain_get_technician_routes에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"pool-brain": {
"url": "https://pool-brain.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://pool-brain.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (24)
🟢poolbrain_list_companies
List the companies a Master API Key can reach, with companyId, name and subscription status. A company key gets an error here. Pool Brain Open API: GET /v2/company_list.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_users(userId, isActive, fromDate, toDate, fromLastModifiedDate, ...)
List staff users with userId, name, email, role, permissions and active flag. Pool Brain Open API: GET /v2/user_detail.
입력 스키마
{
"type": "object",
"properties": {
"userId": {
"description": "Filter by userId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"isActive": {
"description": "1 for active users, 0 for inactive.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_billing_defaults
Read the company's billing defaults (terms, tax and invoice settings). Pool Brain Open API: GET /v2/setting_billing_defaults.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_service_levels
Read service level details, including the pool types linked to each service level. Pool Brain Open API: GET /v2/service_level_list.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_search_customers(customerId, customerStatus, customerDisplayName, contactEmailAddress, contactPhoneNumber, ...)
Search customers: contact details, addresses and service history. Filter by any field below. Pool Brain Open API: GET /v2/customer_detail.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Customer id.",
"type": "string"
},
"customerStatus": {
"description": "Customer status as the vendor names it.",
"type": "string"
},
"customerDisplayName": {
"description": "Display name (partial match).",
"type": "string"
},
"contactEmailAddress": {
"description": "Contact email.",
"type": "string"
},
"contactPhoneNumber": {
"description": "Contact phone number.",
"type": "string"
},
"primaryAddress": {
"description": "Primary address text.",
"type": "string"
},
"billingAddress": {
"description": "Billing address text.",
"type": "string"
},
"allAddresses": {
"description": "Any property address text.",
"type": "string"
},
"routeStopEmail": {
"description": "Route Stop Email of a property (partial match).",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_customer_notes(notesId, customerId, fromDate, toDate, fromLastModifiedDate, ...)
List customer notes, optionally for one customer. Pool Brain Open API: GET /v2/customer_notes_detail.
입력 스키마
{
"type": "object",
"properties": {
"notesId": {
"description": "Note id.",
"type": "string"
},
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_quotes(quotesId, customerId, fromDate, toDate, fromLastModifiedDate, ...)
List quotes with their line items, totals, tax, status and assigned sales rep. Pool Brain Open API: GET /v2/customer_quotes_detail.
입력 스키마
{
"type": "object",
"properties": {
"quotesId": {
"description": "Quote id.",
"type": "string"
},
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_pool_details(waterBodyId, fromDate, toDate, offset, limit)
Read a customer's pool details, including water bodies and their associated data. Pool Brain Open API: GET /v2/customer_pool_details.
입력 스키마
{
"type": "object",
"properties": {
"waterBodyId": {
"description": "Water body id.",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_products(fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, offset, ...)
List the products and services of the company. Pool Brain Open API: GET /v2/product_list.
입력 스키마
{
"type": "object",
"properties": {
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_product_categories(offset, limit)
List product and service categories, with child categories up to level 3. Pool Brain Open API: GET /v2/product_service_category_list.
입력 스키마
{
"type": "object",
"properties": {
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_invoices(customerId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
List invoices with balance due, customer, dates and payment link. Pool Brain Open API: GET /v2/invoice_list.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_invoice_details(invoiceId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
Read invoice details, including product details, for one invoice or a date window. Pool Brain Open API: GET /v2/invoice_list_detail.
입력 스키마
{
"type": "object",
"properties": {
"invoiceId": {
"description": "Invoice id.",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_payments(customerId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
List customer payments, with their method and amount. Pool Brain Open API: GET /v2/payment_List.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_one_time_jobs(customerId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
List one-time jobs with their dates and status. Pool Brain Open API: GET /v2/one_time_job_list.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_one_time_job(oneOfJobId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
Read one-time job details: job title, instructions, notes, inventory used and schedule status. Pool Brain Open API: GET /v2/one_time_job_list_details.
입력 스키마
{
"type": "object",
"properties": {
"oneOfJobId": {
"description": "One-time job id.",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_route_stop_jobs(customerId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
List jobs on route stops within a date range. Pool Brain Open API: GET /v2/route_stops_job_list.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_route_stop_job(jobId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
Read route stop job details, including chemical readings and chemical status. Pool Brain Open API: GET /v2/route_stops_job_list_details.
입력 스키마
{
"type": "object",
"properties": {
"jobId": {
"description": "Route stop job id.",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_list_alerts(customerId, isDismissed, fromDate, toDate, fromLastModifiedDate, ...)
List alerts on jobs, with the alert type and whether it is dismissed. Pool Brain Open API: GET /v2/alerts_list.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"description": "Filter by customerId.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"isDismissed": {
"description": "'true' for dismissed alerts, 'false' for open alerts.",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_technician(technicianId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
Read technician details in a date window, optionally for one technician. Pool Brain Open API: GET /v2/technician_detail.
입력 스키마
{
"type": "object",
"properties": {
"technicianId": {
"description": "Technician id (string, as the vendor sends it).",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_technician_routes(date, fromDate, toDate)
Read technician routes, with stops and schedules, for one day or a date range. Pool Brain Open API: GET /v2/technician_route_detail.
입력 스키마
{
"type": "object",
"properties": {
"date": {
"description": "One day, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢poolbrain_get_technician_pay(technicianId, fromDate, toDate, fromLastModifiedDate, toLastModifiedDate, ...)
Read technician pay and payment history in a date window. Pool Brain Open API: GET /v2/technician_pay.
입력 스키마
{
"type": "object",
"properties": {
"technicianId": {
"description": "Technician id (string, as the vendor sends it).",
"type": "string"
},
"fromDate": {
"description": "Start date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toDate": {
"description": "End date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"fromLastModifiedDate": {
"description": "Start of the last-modified window, YYYY-MM-DD. Send with toLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"toLastModifiedDate": {
"description": "End of the last-modified window, YYYY-MM-DD. Send with fromLastModifiedDate.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"description": "Paging offset, as the vendor defines it. Check pagination.hasMore in the reply to know when to page on.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Records per call (vendor default and maximum 1000).",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴poolbrain_create_customer(firstName, lastName, displayName, address, city, ...)
Create a customer with contact, address and water body details. Writes a new customer record. Pool Brain Open API: POST /v2/create_customer.
입력 스키마
{
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"displayName": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zipcode": {
"type": "string"
},
"contactNumber": {
"type": "string"
},
"email": {
"type": "string"
},
"waterBodyName": {
"type": "string"
},
"waterBodyType": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"waterBodyGallons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"GateCode": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"accessNotes": {
"type": "string"
},
"serviceLevelId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"poolTypeId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"hasDogs": {
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴poolbrain_update_customer(customerId, addressId, firstName, lastName, displayName, ...)
Update a customer's and one property's contact and address details. Pass customerId and addressId with the fields to update. Pool Brain Open API: PUT /v2/update_customer_details.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Customer to update."
},
"addressId": {
"description": "Property to update.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"displayName": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zipcode": {
"type": "string"
},
"contactNumber": {
"type": "string"
},
"email": {
"type": "string"
},
"GateCode": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"accessNotes": {
"type": "string"
},
"hasDogs": {
"type": "string"
}
},
"required": [
"customerId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴poolbrain_create_customer_note(customerId, notes)
Add a note to a customer record. Writes a new note. Pool Brain Open API: POST /v2/create_customer_notes.
입력 스키마
{
"type": "object",
"properties": {
"customerId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Customer to note."
},
"notes": {
"type": "string",
"minLength": 1,
"description": "Note text."
}
},
"required": [
"customerId",
"notes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거