ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              { success: boolean; format: any; parsed: any; segments: any },
          >
          | NextResponse<
              | {
                  format?: undefined;
                  valid: boolean;
                  errors: string[];
                  warnings: string[];
                  contentLength?: undefined;
              }
              | {
                  valid: boolean;
                  errors: string[];
                  warnings: string[];
                  format: string;
                  contentLength: number;
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  format: any;
                  type: any;
                  content: string;
                  readable: string;
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  ediMessage: {};
                  acknowledgment: { type: string; status: string; timestamp: string };
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  ediMessage: {};
                  content: string;
                  readable: string;
              },
          >
          | NextResponse<
              { success: boolean; message: string; partner: {}; note: string },
          >
          | NextResponse<{ success: boolean; echo: any; timestamp: string }>,
      >

      POST /api/edi/sandbox - Actions de test

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              { success: boolean; format: any; parsed: any; segments: any },
          >
          | NextResponse<
              | {
                  format?: undefined;
                  valid: boolean;
                  errors: string[];
                  warnings: string[];
                  contentLength?: undefined;
              }
              | {
                  valid: boolean;
                  errors: string[];
                  warnings: string[];
                  format: string;
                  contentLength: number;
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  format: any;
                  type: any;
                  content: string;
                  readable: string;
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  ediMessage: {};
                  acknowledgment: { type: string; status: string; timestamp: string };
              },
          >
          | NextResponse<
              {
                  success: boolean;
                  message: string;
                  ediMessage: {};
                  content: string;
                  readable: string;
              },
          >
          | NextResponse<
              { success: boolean; message: string; partner: {}; note: string },
          >
          | NextResponse<{ success: boolean; echo: any; timestamp: string }>,
      >