The GrupoMAS Native Execution API (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodexaCP/DG_BACK/llms.txt
Use this file to discover all available pages before exploring further.
/api/integration/grupomas-native or /api/v1/integration/grupomas-native) is the real-time bridge between Dragon Guard handhelds and the GrupoMAS ERP. It is only accessible for tenants configured with IntegrationMode = GrupoMasNative. All endpoints authenticate via X-Api-Key. Read endpoints fetch live data from MAS; write (result-posting) endpoints report execution outcomes back to MAS and trigger outbound acknowledgments.
All endpoints on this page require
X-Api-Key authentication and the tenant must have IntegrationMode = GrupoMasNative. Requests from non-GrupoMAS tenants receive 409 Conflict. The X-Contract-Version request header is validated; unsupported versions return 400 Bad Request.GET /api/v1/integration/grupomas-native/released-receipts
Returns released receipt documents from GrupoMAS that are available for physical execution in the warehouse. Authentication:X-Api-Key: <api-key> (required).
Filter by specific receipt document number.
Filter by warehouse location code.
Page number. Defaults to
1.Page size. Defaults to
100.Whether the GrupoMAS call succeeded.
API contract version used.
Tenant company code.
Correlation ID for tracing.
List of released receipt documents from MAS.
GET /api/v1/integration/grupomas-native/released-shipments
Returns released shipment documents from GrupoMAS available for picking and shipping. Authentication:X-Api-Key: <api-key> (required).
Accepts the same query parameters as /released-receipts. Lines include sentQuantity and shippedQty for partial shipment tracking.
GET /api/v1/integration/grupomas-native/released-counts
Returns released inventory count tasks from GrupoMAS available for physical counting. Authentication:X-Api-Key: <api-key> (required).
Accepts the same query parameters as /released-receipts.
GET /api/v1/integration/grupomas-native/released-transfers
Returns released internal transfer tasks from GrupoMAS. Authentication:X-Api-Key: <api-key> (required).
Lines include sourceBinCode and targetBinCode for transfer operations.
GET /api/v1/integration/grupomas-native/items/lookup
Searches the GrupoMAS item catalog. Returns live item data including stock levels per bin. Authentication:X-Api-Key: <api-key> (required).
Free-text search across item number, description, barcode, and alternate code.
Exact or partial item number filter.
Filter results to a specific warehouse location.
Filter results to a specific bin.
Return only items with available stock.
Page. Defaults to
1.Page size. Defaults to
20, max 100.Total matching items in MAS.
Sum of available quantities (zero when no filter is active).
List of item lookup lines with stock per bin.
GET /api/v1/integration/grupomas-native/items//stock
Returns stock detail for a single item across all bins from GrupoMAS. Authentication:X-Api-Key: <api-key> (required).
Item number to look up.
Filter by location code.
Filter by bin code.
Return only bins with stock.
Item number.
Item description.
Display label for quantities.
Per-bin stock lines with
binCode, availableQuantity, and uom.| Status | Meaning |
|---|---|
| 400 | itemNo is missing or empty. |
| 404 | Item not found in GrupoMAS. |
GET /api/v1/integration/grupomas-native/bin-stock
Returns bin-level stock for a specific item from GrupoMAS.itemNo is required.
Authentication: X-Api-Key: <api-key> (required).
Item number.
Filter by location.
Filter by bin.
Only bins with stock.
| Status | Meaning |
|---|---|
| 400 | itemNo is missing or empty. |
GET /api/v1/integration/grupomas-native/locations
Returns the list of warehouse locations from GrupoMAS. Authentication:X-Api-Key: <api-key> (required).
List of location objects with
locationCode and locationDescription.POST /api/v1/integration/grupomas-native/receipt-results
Posts the physical execution result of a GrupoMAS receipt back to MAS. Dragon Guard logs the result and queues an outbound acknowledgment. Idempotent when the sameidempotencyKey is used — subsequent calls with the same key return the previously recorded result.
Authentication: X-Api-Key: <api-key> (required).
Unique event identifier for idempotency tracking.
Idempotency key to prevent duplicate postings.
Correlation ID linking this result to the original released document event.
MAS document number.
Must be
RECEIPT.Must be
POSTED.Warehouse location where the operation occurred.
Operator email for audit trail.
Operator identifier from the handheld.
Normalized device key of the scanning device.
When the operation started.
When the result was finalized. Must be ≥
startedAtUtc.Execution result lines. At least one line is required.
Whether the result was accepted.
Whether the result was queued for outbound delivery.
API contract version.
Tenant company code.
Correlation ID.
ID of the created outbound acknowledgment.
Delivery status (
QUEUED, NOT_CONFIGURED).Result summary with
externalDocumentNo, status, retryStatus, and attemptCount.| Status | Meaning |
|---|---|
| 400 | Missing required fields, invalid operationType, invalid status, invalid differenceReason, or postedAtUtc is before startedAtUtc. |
| 409 | Tenant is not configured for GrupoMASNative. |
| 501 | GrupoMAS adapter not configured for outbound delivery. |
| 502 | GrupoMAS remote returned an error. |
POST /api/v1/integration/grupomas-native/shipment-results
Posts the physical execution result of a GrupoMAS shipment back to MAS. Same structure asreceipt-results with operationType = SHIPMENT.
Authentication: X-Api-Key: <api-key> (required).
POST /api/v1/integration/grupomas-native/count-results
Posts the physical execution result of an inventory count task back to MAS. Same structure asreceipt-results with operationType = INVENTORY_COUNT.
Authentication: X-Api-Key: <api-key> (required).
POST /api/v1/integration/grupomas-native/transfer-results
Posts the execution result of an internal transfer task back to MAS. Same structure asreceipt-results with operationType = TRANSFER. Lines may include sourceBinCode and targetBinCode.
Authentication: X-Api-Key: <api-key> (required).