Skip to content

GET /inventory/count-assignment

Get Counting Assignment

GET
/inventory/count-assignment

Search counting assignments.

Queries InventoryCountAssignment records with filters for session key,
assignment type, product, position, assigned user, and status. Supports
sorting by product or position key.

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

inventory_count_session_key

Filter by parent session key.

Example"cnt-session-001"
assignment_type

Filter by counting dimension.

Example"position"
product_key

Filter to assignments targeting this product key.

Example"67890"
product_search

Wildcard search on product code.

Example"PROD-*"
position_key

Filter to assignments targeting this position key.

Example"12345"
position_search

Wildcard search on position code.

Example"LOCATION-A*"
assigned_to

Filter by the user key the assignment is assigned to.

Example"user/operator-01"
status

Filter by assignment status.

Example"planned"
order_by

Sort results by product_key or position_key.

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",
  
  
"inventory_count_session_key": "cnt-session-001",
  
  
"target_type": "position",
  
  
"target_key": "12345",
  
  
"assigned_to": "user/operator-01",
  
  
"status": "planned",
  
  
"created": "2026-05-15T10:00:00Z",
  
  
"created_by": "user/manager-01",
  
  
"started": "2026-05-20T08:10:00Z",
  
  
"completed": "2026-05-20T09:30:00Z",
  
  
"notes": "Double-check rack 3",
  
  
"extra": "string"
  
}
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.