ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
          __namedParameters: { params: Promise<{ id: string }> },
      ): Promise<
          | NextResponse<{ success: boolean; error: string; message: string }>
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  data: {
                      maintenance: {
                          id: string;
                          type: string;
                          status: string;
                          performedAt: Date;
                          performer: { email: string; id: string; name: string | null }
                          | null;
                          description: string;
                          notes: string | null;
                          duration: number | null;
                          partsUsed: string | null;
                      };
                  };
              },
          >,
      >

      Parameters

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ success: boolean; error: string; message: string }>
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  data: {
                      maintenance: {
                          id: string;
                          type: string;
                          status: string;
                          performedAt: Date;
                          performer: { email: string; id: string; name: string | null }
                          | null;
                          description: string;
                          notes: string | null;
                          duration: number | null;
                          partsUsed: string | null;
                      };
                  };
              },
          >,
      >