Skip to content

GET /inventory/count-session

Search Counting Sessions

GET
/inventory/count-session

Search counting sessions.

Queries the InventoryCountSession collection with optional filters for
status, type, and free-text search on session code. Returns sessions sorted
by creation date descending up to limit.

Emits: (direct query — no event class)
Required scope: inventory:count:read

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Query Parameters

search

Wildcard search on session code.

Example"CNT-2026-*"
status

Filter by session status.

Example"planned"
type

Filter by counting dimension.

Example"position"
limit

Maximum number of results.

Example500
Default
500
offset

Pagination offset.

Example0
Default
0

Responses

Successful Response

application/json
JSON
[
  
{
  
  
"_id": "string",
  
  
"_key": "string",
  
  
"_rev": "string",
  
  
"code": "CNT-2026-001",
  
  
"description": "Annual full-warehouse count Q2 2026",
  
  
"type": "position",
  
  
"status": "planned",
  
  
"blind_quantities": true,
  
  
"blind_serials": true,
  
  
"coverage_percentage": 100,
  
  
"scheduled_start": "2026-05-20T08:00:00Z",
  
  
"scheduled_end": "2026-05-20T18:00:00Z",
  
  
"created": "2026-05-15T10:00:00Z",
  
  
"created_by": "user/operator-01",
  
  
"started": "2026-05-20T08:05:00Z",
  
  
"completed": "2026-05-20T17:45:00Z",
  
  
"baseline_snapshot_key": "snap-001",
  
  
"post_count_snapshot_key": "snap-002",
  
  
"post_adjustment_snapshot_key": "snap-003",
  
  
"adjustment_list_key": "mvtlist-001",
  
  
"notes": "Verify all rows in zone A before zone B",
  
  
"extra": "string"
  
}
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.