ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • API Tablette - Point d'entrée principal

      Cette API gère tous les scans de tablettes pour la production

      Endpoints disponibles:

      • /api/tablet/work-orders/scan - Scanner les ordres de fabrication
      • /api/tablet/work-stations/scan - Scanner les postes de travail
      • /api/tablet/equipment/scan - Scanner les équipements
      • /api/tablet/bom/scan - Scanner les nomenclatures
      • /api/tablet/materials/scan - Scanner les matières premières
      • /api/tablet/products/scan - Scanner les produits finis

      Returns Promise<
          | NextResponse<
              {
                  message: string;
                  version: string;
                  endpoints: {
                      workOrders: { url: string; method: string; description: string };
                      workStations: { url: string; method: string; description: string };
                      equipment: { url: string; method: string; description: string };
                      bom: { url: string; method: string; description: string };
                      materials: { url: string; method: string; description: string };
                      products: { url: string; method: string; description: string };
                      workCenters: { url: string; method: string; description: string };
                  };
                  usage: {
                      example: string;
                      body: { code: string; userId: string; metadata: string };
                  };
              },
          >
          | NextResponse<{ error: string; message: string }>,
      >