Skip to main content

DockMaster SQL API Guide

Guide to the new API · December 2026

note

Numbers on this page are current values and may change before launch. Questions: your DockMaster contact.

Start here​

Moving to the new DockMaster API. DockMaster is moving its partner API to a new system. Your routes, request bodies and response fields stay the same, apart from a few answers listed under What's different. For most integrations the move comes down to a new address, a new login for each marina, and a few new answers to handle.

1Get the new address and logins

We send you a username and password for each marina as it moves.

2Handle a few new answers

404 when a record isn't found, 409 when two saves collide, 429 when you go over a limit. See Errors.

3Switch each marina on its date

Marinas move one at a time, and we tell you each date. See How the move works.

  • Paths and field names don't change. The address and the login do, and empty fields now arrive as null.
  • The old API keeps working for every marina that hasn't moved yet.
  • The new API has usage limits; the old one had none. See Limits.
  • The new address (base URL) will be confirmed before your first marina moves.

How the move works​

Marinas move from the old API to the new one one at a time. You switch each marina's calls on the date we give you for it.

  1. NowAll marinas on the old APINothing changes for you yet.
  2. Marina by marinaEach marina moves on its dateYou send that marina's calls to the new API from then on.
  3. All movedOld API stays up 30 more daysIt stays until it has had no partner calls for 30 days.
  4. RetiredOld API switched offPlanned: it answers 410 Gone for 90 days, then shuts down. We confirm dates first.

Which API do I call for a marina?​

Has DockMaster told you this marina has moved?
Yes
New APINew address, and the new login we sent for that marina.
Not yet
Old APISame address and login as today.

A marina that hasn't moved can't log in on the new API: the login answers 401. If a call answers 409 with type urn:dockmaster:public-api:marina-not-migrated, the marina was moved back to the old API after you logged in. Send its calls to the old API and let us know.

On each marina's move date​

  1. Send that marina's calls to the new API, logging in with the new username and password we sent for it. Old logins and tokens don't work on the new API.
  2. Start any list you were paging through again, without a listName. Old list names don't work on the new API.
  3. Stop all saves for that marina on the old API. After the move date the old API only holds a frozen copy, so anything saved there is lost.
note

Keep every marina that hasn't moved on the old API until its own date.

Logging in​

Log in once with the marina's username and password. You get a token, which you send with every call along with the marina's id.

  1. 1 · Log inPOST /api/v1/tokenSend the username and password.
  2. 2 · GetA token and the marina's idauthToken, refreshToken, systemId.
  3. 3 · CallEvery request, two headersAuthorization and X-DM_SYSTEM_ID.
  4. 4 · RefreshPOST /api/v1/token/refreshBefore the 24 hours run out, then keep calling.

After step 4, carry on from step 3 with the new token.

Log in

POST /api/v1/token
{ "UserName": "your-username", "Password": "…" }

The answer

{
"authToken": "eyJ…",
"refreshToken": "…",
"authExpiration": "2026-12-01T14:00:00Z",
"availableConnections": [
{ "name": "Example Marina", "systemId": "…", "isDefault": true }
]
}

Send on every call

HeaderValue
AuthorizationBearer <authToken>
X-DM_SYSTEM_IDThe marina's systemId from availableConnections

Refresh

POST /api/v1/token/refresh
{ "expiredAuthToken": "…", "refreshToken": "…" }

Good to know​

  • How long tokens last: a token lasts 24 hours; a refresh token lasts 30 days.
  • Keep only the newest refresh token. Each refresh gives you a new one. Using an older one again ends the session, with a short grace in case an answer got lost.
  • Log in once and share the token across your workers. A new login ends the refresh tokens of earlier sessions; their tokens keep working until they expire.
  • Six wrong passwords lock the login for 30 minutes.
  • A password change, or a deactivated login, ends its sessions. Log in again.
  • Marina id header: if X-DM_SYSTEM_ID is missing, sent twice, or names a marina your token doesn't list, the answer is 401.

Sending requests​

Address and paths​

  • Base URL: to be confirmed by DockMaster before your first marina moves.
  • Paths don't change. Routes live under /api/v1/{Module}/…, for example /api/v1/Service/WorkOrders/Retrieve. The short form without /api/v1 still works, as before. metadata routes need the /api/v1 prefix.
  • One version: answers carry api-supported-versions: 1.0.
  • Route list: GET /api/v1/About/endpoints lists every route and whether it's available. No login needed.
  • Health check: GET /api/v1/About/health answers 200 when the API is up. No login needed.

