ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ success: boolean; error: string }>
          | NextResponse<
              {
                  success: boolean;
                  workStation: {
                      id: string;
                      code: string;
                      name: string;
                      description: string
                      | null;
                      location: string | null;
                      capacity: number | null;
                      costPerHour: number | null;
                      status: string;
                      operator: { email: string; id: string; name: string | null } | null;
                      isActive: boolean;
                      createdAt: string;
                      updatedAt: string;
                  };
              },
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ success: boolean; error: string }>
          | NextResponse<
              {
                  success: boolean;
                  workStation: {
                      id: string;
                      code: string;
                      name: string;
                      description: string
                      | null;
                      location: string | null;
                      capacity: number | null;
                      costPerHour: number | null;
                      status: string;
                      operator: { email: string; id: string; name: string | null } | null;
                      isActive: boolean;
                      createdAt: string;
                      updatedAt: string;
                  };
              },
          >,
      >