Bridge between SoftServe Business Central & Next RFID Production Monitoring System. Manage bundle-wise details, SMV planning vs actual, and sync operations.
/token endpoint (password grant). Use Authorization: Bearer {token} for all RFID endpoints. Inserts bundle-wise production details into rfid_bundlewisedetails. Creates new record with IsSynced=0.
| Field | Type | Description |
|---|---|---|
| PONO | string | Purchase order number |
| Style | string | Garment style code |
| CutNo | string | Cut number |
| BundleNo | int | Bundle identifier |
| GarmentType | string | Top / Bottom etc. |
| Colour | string | Color code |
| Size | string | Size variant |
| Layer | string | Layer identifier |
| Marker | string | Marker code |
| Shade | string | Shade grade |
| BundleQty | int | Quantity in bundle |
| ItemNo | string | Item number |
| DeliveryDate | date | Expected delivery (YYYY-MM-DD) |
| TransactionDate | date | Transaction date |
| StickerFrom | int | Starting sticker range |
| StickerTo | int | Ending sticker range |
| LotNo | string | Lot number |
| OrderQty | string | Order quantity |
| DeliveryNo | string | Delivery number |
POST https://www.api-nextmfg.com/api/RFID/PostBundleData
Authorization: Bearer {access_token}
Content-Type: application/json
{
"PONO": "NMLW039546",
"Style": "NGH1007",
"CutNo": "8954",
"BundleNo": 304,
"GarmentType": "Top",
"Colour": "WHITE",
"Size": "3MTH",
"Layer": "B",
"Marker": "L",
"Shade": "A",
"BundleQty": 30,
"ItemNo": "12345",
"DeliveryDate": "2024-01-09",
"TransactionDate": "2023-12-21",
"StickerFrom": 51,
"StickerTo": 80,
"LotNo": "LOT-A",
"OrderQty": "500",
"DeliveryNo": "DN001"
}
"Data saved successfully!" Updates the IsSynced flag to 1 for a specific bundle record identified by RecID (primary key). Used after successful external sync.
| Parameter | Type | Description |
|---|---|---|
| recID | string (JSON string body) | Record ID (RecID) of bundle entry |
POST https://www.api-nextmfg.com/api/RFID/PostSynced
Authorization: Bearer {admin_token}
Content-Type: application/json
"RFID-BUNDLE-1024"
"Successfully marked as synced!"Store SMV (Standard Minute Value) planned vs actual for cutting, sewing, finishing, packing, etc.
| Field | Description |
|---|---|
| Style, Plant, Line, GarmentType | Production context |
| CuttingSMV_Plan, SewingSMV_Plan, ... | Planned SMV values (decimal) |
| CuttingSMV_Actual, SewingSMV_Actual, ... | Actual SMV recorded (decimal) |
POST /api/RFID/PostSMVData
{
"Style": "NGH1007",
"Plant": "PlantA",
"Line": "L2",
"GarmentType": "Top",
"CuttingSMV_Plan": 1.25,
"SewingSMV_Plan": 4.5,
"PackingSMV_Plan": 0.85,
"CuttingSMV_Actual": 1.3,
"SewingSMV_Actual": 4.45
// ... other SMV fields optional but accepted
}
"Data saved successfully!" Retrieves all bundle records where IsSynced = 0 (pending sync). Ideal for data synchronization jobs.
[
{
"RecID": "101",
"PONO": "PO123",
"Style": "STYLE-X",
"BundleNo": 42,
"GarmentType": "Shirt",
"BundleQty": 150,
"IsSynced": false,
...
}
]
Returns 404 NotFound if no pending bundle entries.
Returns all SMV records (planned & actual metrics) for analysis and reporting.
{ "Style":"NGH1007", "CuttingSMV_Plan":1.2, "SewingSMV_Actual":4.3, ... }
curl -X GET "https://www.api-nextmfg.com/api/RFID/GetAllSMVData" -H "Authorization: Bearer {token}"
POST /token (x-www-form-urlencoded)
Body: grant_type=password&username=user&password=pass
Returns access_token, expires_in, token_type=bearer.
POST /api/SecurityHash/ChangePassword (Bearer required)
Body: { "OldPassword": "...", "NewPassword": "...", "ConfirmPassword": "..." }
https://www.api-nextmfg.com
All endpoints relative to this base.