API Reference (v1) - Legacy
Note: If you are currently using the Version 1.0 API, we recommend transitioning to Version 2.0 as soon as possible.
Base URL: https://api.action-target.net/api/v1/pos
Swagger Documentation:
- Production: https://api.action-target.net/api/v1/swagger/
- Playground: https://playground.action-target.net/api/v1/swagger/
Range Information
GET /bays
Returns a list of bays for your range.
Response: Array of BayView
GET /lanes
Returns a list of lanes for your range. Results are ordered by display order but not grouped by bay.
Response: Array of LaneView
GET /groups
Returns the access groups configured for your range.
Response: Array of GroupView
Session Management
GET /sessions
Returns all active sessions. Sessions created from the SRA Control Screen will also appear here.
Response: Array of SessionView
POST /sessions
Creates a new session.
Request Body:
{
"name": "Customer Name",
"lane_id": "string (UUID)",
"group_id": "string (UUID)",
"duration": 30,
"enable_purchasing": false,
"auto_start": true
}
| Field | Description |
|---|---|
duration | Session length in minutes (1-480) |
enable_purchasing | Enables lane purchasing if the range supports it |
auto_start | If false, session time does not start until the user begins in the lane |
Response: SessionView
PATCH /sessions
Modifies an existing session. Use this to extend, reduce, or stop a session.
Extend or reduce time:
{
"id": "session-uuid",
"duration": 45
}
Stop a session (set duration to 0):
{
"id": "session-uuid",
"duration": 0
}
Response:
{
"id": "session-uuid",
"duration": 45
}
Or for stopped sessions:
{
"id": "session-uuid",
"message": "session stopped"
}
Key Differences from v2
| Feature | v1 | v2 |
|---|---|---|
| Field naming | Includes redundant id field | Uses explicit names (session_id, lane_id, etc.) |
| Modify session | PATCH /sessions with new duration | POST /sessions/{id}/modify?time=±minutes |
| Stop session | PATCH /sessions with duration: 0 | POST /sessions/{id}/stop |
| Simulation endpoints | Not available | Available on playground |