Request bodies​

  • Send JSON with Content-Type: application/json. text/json still works.
  • A body can be up to 256 KB; larger bodies get 413. The login routes take up to 4 KB.
  • Field names in answers are camelCase: name, systemId, listName. Field names you send can be in any case.
  • Empty fields are sent as null. The old API left them out. Make sure your code accepts null in any field.

Paging through lists​

Lists come in pages, in the same shape as before, plus a new totalCount.

{ "currentPage": 1, "maxPages": 12, "pageSize": 100, "listName": "…", "totalCount": 1187 }
  • Send the listName back with the next Page to continue the same list.
  • listName is now up to 4,096 characters long. Store it as long text.
  • It expires after 24 hours and only works for the marina it came from.
  • A PageSize above 500 is served as 500, and the answer says so.
  • Two lists page differently: Service/WorkOrderLaborDetail/List and Service/WorkOrderPartDetail/List continue with a Cursor and moreData, have no totalCount, and refuse a PageSize over 1,000 with 400.

Dates and times​

Dates and times are in the marina's own local time, as before.

Retrying a save safely​

If a save times out, you can't tell whether it went through. Send an Idempotency-Key header with each save (a new UUID each time). If you resend with the same key and body within 24 hours, you get the first answer back and nothing is saved twice.

  • Only successful answers are kept. A save that was refused (400, 409) or failed (500) runs again when you retry it.
  • Changed the body? Use a new key. The same key with a different body runs as a new save.
  1. 1 · SaveSend it with a new keyIdempotency-Key: 6f1c…
  2. 2 · No answerThe call times outDid it go through? You can't tell.
  3. 3 · RetrySame key, same bodyWithin 24 hours.
  4. 4 · ResultThe first answer, onceMarked Idempotent-Replayed: true. Nothing saved twice.

Saves that support it

ModuleSaves
ARNextReferenceNumber, SubmitBatch, CreateMiscARCharge
BoatsUpdateBoat, UpdatePlacement
CustomersUpdateCustomer
GLCreateJournalTransaction
OrdersSubmitOrder
PointOfSaleSubmitPOSTicket
ServiceWorkOrders/Update, Estimates/Update, WorkOrders/CreateFromEstimate, Schedule/Update, WorkOrders/SubmitPartEntry, Estimates/SubmitPartEntry, Estimates/SubmitLaborEntry, WorkOrders/SubmitTimeEntry, WorkOrders/DeletePartEntry, WorkOrders/DeleteOperation, Estimates/DeleteOperation
note

Without a key, only a few saves spot an exact repeat on their own: SubmitBatch with no BatchId, SubmitTimeEntry, the three deletes and WorkOrders/CreateFromEstimate. Every other save without a key is saved again, as on the old API.

Limits​

The new API limits how much each login can do at once; the old API had no limits. These are the current values and may change before launch.

WhatLimitIf you go over
Requests600 a minute per login429, with Retry-After in seconds
AR/NextReferenceNumber10 a minute, on top of the 600429, with Retry-After
Searches (the eight …/Search routes and Inventory/FindParts)2 at once per login, 4 more waiting429
Search time15 seconds503 with Retry-After: 5; narrow the search or retry
Large reads without paging1 at a time per login; the rest wait their turn429 only if the queue keeps growing for several minutes
Records in one read without paging5,000 records and 50,000 detail lines (Customers/List 25,000; UnitSales/RetrieveOpenContracts and RetrieveClosedContracts 20,000; Customers/RetrieveCustomers 500)400: “The request selects more than N records; narrow it.”
Ids in one request1,000 ids of up to 64 characters400: “At most 1000 ids per request.”
Search text256 characters400
A single filter value64 characters400
Request body256 KB413
Items in one save500 operations, receipts, payments per receipt, appointments, or order and ticket lines; 100 attachments per operation400, and nothing is saved
Comment sent with Customers/UpdateCustomer4,000 characters; a customer's comments up to 64,000 in allCut to 4,000; past 64,000 the comment is not added, with no error
Wrong passwords6, then locked for 30 minutes401
note

To stay inside the limits: wait the Retry-After time before retrying a 429 or 503, page through big lists instead of reading them whole, and run searches one or two at a time.

Errors​

