kustomer-client
    Preparing search index...

    Function bulkCreateNotes

    • Bulk create notes Creates a bulk batch of notes.

      Any one of the following roles is required for this endpoint:

      Legacy Role Equivalent Permission Set Role
      org.user.note.write org.permission.note.create

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      completed: boolean;
                      context: string;
                      createdAt: string;
                      ids: unknown[];
                      payload: {
                          api: {
                              data: {
                                  body: string;
                                  conversation: string;
                                  userMentions: { team?: (...)
                                  | (...); user?: (...) | (...) }[];
                              }[];
                              method: string;
                              path: string;
                              requestId: string;
                              service: string;
                              user: {
                                  id: string;
                                  org: string;
                                  orgName: string;
                                  roles: string[];
                                  subject: string;
                                  userType: string;
                              };
                          };
                      };
                      status: string;
                      updatedAt: string;
                      v2: boolean;
                  };
                  id: string;
                  links: { self: string };
                  relationships: {
                      createdBy: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              };
          },
          unknown,
          ThrowOnError,
      >