ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • GET /api/tablet/receptions Récupérer les réceptions pour la tablette

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<
              {
                  success: boolean;
                  data: {
                      id: any;
                      number: any;
                      receptionDate: any;
                      status: any;
                      totalItemsReceived: any;
                      qualityControlPassed: any;
                      notes: any;
                      createdAt: any;
                      updatedAt: any;
                      purchaseOrder: {
                          id: any;
                          number: any;
                          orderDate: any;
                          expectedDate: any;
                          status: any;
                          supplier: { id: any; name: any; code: any; phone: any; email: any };
                      };
                      lines: any;
                      stats: {
                          totalLines: any;
                          totalQuantity: any;
                          acceptedQuantity: any;
                          rejectedQuantity: any;
                      };
                  }[];
                  total: number;
                  count: number;
              },
          >
          | NextResponse<
              { success: boolean; error: string; message: string; details: string },
          >,
      >