Errors come back as JSON with a title and a type; most also have a status and a detail saying what went wrong. A 413 and a 500 have no body. Saves still answer 200 with a result or success field when the marina's own rules refuse the change, as before.

StatusWhat it meansWhat to do
400Something in the request is wrong, or a limit was passed. errors names the field and detail gives the reason. For paging, code is PAGING_TOKEN_INVALID or PAGING_TOKEN_EXPIRED.Fix the request. For a paging code, start the list again without a ListName.
401The token is missing, expired or ended, or X-DM_SYSTEM_ID names a marina the token doesn't list.Refresh or log in again, and check the header.
404No such record, on Boats/RetrieveBoat, Customers/RetrieveCustomer, Service/WorkOrders/Retrieve, Service/Estimates/Retrieve and Service/Estimates/PrintData.Treat it as not found. The old API answered 200 with an empty object.
409With type …marina-not-migrated: the marina was moved back to the old API after you logged in.Send this marina's calls to the old API, and tell us.
409Any other 409: another save to the same record landed while yours was running, so yours was refused. On PointOfSale/SubmitPOSTicket it can also mean no ticket number was free.Retry. On WorkOrders/Update and Estimates/Update, read the record first: parts saved before the 409 stay saved.
413The body is bigger than the limit.Send less in one request.
429Over a rate or search limit.Wait Retry-After seconds, then retry.
501The route isn't available on the new API yet.See Endpoints, and tell us if you need it.
503A search ran longer than 15 seconds.Narrow the search, or wait Retry-After.
500Something unexpected went wrong on our side. No body.Retry later; tell us if it keeps happening. On WorkOrders/Update and Estimates/Update, read the record first: part of the save may have gone through.

Example: an expired list name

{ "title": "Bad Request", "status": 400, "detail": "ListName has expired. Start again without a ListName.", "code": "PAGING_TOKEN_EXPIRED" }

Example: a field that failed a check

{ "title": "One or more validation errors occurred.", "status": 400,
"errors": { "SearchString": ["The length of 'Search String' must be 256 characters or fewer. You entered 300 characters."] } }

What's different from the old API​

Check each item against how you use the API. Most integrations need the first four.

404Record not found
Old APINew API
200 with an empty object
404

On five single-record reads: RetrieveBoat, RetrieveCustomer, WorkOrders/Retrieve, Estimates/Retrieve and Estimates/PrintData.

409Two saves to the same record at once
Old APINew API
The last save won
The second gets 409

Customers, boats, work orders, estimates, orders, POS tickets.

429 · 503Usage limits
Old APINew API
No limits
See Limits
listNameLonger list names
Old APINew API
Short name
Up to 4,096 characters, expires in 24 hours

New​

WhatWhere
totalCount on every page of a listAll paged lists except the two work-order detail feeds
maxOrder, minOrder, safetyStock, recommLevel per location, as "0.00" textInventory/ListByPage, Retrieve, RetrievePart, RetrieveOnlinePartsList, FindParts
Idempotency-Key for safe retriesThe saves listed under Sending requests

Answers that changed​

WhenOld APINew API
AR/SubmitBatch with a ReferenceNum already on fileOverwrote the receipt400 “ReferenceNum X already exists.”
Service/WorkOrders/SubmitTimeEntry sent twice within 24 hoursTwo entriesThe first answer, one entry
Unknown or expired listNameEmpty page400 with a paging code
A date filter that can't be read (LastModifiedDate, LastUpdateDate)Varied, sometimes 500400 “… is not a valid date.”
Bad paging values or dates on a few routes500400 with a reason
AR/CalculateTax with no TaxDateRates dated 0001-01-01Today's rates
GL/CreateJournalTransaction AcctDate with an offset or ZConverted to the server's time zoneDated in UTC
PageSize over 500Served as sentServed as 500
A field with no valueLeft outSent as null
Service/WorkOrders/CreateFromEstimate on an estimate already convertedA new work order each timeThe work order already made from it
Service/WorkOrders/SubmitTimeEntry priceExtension and costExtension1/100 of the amount (1.60 for 160.00)Dollars (160.00)
The eight …/Search routesThe old search indexMatches on words, exact id first; words after the eighth are ignored. Results can differ.
Service/Estimates/GeneratePdfA PDF501; use Service/Estimates/PrintData

Fields that read differently​

FieldWhereNew API
taxIDCustomersAlways null (the old API sent an encrypted value)
Trailer fieldsBoat readsThe first trailer only
Receiver, special-order and back-order fieldsInventory/PurchaseOrders readsThe first row only
operatorMarinaOps/LaunchTickets/ListThe first operator only
boatPackagePointerUnitSales inventory readsThe first pointer only
commentsOrders/RetrieveOrdersLines joined with a line break
installmentInfoAR/RetrieveBillingChargesLeft out
warning

Known gaps right now: a few fields read blank or zero until their data is moved over, such as estimate billing lists, entryPort on Orders/RetrieveOrders and some Inventory/RetrieveFuel totals. Slip and launch-operation dates show the move date until the record is saved again. On moved boat contracts, contractTotal and balanceDue leave out a discount or override insurance premiums until that data is moved over.

Endpoints​

The new API serves 150 of the old API's 221 partner routes. The 69 it doesn't serve yet had no recorded partner calls from 31 July to 29 October 2026, and they answer 501 for now. If you need one, tell us before your marina moves. GET /api/v1/About/endpoints returns the full list.

ModuleAvailableNot yetCovers
Service4834Work orders, estimates, operations, labor, parts, time entries, schedule
Inventory204Parts, stock by location, fuel, purchase and special orders, adjustments
AR172Invoices, billing charges, cash receipts, payment history, tax, receipt batches
UnitSales1512Boat, motor, trailer and other units; models; quotes; contracts; unit purchase orders
Customers102Customer records, notes, search, statements, updates
Boats82Boat records, notes, search, updates, slip placement
General60Clerks, locations, pay types, tax schemas
GL52Journal transactions, account period amounts, bank deposits
MarinaOps55Slips, availability, launch tickets and operations, reservations
PointOfSale40POS tickets and payments
Vendors30Vendor records and search
AP22Payable invoices and transactions
Orders20Sales orders
metadata20Metadata
token20Logging in and refreshing
Departments10Departments
Prospects04Prospect records and search

Not available yet​

These answer 501. Open a module to see its routes.

AP · 2
  • CreateInvoice, RetrieveInvoice
AR · 2
  • ApplyCreditMemo, ReversePayment
Boats · 2
  • Notes/Save, Notes/Delete
Customers · 2
  • Notes/Save, Notes/Delete
GL · 2
  • BankReconciliation/{account}/ListWorkingAdjustments, BankReconciliation/{account}/UpdateWorkingAdjustments
Inventory · 4
  • PartsKits, PartsKits/List, RetrieveReceivers, SpecialOrders/ReceivedOrders
MarinaOps · 5
  • LaunchTicket, LaunchTickets, Reservations (GET and POST), Reservations/Cancel
Prospects · 4
  • Retrieve, RetrieveList, Search, UpdateProspect
Service · 34
  • Work orders: WorkOrders/RetrieveOperations, RetrieveBillingCodes, RetrieveEquipment, RetrieveMileage, RetrieveMiscSupply, RetrieveGroupDescription, SubmitBillcodeEntry, DeleteBillcodeEntry, SubmitSubletEntry, Notes/Save, WorkOrders/{id}/Reopen
  • Estimates: Estimates/RetrieveLabor, RetrieveParts, RetrieveFreight, RetrieveEquipment, RetrieveMileage, RetrieveMiscSupply, RetrieveBillingCodes, SubmitBillcodeEntry, DeleteBillcodeEntry, DeletePartEntry, SubmitSubletEntry, Notes/Retrieve, Notes/Save, Estimates/{id}/Reopen
  • Other: WorkOrderOperations/Notes/Retrieve, WorkOrderOperations/Notes/Save, EstimateOperations/Notes/Retrieve, EstimateOperations/Notes/Save, Notes/Delete, Operations/{parentId}/{opCode}/Reopen, Schedule/OperationSchedule, Schedule/WorkOrderSchedule, Layouts/Retrieve
UnitSales · 12
  • RetrieveMotorModels, RetrieveOtherModels, RetrieveTrailerModels, UpdateContract, Update{Boat,Motor,Trailer,Other}Inventory, Update{Boat,Motor,Trailer,Other}Model
note

Two routes won't be moved: GET Service/Estimates/GeneratePdf (use Service/Estimates/PrintData instead) and GET Service/Layouts/Xml. A full reference with every route's request and response format is built into the new API; we'll share its address when it's published.

Your checklist​

Tick items off as you go. Your ticks are saved in this browser only. 0 of 10 done.

Before your first marina moves

On each marina's move date