Class ExternalContactsApi

java.lang.Object
com.mypurecloud.sdk.v2.api.ExternalContactsApi

public class ExternalContactsApi extends Object
  • Constructor Details

    • ExternalContactsApi

      public ExternalContactsApi()
    • ExternalContactsApi

      public ExternalContactsApi(ApiClient apiClient)
  • Method Details

    • deleteExternalcontactsContact

      public Empty deleteExternalcontactsContact(String contactId) throws IOException, ApiException
      Delete an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactWithHttpInfo

      public ApiResponse<Empty> deleteExternalcontactsContactWithHttpInfo(String contactId) throws IOException
      Delete an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      Empty
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsContact

      public Empty deleteExternalcontactsContact(DeleteExternalcontactsContactRequest request) throws IOException, ApiException
      Delete an external contact
      Parameters:
      request - The request object
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContact

      public ApiResponse<Empty> deleteExternalcontactsContact(ApiRequest<Void> request) throws IOException
      Delete an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactNote

      public Empty deleteExternalcontactsContactNote(String contactId, String noteId) throws IOException, ApiException
      Delete a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactNoteWithHttpInfo

      public ApiResponse<Empty> deleteExternalcontactsContactNoteWithHttpInfo(String contactId, String noteId) throws IOException
      Delete a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      Returns:
      Empty
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactNote

      public Empty deleteExternalcontactsContactNote(DeleteExternalcontactsContactNoteRequest request) throws IOException, ApiException
      Delete a note for an external contact
      Parameters:
      request - The request object
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactNote

      public ApiResponse<Empty> deleteExternalcontactsContactNote(ApiRequest<Void> request) throws IOException
      Delete a note for an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactsSchema

      public void deleteExternalcontactsContactsSchema(String schemaId) throws IOException, ApiException
      Delete a schema
      Parameters:
      schemaId - Schema ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactsSchemaWithHttpInfo

      public ApiResponse<Void> deleteExternalcontactsContactsSchemaWithHttpInfo(String schemaId) throws IOException
      Delete a schema
      Parameters:
      schemaId - Schema ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactsSchema

      public void deleteExternalcontactsContactsSchema(DeleteExternalcontactsContactsSchemaRequest request) throws IOException, ApiException
      Delete a schema
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsContactsSchema

      public ApiResponse<Void> deleteExternalcontactsContactsSchema(ApiRequest<Void> request) throws IOException
      Delete a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganization

      public Empty deleteExternalcontactsOrganization(String externalOrganizationId) throws IOException, ApiException
      Delete an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationWithHttpInfo

      public ApiResponse<Empty> deleteExternalcontactsOrganizationWithHttpInfo(String externalOrganizationId) throws IOException
      Delete an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      Returns:
      Empty
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganization

      public Empty deleteExternalcontactsOrganization(DeleteExternalcontactsOrganizationRequest request) throws IOException, ApiException
      Delete an external organization
      Parameters:
      request - The request object
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganization

      public ApiResponse<Empty> deleteExternalcontactsOrganization(ApiRequest<Void> request) throws IOException
      Delete an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationNote

      public Empty deleteExternalcontactsOrganizationNote(String externalOrganizationId, String noteId) throws IOException, ApiException
      Delete a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationNoteWithHttpInfo

      public ApiResponse<Empty> deleteExternalcontactsOrganizationNoteWithHttpInfo(String externalOrganizationId, String noteId) throws IOException
      Delete a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      Returns:
      Empty
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationNote

      public Empty deleteExternalcontactsOrganizationNote(DeleteExternalcontactsOrganizationNoteRequest request) throws IOException, ApiException
      Delete a note for an external organization
      Parameters:
      request - The request object
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationNote

      public ApiResponse<Empty> deleteExternalcontactsOrganizationNote(ApiRequest<Void> request) throws IOException
      Delete a note for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationTrustor

      public void deleteExternalcontactsOrganizationTrustor(String externalOrganizationId) throws IOException, ApiException
      Unlink the Trustor for this External Organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationTrustorWithHttpInfo

      public ApiResponse<Void> deleteExternalcontactsOrganizationTrustorWithHttpInfo(String externalOrganizationId) throws IOException
      Unlink the Trustor for this External Organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationTrustor

      public void deleteExternalcontactsOrganizationTrustor(DeleteExternalcontactsOrganizationTrustorRequest request) throws IOException, ApiException
      Unlink the Trustor for this External Organization
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsOrganizationTrustor

      public ApiResponse<Void> deleteExternalcontactsOrganizationTrustor(ApiRequest<Void> request) throws IOException
      Unlink the Trustor for this External Organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsRelationship

      public Empty deleteExternalcontactsRelationship(String relationshipId) throws IOException, ApiException
      Delete a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsRelationshipWithHttpInfo

      public ApiResponse<Empty> deleteExternalcontactsRelationshipWithHttpInfo(String relationshipId) throws IOException
      Delete a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      Returns:
      Empty
      Throws:
      IOException - if the request fails to be processed
    • deleteExternalcontactsRelationship

      public Empty deleteExternalcontactsRelationship(DeleteExternalcontactsRelationshipRequest request) throws IOException, ApiException
      Delete a relationship
      Parameters:
      request - The request object
      Returns:
      Empty
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteExternalcontactsRelationship

      public ApiResponse<Empty> deleteExternalcontactsRelationship(ApiRequest<Void> request) throws IOException
      Delete a relationship
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContact

      public ExternalContact getExternalcontactsContact(String contactId, List<String> expand) throws IOException, ApiException
      Fetch an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      expand - which fields, if any, to expand (externalOrganization,externalDataSources) (optional)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactWithHttpInfo

      public ApiResponse<ExternalContact> getExternalcontactsContactWithHttpInfo(String contactId, List<String> expand) throws IOException
      Fetch an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      expand - which fields, if any, to expand (externalOrganization,externalDataSources) (optional)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContact

      public ExternalContact getExternalcontactsContact(GetExternalcontactsContactRequest request) throws IOException, ApiException
      Fetch an external contact
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContact

      public ApiResponse<ExternalContact> getExternalcontactsContact(ApiRequest<Void> request) throws IOException
      Fetch an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactIdentifiers

      public EntityListing getExternalcontactsContactIdentifiers(String contactId) throws IOException, ApiException
      List the identifiers for a contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      EntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactIdentifiersWithHttpInfo

      public ApiResponse<EntityListing> getExternalcontactsContactIdentifiersWithHttpInfo(String contactId) throws IOException
      List the identifiers for a contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      EntityListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactIdentifiers

      public EntityListing getExternalcontactsContactIdentifiers(GetExternalcontactsContactIdentifiersRequest request) throws IOException, ApiException
      List the identifiers for a contact
      Parameters:
      request - The request object
      Returns:
      EntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactIdentifiers

      public ApiResponse<EntityListing> getExternalcontactsContactIdentifiers(ApiRequest<Void> request) throws IOException
      List the identifiers for a contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public SessionListing getExternalcontactsContactJourneySessions(String contactId, String pageSize, String after, Boolean includeMerged) throws IOException, ApiException
      Retrieve all sessions for a given external contact.
      Parameters:
      contactId - ExternalContact ID (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      includeMerged - Indicates whether to return sessions from all external contacts in the merge-set of the given one. (optional)
      Returns:
      SessionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessionsWithHttpInfo

      public ApiResponse<SessionListing> getExternalcontactsContactJourneySessionsWithHttpInfo(String contactId, String pageSize, String after, Boolean includeMerged) throws IOException
      Retrieve all sessions for a given external contact.
      Parameters:
      contactId - ExternalContact ID (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      includeMerged - Indicates whether to return sessions from all external contacts in the merge-set of the given one. (optional)
      Returns:
      SessionListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public SessionListing getExternalcontactsContactJourneySessions(GetExternalcontactsContactJourneySessionsRequest request) throws IOException, ApiException
      Retrieve all sessions for a given external contact.
      Parameters:
      request - The request object
      Returns:
      SessionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public ApiResponse<SessionListing> getExternalcontactsContactJourneySessions(ApiRequest<Void> request) throws IOException
      Retrieve all sessions for a given external contact.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactNote

      public Note getExternalcontactsContactNote(String contactId, String noteId, List<String> expand) throws IOException, ApiException
      Fetch a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactNoteWithHttpInfo

      public ApiResponse<Note> getExternalcontactsContactNoteWithHttpInfo(String contactId, String noteId, List<String> expand) throws IOException
      Fetch a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactNote

      public Note getExternalcontactsContactNote(GetExternalcontactsContactNoteRequest request) throws IOException, ApiException
      Fetch a note for an external contact
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactNote

      public ApiResponse<Note> getExternalcontactsContactNote(ApiRequest<Void> request) throws IOException
      Fetch a note for an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactNotes

      public NoteListing getExternalcontactsContactNotes(String contactId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException, ApiException
      List notes for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      sortOrder - The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"createDate:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      NoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactNotesWithHttpInfo

      public ApiResponse<NoteListing> getExternalcontactsContactNotesWithHttpInfo(String contactId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException
      List notes for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      sortOrder - The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"createDate:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      NoteListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactNotes

      public NoteListing getExternalcontactsContactNotes(GetExternalcontactsContactNotesRequest request) throws IOException, ApiException
      List notes for an external contact
      Parameters:
      request - The request object
      Returns:
      NoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactNotes

      public ApiResponse<NoteListing> getExternalcontactsContactNotes(ApiRequest<Void> request) throws IOException
      List notes for an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactUnresolved

      public ExternalContact getExternalcontactsContactUnresolved(String contactId, List<String> expand) throws IOException, ApiException
      Fetch an unresolved external contact
      Parameters:
      contactId - ExternalContact ID (required)
      expand - which fields, if any, to expand (externalOrganization,externalDataSources) (optional)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactUnresolvedWithHttpInfo

      public ApiResponse<ExternalContact> getExternalcontactsContactUnresolvedWithHttpInfo(String contactId, List<String> expand) throws IOException
      Fetch an unresolved external contact
      Parameters:
      contactId - ExternalContact ID (required)
      expand - which fields, if any, to expand (externalOrganization,externalDataSources) (optional)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactUnresolved

      public ExternalContact getExternalcontactsContactUnresolved(GetExternalcontactsContactUnresolvedRequest request) throws IOException, ApiException
      Fetch an unresolved external contact
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactUnresolved

      public ApiResponse<ExternalContact> getExternalcontactsContactUnresolved(ApiRequest<Void> request) throws IOException
      Fetch an unresolved external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContacts

      public ContactListing getExternalcontactsContacts(Integer pageSize, Integer pageNumber, String q, String sortOrder, List<String> expand) throws IOException, ApiException
      Search for external contacts
      Parameters:
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - User supplied search keywords (no special syntax is currently supported) (optional)
      sortOrder - The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      ContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsWithHttpInfo

      public ApiResponse<ContactListing> getExternalcontactsContactsWithHttpInfo(Integer pageSize, Integer pageNumber, String q, String sortOrder, List<String> expand) throws IOException
      Search for external contacts
      Parameters:
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - User supplied search keywords (no special syntax is currently supported) (optional)
      sortOrder - The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      ContactListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContacts

      public ContactListing getExternalcontactsContacts(GetExternalcontactsContactsRequest request) throws IOException, ApiException
      Search for external contacts
      Parameters:
      request - The request object
      Returns:
      ContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContacts

      public ApiResponse<ContactListing> getExternalcontactsContacts(ApiRequest<Void> request) throws IOException
      Search for external contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchema

      public DataSchema getExternalcontactsContactsSchema(String schemaId) throws IOException, ApiException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsContactsSchemaWithHttpInfo(String schemaId) throws IOException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchema

      public DataSchema getExternalcontactsContactsSchema(GetExternalcontactsContactsSchemaRequest request) throws IOException, ApiException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchema

      public ApiResponse<DataSchema> getExternalcontactsContactsSchema(ApiRequest<Void> request) throws IOException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersion

      public DataSchema getExternalcontactsContactsSchemaVersion(String schemaId, String versionId) throws IOException, ApiException
      Get a specific version of a schema
      Parameters:
      schemaId - Schema ID (required)
      versionId - Schema version (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersionWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsContactsSchemaVersionWithHttpInfo(String schemaId, String versionId) throws IOException
      Get a specific version of a schema
      Parameters:
      schemaId - Schema ID (required)
      versionId - Schema version (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersion

      public DataSchema getExternalcontactsContactsSchemaVersion(GetExternalcontactsContactsSchemaVersionRequest request) throws IOException, ApiException
      Get a specific version of a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersion

      public ApiResponse<DataSchema> getExternalcontactsContactsSchemaVersion(ApiRequest<Void> request) throws IOException
      Get a specific version of a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersions

      public DataSchema getExternalcontactsContactsSchemaVersions(String schemaId) throws IOException, ApiException
      Get all versions of an external contact's schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersionsWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsContactsSchemaVersionsWithHttpInfo(String schemaId) throws IOException
      Get all versions of an external contact's schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersions

      public DataSchema getExternalcontactsContactsSchemaVersions(GetExternalcontactsContactsSchemaVersionsRequest request) throws IOException, ApiException
      Get all versions of an external contact's schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemaVersions

      public ApiResponse<DataSchema> getExternalcontactsContactsSchemaVersions(ApiRequest<Void> request) throws IOException
      Get all versions of an external contact's schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemas

      public DataSchemaListing getExternalcontactsContactsSchemas() throws IOException, ApiException
      Get a list of schemas.
      Returns:
      DataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemasWithHttpInfo

      public ApiResponse<DataSchemaListing> getExternalcontactsContactsSchemasWithHttpInfo() throws IOException
      Get a list of schemas.
      Returns:
      DataSchemaListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemas

      public DataSchemaListing getExternalcontactsContactsSchemas(GetExternalcontactsContactsSchemasRequest request) throws IOException, ApiException
      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      DataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactsSchemas

      public ApiResponse<DataSchemaListing> getExternalcontactsContactsSchemas(ApiRequest<Void> request) throws IOException
      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganization

      public ExternalOrganization getExternalcontactsOrganization(String externalOrganizationId, String expand, Boolean includeTrustors) throws IOException, ApiException
      Fetch an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      expand - which fields, if any, to expand (externalDataSources) (optional)
      includeTrustors - (true or false) whether or not to include trustor information embedded in the externalOrganization (optional)
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationWithHttpInfo

      public ApiResponse<ExternalOrganization> getExternalcontactsOrganizationWithHttpInfo(String externalOrganizationId, String expand, Boolean includeTrustors) throws IOException
      Fetch an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      expand - which fields, if any, to expand (externalDataSources) (optional)
      includeTrustors - (true or false) whether or not to include trustor information embedded in the externalOrganization (optional)
      Returns:
      ExternalOrganization
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganization

      public ExternalOrganization getExternalcontactsOrganization(GetExternalcontactsOrganizationRequest request) throws IOException, ApiException
      Fetch an external organization
      Parameters:
      request - The request object
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganization

      public ApiResponse<ExternalOrganization> getExternalcontactsOrganization(ApiRequest<Void> request) throws IOException
      Fetch an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationContacts

      public ContactListing getExternalcontactsOrganizationContacts(String externalOrganizationId, Integer pageSize, Integer pageNumber, String q, String sortOrder, List<String> expand) throws IOException, ApiException
      Search for external contacts in an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - User supplied search keywords (no special syntax is currently supported) (optional)
      sortOrder - The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      ContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationContactsWithHttpInfo

      public ApiResponse<ContactListing> getExternalcontactsOrganizationContactsWithHttpInfo(String externalOrganizationId, Integer pageSize, Integer pageNumber, String q, String sortOrder, List<String> expand) throws IOException
      Search for external contacts in an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - User supplied search keywords (no special syntax is currently supported) (optional)
      sortOrder - The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      ContactListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationContacts

      public ContactListing getExternalcontactsOrganizationContacts(GetExternalcontactsOrganizationContactsRequest request) throws IOException, ApiException
      Search for external contacts in an external organization
      Parameters:
      request - The request object
      Returns:
      ContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationContacts

      public ApiResponse<ContactListing> getExternalcontactsOrganizationContacts(ApiRequest<Void> request) throws IOException
      Search for external contacts in an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNote

      public Note getExternalcontactsOrganizationNote(String externalOrganizationId, String noteId, List<String> expand) throws IOException, ApiException
      Fetch a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNoteWithHttpInfo

      public ApiResponse<Note> getExternalcontactsOrganizationNoteWithHttpInfo(String externalOrganizationId, String noteId, List<String> expand) throws IOException
      Fetch a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNote

      public Note getExternalcontactsOrganizationNote(GetExternalcontactsOrganizationNoteRequest request) throws IOException, ApiException
      Fetch a note for an external organization
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNote

      public ApiResponse<Note> getExternalcontactsOrganizationNote(ApiRequest<Void> request) throws IOException
      Fetch a note for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNotes

      public NoteListing getExternalcontactsOrganizationNotes(String externalOrganizationId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException, ApiException
      List notes for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      sortOrder - The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"createDate:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      NoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNotesWithHttpInfo

      public ApiResponse<NoteListing> getExternalcontactsOrganizationNotesWithHttpInfo(String externalOrganizationId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException
      List notes for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      sortOrder - The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"createDate:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      Returns:
      NoteListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNotes

      public NoteListing getExternalcontactsOrganizationNotes(GetExternalcontactsOrganizationNotesRequest request) throws IOException, ApiException
      List notes for an external organization
      Parameters:
      request - The request object
      Returns:
      NoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationNotes

      public ApiResponse<NoteListing> getExternalcontactsOrganizationNotes(ApiRequest<Void> request) throws IOException
      List notes for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationRelationships

      public RelationshipListing getExternalcontactsOrganizationRelationships(String externalOrganizationId, Integer pageSize, Integer pageNumber, String expand, String sortOrder) throws IOException, ApiException
      Fetch a relationship for an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      expand - which fields, if any, to expand (optional)
      sortOrder - The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"relationship:desc\" (optional)
      Returns:
      RelationshipListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationRelationshipsWithHttpInfo

      public ApiResponse<RelationshipListing> getExternalcontactsOrganizationRelationshipsWithHttpInfo(String externalOrganizationId, Integer pageSize, Integer pageNumber, String expand, String sortOrder) throws IOException
      Fetch a relationship for an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      expand - which fields, if any, to expand (optional)
      sortOrder - The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. \"createDate:asc\", \"relationship:desc\" (optional)
      Returns:
      RelationshipListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationRelationships

      public RelationshipListing getExternalcontactsOrganizationRelationships(GetExternalcontactsOrganizationRelationshipsRequest request) throws IOException, ApiException
      Fetch a relationship for an external organization
      Parameters:
      request - The request object
      Returns:
      RelationshipListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationRelationships

      public ApiResponse<RelationshipListing> getExternalcontactsOrganizationRelationships(ApiRequest<Void> request) throws IOException
      Fetch a relationship for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizations

      public ExternalOrganizationListing getExternalcontactsOrganizations(Integer pageSize, Integer pageNumber, String q, List<String> trustorId, String sortOrder, List<String> expand, Boolean includeTrustors) throws IOException, ApiException
      Search for external organizations
      Parameters:
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - Search query (optional)
      trustorId - Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested (optional)
      sortOrder - The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. \"companyType:asc\", \"industry:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      includeTrustors - (true or false) whether or not to include trustor information embedded in the externalOrganization (optional)
      Returns:
      ExternalOrganizationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsWithHttpInfo

      public ApiResponse<ExternalOrganizationListing> getExternalcontactsOrganizationsWithHttpInfo(Integer pageSize, Integer pageNumber, String q, List<String> trustorId, String sortOrder, List<String> expand, Boolean includeTrustors) throws IOException
      Search for external organizations
      Parameters:
      pageSize - Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 20)
      pageNumber - Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (optional, default to 1)
      q - Search query (optional)
      trustorId - Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested (optional)
      sortOrder - The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. \"companyType:asc\", \"industry:desc\" (optional)
      expand - which fields, if any, to expand (optional)
      includeTrustors - (true or false) whether or not to include trustor information embedded in the externalOrganization (optional)
      Returns:
      ExternalOrganizationListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizations

      public ExternalOrganizationListing getExternalcontactsOrganizations(GetExternalcontactsOrganizationsRequest request) throws IOException, ApiException
      Search for external organizations
      Parameters:
      request - The request object
      Returns:
      ExternalOrganizationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizations

      public ApiResponse<ExternalOrganizationListing> getExternalcontactsOrganizations(ApiRequest<Void> request) throws IOException
      Search for external organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchema

      public DataSchema getExternalcontactsOrganizationsSchema(String schemaId) throws IOException, ApiException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchemaWithHttpInfo(String schemaId) throws IOException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchema

      public DataSchema getExternalcontactsOrganizationsSchema(GetExternalcontactsOrganizationsSchemaRequest request) throws IOException, ApiException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchema

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchema(ApiRequest<Void> request) throws IOException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersion

      public DataSchema getExternalcontactsOrganizationsSchemaVersion(String schemaId, String versionId) throws IOException, ApiException
      Get a specific version of a schema
      Parameters:
      schemaId - Schema ID (required)
      versionId - Schema version (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersionWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchemaVersionWithHttpInfo(String schemaId, String versionId) throws IOException
      Get a specific version of a schema
      Parameters:
      schemaId - Schema ID (required)
      versionId - Schema version (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersion

      public DataSchema getExternalcontactsOrganizationsSchemaVersion(GetExternalcontactsOrganizationsSchemaVersionRequest request) throws IOException, ApiException
      Get a specific version of a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersion

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchemaVersion(ApiRequest<Void> request) throws IOException
      Get a specific version of a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersions

      public DataSchema getExternalcontactsOrganizationsSchemaVersions(String schemaId) throws IOException, ApiException
      Get all versions of an external organization's schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersionsWithHttpInfo

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchemaVersionsWithHttpInfo(String schemaId) throws IOException
      Get all versions of an external organization's schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersions

      public DataSchema getExternalcontactsOrganizationsSchemaVersions(GetExternalcontactsOrganizationsSchemaVersionsRequest request) throws IOException, ApiException
      Get all versions of an external organization's schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemaVersions

      public ApiResponse<DataSchema> getExternalcontactsOrganizationsSchemaVersions(ApiRequest<Void> request) throws IOException
      Get all versions of an external organization's schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemas

      public DataSchemaListing getExternalcontactsOrganizationsSchemas() throws IOException, ApiException
      Get a list of schemas.
      Returns:
      DataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemasWithHttpInfo

      public ApiResponse<DataSchemaListing> getExternalcontactsOrganizationsSchemasWithHttpInfo() throws IOException
      Get a list of schemas.
      Returns:
      DataSchemaListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemas

      public DataSchemaListing getExternalcontactsOrganizationsSchemas(GetExternalcontactsOrganizationsSchemasRequest request) throws IOException, ApiException
      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      DataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsOrganizationsSchemas

      public ApiResponse<DataSchemaListing> getExternalcontactsOrganizationsSchemas(ApiRequest<Void> request) throws IOException
      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsRelationship

      public Relationship getExternalcontactsRelationship(String relationshipId, String expand) throws IOException, ApiException
      Fetch a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsRelationshipWithHttpInfo

      public ApiResponse<Relationship> getExternalcontactsRelationshipWithHttpInfo(String relationshipId, String expand) throws IOException
      Fetch a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      expand - which fields, if any, to expand (optional)
      Returns:
      Relationship
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsRelationship

      public Relationship getExternalcontactsRelationship(GetExternalcontactsRelationshipRequest request) throws IOException, ApiException
      Fetch a relationship
      Parameters:
      request - The request object
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsRelationship

      public ApiResponse<Relationship> getExternalcontactsRelationship(ApiRequest<Void> request) throws IOException
      Fetch a relationship
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsReversewhitepageslookup

      public ReverseWhitepagesLookupResult getExternalcontactsReversewhitepageslookup(String lookupVal, List<String> expand) throws IOException, ApiException
      Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
      Parameters:
      lookupVal - User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names) (required)
      expand - which field, if any, to expand (optional)
      Returns:
      ReverseWhitepagesLookupResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsReversewhitepageslookupWithHttpInfo

      public ApiResponse<ReverseWhitepagesLookupResult> getExternalcontactsReversewhitepageslookupWithHttpInfo(String lookupVal, List<String> expand) throws IOException
      Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
      Parameters:
      lookupVal - User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names) (required)
      expand - which field, if any, to expand (optional)
      Returns:
      ReverseWhitepagesLookupResult
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsReversewhitepageslookup

      public ReverseWhitepagesLookupResult getExternalcontactsReversewhitepageslookup(GetExternalcontactsReversewhitepageslookupRequest request) throws IOException, ApiException
      Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
      Parameters:
      request - The request object
      Returns:
      ReverseWhitepagesLookupResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsReversewhitepageslookup

      public ApiResponse<ReverseWhitepagesLookupResult> getExternalcontactsReversewhitepageslookup(ApiRequest<Void> request) throws IOException
      Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanContacts

      public CursorContactListing getExternalcontactsScanContacts(Integer limit, String cursor) throws IOException, ApiException
      Scan for external contacts using paging
      Parameters:
      limit - The number of contacts per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanContactsWithHttpInfo

      public ApiResponse<CursorContactListing> getExternalcontactsScanContactsWithHttpInfo(Integer limit, String cursor) throws IOException
      Scan for external contacts using paging
      Parameters:
      limit - The number of contacts per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorContactListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanContacts

      public CursorContactListing getExternalcontactsScanContacts(GetExternalcontactsScanContactsRequest request) throws IOException, ApiException
      Scan for external contacts using paging
      Parameters:
      request - The request object
      Returns:
      CursorContactListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanContacts

      public ApiResponse<CursorContactListing> getExternalcontactsScanContacts(ApiRequest<Void> request) throws IOException
      Scan for external contacts using paging
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanNotes

      public CursorNoteListing getExternalcontactsScanNotes(Integer limit, String cursor) throws IOException, ApiException
      Scan for notes using paging
      Parameters:
      limit - The number of notes per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorNoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanNotesWithHttpInfo

      public ApiResponse<CursorNoteListing> getExternalcontactsScanNotesWithHttpInfo(Integer limit, String cursor) throws IOException
      Scan for notes using paging
      Parameters:
      limit - The number of notes per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorNoteListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanNotes

      public CursorNoteListing getExternalcontactsScanNotes(GetExternalcontactsScanNotesRequest request) throws IOException, ApiException
      Scan for notes using paging
      Parameters:
      request - The request object
      Returns:
      CursorNoteListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanNotes

      public ApiResponse<CursorNoteListing> getExternalcontactsScanNotes(ApiRequest<Void> request) throws IOException
      Scan for notes using paging
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanOrganizations

      public CursorOrganizationListing getExternalcontactsScanOrganizations(Integer limit, String cursor) throws IOException, ApiException
      Scan for external organizations using paging
      Parameters:
      limit - The number of organizations per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorOrganizationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanOrganizationsWithHttpInfo

      public ApiResponse<CursorOrganizationListing> getExternalcontactsScanOrganizationsWithHttpInfo(Integer limit, String cursor) throws IOException
      Scan for external organizations using paging
      Parameters:
      limit - The number of organizations per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorOrganizationListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanOrganizations

      public CursorOrganizationListing getExternalcontactsScanOrganizations(GetExternalcontactsScanOrganizationsRequest request) throws IOException, ApiException
      Scan for external organizations using paging
      Parameters:
      request - The request object
      Returns:
      CursorOrganizationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanOrganizations

      public ApiResponse<CursorOrganizationListing> getExternalcontactsScanOrganizations(ApiRequest<Void> request) throws IOException
      Scan for external organizations using paging
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanRelationships

      public CursorRelationshipListing getExternalcontactsScanRelationships(Integer limit, String cursor) throws IOException, ApiException
      Scan for relationships
      Parameters:
      limit - The number of relationships per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorRelationshipListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanRelationshipsWithHttpInfo

      public ApiResponse<CursorRelationshipListing> getExternalcontactsScanRelationshipsWithHttpInfo(Integer limit, String cursor) throws IOException
      Scan for relationships
      Parameters:
      limit - The number of relationships per page; must be between 10 and 200, default is 100 (optional)
      cursor - Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional)
      Returns:
      CursorRelationshipListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsScanRelationships

      public CursorRelationshipListing getExternalcontactsScanRelationships(GetExternalcontactsScanRelationshipsRequest request) throws IOException, ApiException
      Scan for relationships
      Parameters:
      request - The request object
      Returns:
      CursorRelationshipListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsScanRelationships

      public ApiResponse<CursorRelationshipListing> getExternalcontactsScanRelationships(ApiRequest<Void> request) throws IOException
      Scan for relationships
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchExternalcontactsContactIdentifiers

      public ContactIdentifier patchExternalcontactsContactIdentifiers(String contactId, IdentifierClaimRequest body) throws IOException, ApiException
      Claim or release identifiers for a contact
      Parameters:
      contactId - ExternalContact ID (required)
      body - ClaimRequest (required)
      Returns:
      ContactIdentifier
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchExternalcontactsContactIdentifiersWithHttpInfo

      public ApiResponse<ContactIdentifier> patchExternalcontactsContactIdentifiersWithHttpInfo(String contactId, IdentifierClaimRequest body) throws IOException
      Claim or release identifiers for a contact
      Parameters:
      contactId - ExternalContact ID (required)
      body - ClaimRequest (required)
      Returns:
      ContactIdentifier
      Throws:
      IOException - if the request fails to be processed
    • patchExternalcontactsContactIdentifiers

      public ContactIdentifier patchExternalcontactsContactIdentifiers(PatchExternalcontactsContactIdentifiersRequest request) throws IOException, ApiException
      Claim or release identifiers for a contact
      Parameters:
      request - The request object
      Returns:
      ContactIdentifier
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchExternalcontactsContactIdentifiers

      public ApiResponse<ContactIdentifier> patchExternalcontactsContactIdentifiers(ApiRequest<IdentifierClaimRequest> request) throws IOException
      Claim or release identifiers for a contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContacts

      public BulkFetchContactsResponse postExternalcontactsBulkContacts(BulkIdsRequest body) throws IOException, ApiException
      Bulk fetch contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkFetchContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsWithHttpInfo

      public ApiResponse<BulkFetchContactsResponse> postExternalcontactsBulkContactsWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk fetch contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkFetchContactsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContacts

      public BulkFetchContactsResponse postExternalcontactsBulkContacts(PostExternalcontactsBulkContactsRequest request) throws IOException, ApiException
      Bulk fetch contacts
      Parameters:
      request - The request object
      Returns:
      BulkFetchContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContacts

      public ApiResponse<BulkFetchContactsResponse> postExternalcontactsBulkContacts(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk fetch contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsAdd

      public BulkContactsResponse postExternalcontactsBulkContactsAdd(BulkContactsRequest body) throws IOException, ApiException
      Bulk add contacts
      Parameters:
      body - Contacts (required)
      Returns:
      BulkContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsAddWithHttpInfo

      public ApiResponse<BulkContactsResponse> postExternalcontactsBulkContactsAddWithHttpInfo(BulkContactsRequest body) throws IOException
      Bulk add contacts
      Parameters:
      body - Contacts (required)
      Returns:
      BulkContactsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsAdd

      public BulkContactsResponse postExternalcontactsBulkContactsAdd(PostExternalcontactsBulkContactsAddRequest request) throws IOException, ApiException
      Bulk add contacts
      Parameters:
      request - The request object
      Returns:
      BulkContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsAdd

      public ApiResponse<BulkContactsResponse> postExternalcontactsBulkContactsAdd(ApiRequest<BulkContactsRequest> request) throws IOException
      Bulk add contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsRemove

      public BulkDeleteResponse postExternalcontactsBulkContactsRemove(BulkIdsRequest body) throws IOException, ApiException
      Bulk remove contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsRemoveWithHttpInfo

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkContactsRemoveWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk remove contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsRemove

      public BulkDeleteResponse postExternalcontactsBulkContactsRemove(PostExternalcontactsBulkContactsRemoveRequest request) throws IOException, ApiException
      Bulk remove contacts
      Parameters:
      request - The request object
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsRemove

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkContactsRemove(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk remove contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUnresolved

      public BulkFetchContactsResponse postExternalcontactsBulkContactsUnresolved(BulkIdsRequest body) throws IOException, ApiException
      Bulk fetch unresolved ancestor contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkFetchContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUnresolvedWithHttpInfo

      public ApiResponse<BulkFetchContactsResponse> postExternalcontactsBulkContactsUnresolvedWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk fetch unresolved ancestor contacts
      Parameters:
      body - Contact ids (required)
      Returns:
      BulkFetchContactsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUnresolved

      public BulkFetchContactsResponse postExternalcontactsBulkContactsUnresolved(PostExternalcontactsBulkContactsUnresolvedRequest request) throws IOException, ApiException
      Bulk fetch unresolved ancestor contacts
      Parameters:
      request - The request object
      Returns:
      BulkFetchContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUnresolved

      public ApiResponse<BulkFetchContactsResponse> postExternalcontactsBulkContactsUnresolved(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk fetch unresolved ancestor contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUpdate

      public BulkContactsResponse postExternalcontactsBulkContactsUpdate(BulkContactsRequest body) throws IOException, ApiException
      Bulk update contacts
      Parameters:
      body - Contacts (required)
      Returns:
      BulkContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUpdateWithHttpInfo

      public ApiResponse<BulkContactsResponse> postExternalcontactsBulkContactsUpdateWithHttpInfo(BulkContactsRequest body) throws IOException
      Bulk update contacts
      Parameters:
      body - Contacts (required)
      Returns:
      BulkContactsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUpdate

      public BulkContactsResponse postExternalcontactsBulkContactsUpdate(PostExternalcontactsBulkContactsUpdateRequest request) throws IOException, ApiException
      Bulk update contacts
      Parameters:
      request - The request object
      Returns:
      BulkContactsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkContactsUpdate

      public ApiResponse<BulkContactsResponse> postExternalcontactsBulkContactsUpdate(ApiRequest<BulkContactsRequest> request) throws IOException
      Bulk update contacts
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotes

      public BulkFetchNotesResponse postExternalcontactsBulkNotes(BulkIdsRequest body) throws IOException, ApiException
      Bulk fetch notes
      Parameters:
      body - Note ids (required)
      Returns:
      BulkFetchNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesWithHttpInfo

      public ApiResponse<BulkFetchNotesResponse> postExternalcontactsBulkNotesWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk fetch notes
      Parameters:
      body - Note ids (required)
      Returns:
      BulkFetchNotesResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotes

      public BulkFetchNotesResponse postExternalcontactsBulkNotes(PostExternalcontactsBulkNotesRequest request) throws IOException, ApiException
      Bulk fetch notes
      Parameters:
      request - The request object
      Returns:
      BulkFetchNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotes

      public ApiResponse<BulkFetchNotesResponse> postExternalcontactsBulkNotes(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk fetch notes
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesAdd

      public BulkNotesResponse postExternalcontactsBulkNotesAdd(BulkNotesRequest body) throws IOException, ApiException
      Bulk add notes
      Parameters:
      body - Notes (required)
      Returns:
      BulkNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesAddWithHttpInfo

      public ApiResponse<BulkNotesResponse> postExternalcontactsBulkNotesAddWithHttpInfo(BulkNotesRequest body) throws IOException
      Bulk add notes
      Parameters:
      body - Notes (required)
      Returns:
      BulkNotesResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesAdd

      public BulkNotesResponse postExternalcontactsBulkNotesAdd(PostExternalcontactsBulkNotesAddRequest request) throws IOException, ApiException
      Bulk add notes
      Parameters:
      request - The request object
      Returns:
      BulkNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesAdd

      public ApiResponse<BulkNotesResponse> postExternalcontactsBulkNotesAdd(ApiRequest<BulkNotesRequest> request) throws IOException
      Bulk add notes
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesRemove

      public BulkDeleteResponse postExternalcontactsBulkNotesRemove(BulkIdsRequest body) throws IOException, ApiException
      Bulk remove notes
      Parameters:
      body - Note ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesRemoveWithHttpInfo

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkNotesRemoveWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk remove notes
      Parameters:
      body - Note ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesRemove

      public BulkDeleteResponse postExternalcontactsBulkNotesRemove(PostExternalcontactsBulkNotesRemoveRequest request) throws IOException, ApiException
      Bulk remove notes
      Parameters:
      request - The request object
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesRemove

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkNotesRemove(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk remove notes
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesUpdate

      public BulkNotesResponse postExternalcontactsBulkNotesUpdate(BulkNotesRequest body) throws IOException, ApiException
      Bulk update notes
      Parameters:
      body - Notes (required)
      Returns:
      BulkNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesUpdateWithHttpInfo

      public ApiResponse<BulkNotesResponse> postExternalcontactsBulkNotesUpdateWithHttpInfo(BulkNotesRequest body) throws IOException
      Bulk update notes
      Parameters:
      body - Notes (required)
      Returns:
      BulkNotesResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesUpdate

      public BulkNotesResponse postExternalcontactsBulkNotesUpdate(PostExternalcontactsBulkNotesUpdateRequest request) throws IOException, ApiException
      Bulk update notes
      Parameters:
      request - The request object
      Returns:
      BulkNotesResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkNotesUpdate

      public ApiResponse<BulkNotesResponse> postExternalcontactsBulkNotesUpdate(ApiRequest<BulkNotesRequest> request) throws IOException
      Bulk update notes
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizations

      public BulkFetchOrganizationsResponse postExternalcontactsBulkOrganizations(BulkIdsRequest body) throws IOException, ApiException
      Bulk fetch organizations
      Parameters:
      body - Organizations ids (required)
      Returns:
      BulkFetchOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsWithHttpInfo

      public ApiResponse<BulkFetchOrganizationsResponse> postExternalcontactsBulkOrganizationsWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk fetch organizations
      Parameters:
      body - Organizations ids (required)
      Returns:
      BulkFetchOrganizationsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizations

      public BulkFetchOrganizationsResponse postExternalcontactsBulkOrganizations(PostExternalcontactsBulkOrganizationsRequest request) throws IOException, ApiException
      Bulk fetch organizations
      Parameters:
      request - The request object
      Returns:
      BulkFetchOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizations

      public ApiResponse<BulkFetchOrganizationsResponse> postExternalcontactsBulkOrganizations(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk fetch organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsAdd

      public BulkOrganizationsResponse postExternalcontactsBulkOrganizationsAdd(BulkOrganizationsRequest body) throws IOException, ApiException
      Bulk add organizations
      Parameters:
      body - Organizations (required)
      Returns:
      BulkOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsAddWithHttpInfo

      public ApiResponse<BulkOrganizationsResponse> postExternalcontactsBulkOrganizationsAddWithHttpInfo(BulkOrganizationsRequest body) throws IOException
      Bulk add organizations
      Parameters:
      body - Organizations (required)
      Returns:
      BulkOrganizationsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsAdd

      public BulkOrganizationsResponse postExternalcontactsBulkOrganizationsAdd(PostExternalcontactsBulkOrganizationsAddRequest request) throws IOException, ApiException
      Bulk add organizations
      Parameters:
      request - The request object
      Returns:
      BulkOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsAdd

      public ApiResponse<BulkOrganizationsResponse> postExternalcontactsBulkOrganizationsAdd(ApiRequest<BulkOrganizationsRequest> request) throws IOException
      Bulk add organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsRemove

      public BulkDeleteResponse postExternalcontactsBulkOrganizationsRemove(BulkIdsRequest body) throws IOException, ApiException
      Bulk remove organizations
      Parameters:
      body - Organization ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsRemoveWithHttpInfo

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkOrganizationsRemoveWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk remove organizations
      Parameters:
      body - Organization ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsRemove

      public BulkDeleteResponse postExternalcontactsBulkOrganizationsRemove(PostExternalcontactsBulkOrganizationsRemoveRequest request) throws IOException, ApiException
      Bulk remove organizations
      Parameters:
      request - The request object
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsRemove

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkOrganizationsRemove(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk remove organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsUpdate

      public BulkOrganizationsResponse postExternalcontactsBulkOrganizationsUpdate(BulkOrganizationsRequest body) throws IOException, ApiException
      Bulk update organizations
      Parameters:
      body - Organizations (required)
      Returns:
      BulkOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsUpdateWithHttpInfo

      public ApiResponse<BulkOrganizationsResponse> postExternalcontactsBulkOrganizationsUpdateWithHttpInfo(BulkOrganizationsRequest body) throws IOException
      Bulk update organizations
      Parameters:
      body - Organizations (required)
      Returns:
      BulkOrganizationsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsUpdate

      public BulkOrganizationsResponse postExternalcontactsBulkOrganizationsUpdate(PostExternalcontactsBulkOrganizationsUpdateRequest request) throws IOException, ApiException
      Bulk update organizations
      Parameters:
      request - The request object
      Returns:
      BulkOrganizationsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkOrganizationsUpdate

      public ApiResponse<BulkOrganizationsResponse> postExternalcontactsBulkOrganizationsUpdate(ApiRequest<BulkOrganizationsRequest> request) throws IOException
      Bulk update organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationships

      public BulkFetchRelationshipsResponse postExternalcontactsBulkRelationships(BulkIdsRequest body) throws IOException, ApiException
      Bulk fetch relationships
      Parameters:
      body - Relationships ids (required)
      Returns:
      BulkFetchRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsWithHttpInfo

      public ApiResponse<BulkFetchRelationshipsResponse> postExternalcontactsBulkRelationshipsWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk fetch relationships
      Parameters:
      body - Relationships ids (required)
      Returns:
      BulkFetchRelationshipsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationships

      public BulkFetchRelationshipsResponse postExternalcontactsBulkRelationships(PostExternalcontactsBulkRelationshipsRequest request) throws IOException, ApiException
      Bulk fetch relationships
      Parameters:
      request - The request object
      Returns:
      BulkFetchRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationships

      public ApiResponse<BulkFetchRelationshipsResponse> postExternalcontactsBulkRelationships(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk fetch relationships
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsAdd

      public BulkRelationshipsResponse postExternalcontactsBulkRelationshipsAdd(BulkRelationshipsRequest body) throws IOException, ApiException
      Bulk add relationships
      Parameters:
      body - Relationships (required)
      Returns:
      BulkRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsAddWithHttpInfo

      public ApiResponse<BulkRelationshipsResponse> postExternalcontactsBulkRelationshipsAddWithHttpInfo(BulkRelationshipsRequest body) throws IOException
      Bulk add relationships
      Parameters:
      body - Relationships (required)
      Returns:
      BulkRelationshipsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsAdd

      public BulkRelationshipsResponse postExternalcontactsBulkRelationshipsAdd(PostExternalcontactsBulkRelationshipsAddRequest request) throws IOException, ApiException
      Bulk add relationships
      Parameters:
      request - The request object
      Returns:
      BulkRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsAdd

      public ApiResponse<BulkRelationshipsResponse> postExternalcontactsBulkRelationshipsAdd(ApiRequest<BulkRelationshipsRequest> request) throws IOException
      Bulk add relationships
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsRemove

      public BulkDeleteResponse postExternalcontactsBulkRelationshipsRemove(BulkIdsRequest body) throws IOException, ApiException
      Bulk remove relationships
      Parameters:
      body - Relationships ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsRemoveWithHttpInfo

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkRelationshipsRemoveWithHttpInfo(BulkIdsRequest body) throws IOException
      Bulk remove relationships
      Parameters:
      body - Relationships ids (required)
      Returns:
      BulkDeleteResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsRemove

      public BulkDeleteResponse postExternalcontactsBulkRelationshipsRemove(PostExternalcontactsBulkRelationshipsRemoveRequest request) throws IOException, ApiException
      Bulk remove relationships
      Parameters:
      request - The request object
      Returns:
      BulkDeleteResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsRemove

      public ApiResponse<BulkDeleteResponse> postExternalcontactsBulkRelationshipsRemove(ApiRequest<BulkIdsRequest> request) throws IOException
      Bulk remove relationships
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsUpdate

      public BulkRelationshipsResponse postExternalcontactsBulkRelationshipsUpdate(BulkRelationshipsRequest body) throws IOException, ApiException
      Bulk update relationships
      Parameters:
      body - Relationships (required)
      Returns:
      BulkRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsUpdateWithHttpInfo

      public ApiResponse<BulkRelationshipsResponse> postExternalcontactsBulkRelationshipsUpdateWithHttpInfo(BulkRelationshipsRequest body) throws IOException
      Bulk update relationships
      Parameters:
      body - Relationships (required)
      Returns:
      BulkRelationshipsResponse
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsUpdate

      public BulkRelationshipsResponse postExternalcontactsBulkRelationshipsUpdate(PostExternalcontactsBulkRelationshipsUpdateRequest request) throws IOException, ApiException
      Bulk update relationships
      Parameters:
      request - The request object
      Returns:
      BulkRelationshipsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsBulkRelationshipsUpdate

      public ApiResponse<BulkRelationshipsResponse> postExternalcontactsBulkRelationshipsUpdate(ApiRequest<BulkRelationshipsRequest> request) throws IOException
      Bulk update relationships
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactNotes

      public Note postExternalcontactsContactNotes(String contactId, Note body) throws IOException, ApiException
      Create a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      body - ExternalContact (required)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactNotesWithHttpInfo

      public ApiResponse<Note> postExternalcontactsContactNotesWithHttpInfo(String contactId, Note body) throws IOException
      Create a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      body - ExternalContact (required)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactNotes

      public Note postExternalcontactsContactNotes(PostExternalcontactsContactNotesRequest request) throws IOException, ApiException
      Create a note for an external contact
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactNotes

      public ApiResponse<Note> postExternalcontactsContactNotes(ApiRequest<Note> request) throws IOException
      Create a note for an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactPromotion

      public ExternalContact postExternalcontactsContactPromotion(String contactId) throws IOException, ApiException
      Promote an observed contact (ephemeral or identified) to a curated contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactPromotionWithHttpInfo

      public ApiResponse<ExternalContact> postExternalcontactsContactPromotionWithHttpInfo(String contactId) throws IOException
      Promote an observed contact (ephemeral or identified) to a curated contact
      Parameters:
      contactId - ExternalContact ID (required)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactPromotion

      public ExternalContact postExternalcontactsContactPromotion(PostExternalcontactsContactPromotionRequest request) throws IOException, ApiException
      Promote an observed contact (ephemeral or identified) to a curated contact
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactPromotion

      public ApiResponse<ExternalContact> postExternalcontactsContactPromotion(ApiRequest<Void> request) throws IOException
      Promote an observed contact (ephemeral or identified) to a curated contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContacts

      public ExternalContact postExternalcontactsContacts(ExternalContact body) throws IOException, ApiException
      Create an external contact
      Parameters:
      body - ExternalContact (required)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactsWithHttpInfo

      public ApiResponse<ExternalContact> postExternalcontactsContactsWithHttpInfo(ExternalContact body) throws IOException
      Create an external contact
      Parameters:
      body - ExternalContact (required)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContacts

      public ExternalContact postExternalcontactsContacts(PostExternalcontactsContactsRequest request) throws IOException, ApiException
      Create an external contact
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContacts

      public ApiResponse<ExternalContact> postExternalcontactsContacts(ApiRequest<ExternalContact> request) throws IOException
      Create an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactsSchemas

      public DataSchema postExternalcontactsContactsSchemas(DataSchema body) throws IOException, ApiException
      Create a schema
      Parameters:
      body - Schema (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactsSchemasWithHttpInfo

      public ApiResponse<DataSchema> postExternalcontactsContactsSchemasWithHttpInfo(DataSchema body) throws IOException
      Create a schema
      Parameters:
      body - Schema (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsContactsSchemas

      public DataSchema postExternalcontactsContactsSchemas(PostExternalcontactsContactsSchemasRequest request) throws IOException, ApiException
      Create a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsContactsSchemas

      public ApiResponse<DataSchema> postExternalcontactsContactsSchemas(ApiRequest<DataSchema> request) throws IOException
      Create a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsIdentifierlookup

      public ExternalContact postExternalcontactsIdentifierlookup(ContactIdentifier identifier) throws IOException, ApiException
      Fetch a contact using an identifier type and value. Phone number identifier values must be provided with the country code and a leading '+' symbol. Example: \"+1 704 298 4733\"
      Parameters:
      identifier - (required)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsIdentifierlookupWithHttpInfo

      public ApiResponse<ExternalContact> postExternalcontactsIdentifierlookupWithHttpInfo(ContactIdentifier identifier) throws IOException
      Fetch a contact using an identifier type and value. Phone number identifier values must be provided with the country code and a leading '+' symbol. Example: \"+1 704 298 4733\"
      Parameters:
      identifier - (required)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsIdentifierlookup

      public ExternalContact postExternalcontactsIdentifierlookup(PostExternalcontactsIdentifierlookupRequest request) throws IOException, ApiException
      Fetch a contact using an identifier type and value. Phone number identifier values must be provided with the country code and a leading '+' symbol. Example: \"+1 704 298 4733\"
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsIdentifierlookup

      public ApiResponse<ExternalContact> postExternalcontactsIdentifierlookup(ApiRequest<ContactIdentifier> request) throws IOException
      Fetch a contact using an identifier type and value. Phone number identifier values must be provided with the country code and a leading '+' symbol. Example: \"+1 704 298 4733\"
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsMergeContacts

      public ExternalContact postExternalcontactsMergeContacts(MergeRequest body) throws IOException, ApiException
      Merge two contacts into a new contact record Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
      Parameters:
      body - MergeRequest (required)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsMergeContactsWithHttpInfo

      public ApiResponse<ExternalContact> postExternalcontactsMergeContactsWithHttpInfo(MergeRequest body) throws IOException
      Merge two contacts into a new contact record Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
      Parameters:
      body - MergeRequest (required)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsMergeContacts

      public ExternalContact postExternalcontactsMergeContacts(PostExternalcontactsMergeContactsRequest request) throws IOException, ApiException
      Merge two contacts into a new contact record Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsMergeContacts

      public ApiResponse<ExternalContact> postExternalcontactsMergeContacts(ApiRequest<MergeRequest> request) throws IOException
      Merge two contacts into a new contact record Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationNotes

      public Note postExternalcontactsOrganizationNotes(String externalOrganizationId, Note body) throws IOException, ApiException
      Create a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      body - ExternalContact (required)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationNotesWithHttpInfo

      public ApiResponse<Note> postExternalcontactsOrganizationNotesWithHttpInfo(String externalOrganizationId, Note body) throws IOException
      Create a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      body - ExternalContact (required)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationNotes

      public Note postExternalcontactsOrganizationNotes(PostExternalcontactsOrganizationNotesRequest request) throws IOException, ApiException
      Create a note for an external organization
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationNotes

      public ApiResponse<Note> postExternalcontactsOrganizationNotes(ApiRequest<Note> request) throws IOException
      Create a note for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizations

      public ExternalOrganization postExternalcontactsOrganizations(ExternalOrganization body) throws IOException, ApiException
      Create an external organization
      Parameters:
      body - ExternalOrganization (required)
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationsWithHttpInfo

      public ApiResponse<ExternalOrganization> postExternalcontactsOrganizationsWithHttpInfo(ExternalOrganization body) throws IOException
      Create an external organization
      Parameters:
      body - ExternalOrganization (required)
      Returns:
      ExternalOrganization
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizations

      public ExternalOrganization postExternalcontactsOrganizations(PostExternalcontactsOrganizationsRequest request) throws IOException, ApiException
      Create an external organization
      Parameters:
      request - The request object
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizations

      public ApiResponse<ExternalOrganization> postExternalcontactsOrganizations(ApiRequest<ExternalOrganization> request) throws IOException
      Create an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationsSchemas

      public DataSchema postExternalcontactsOrganizationsSchemas(DataSchema body) throws IOException, ApiException
      Create a schema
      Parameters:
      body - Schema (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationsSchemasWithHttpInfo

      public ApiResponse<DataSchema> postExternalcontactsOrganizationsSchemasWithHttpInfo(DataSchema body) throws IOException
      Create a schema
      Parameters:
      body - Schema (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationsSchemas

      public DataSchema postExternalcontactsOrganizationsSchemas(PostExternalcontactsOrganizationsSchemasRequest request) throws IOException, ApiException
      Create a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsOrganizationsSchemas

      public ApiResponse<DataSchema> postExternalcontactsOrganizationsSchemas(ApiRequest<DataSchema> request) throws IOException
      Create a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsRelationships

      public Relationship postExternalcontactsRelationships(Relationship body) throws IOException, ApiException
      Create a relationship
      Parameters:
      body - Relationship (required)
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsRelationshipsWithHttpInfo

      public ApiResponse<Relationship> postExternalcontactsRelationshipsWithHttpInfo(Relationship body) throws IOException
      Create a relationship
      Parameters:
      body - Relationship (required)
      Returns:
      Relationship
      Throws:
      IOException - if the request fails to be processed
    • postExternalcontactsRelationships

      public Relationship postExternalcontactsRelationships(PostExternalcontactsRelationshipsRequest request) throws IOException, ApiException
      Create a relationship
      Parameters:
      request - The request object
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postExternalcontactsRelationships

      public ApiResponse<Relationship> postExternalcontactsRelationships(ApiRequest<Relationship> request) throws IOException
      Create a relationship
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContact

      public ExternalContact putExternalcontactsContact(String contactId, ExternalContact body) throws IOException, ApiException
      Update an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      body - ExternalContact (required)
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContactWithHttpInfo

      public ApiResponse<ExternalContact> putExternalcontactsContactWithHttpInfo(String contactId, ExternalContact body) throws IOException
      Update an external contact
      Parameters:
      contactId - ExternalContact ID (required)
      body - ExternalContact (required)
      Returns:
      ExternalContact
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContact

      public ExternalContact putExternalcontactsContact(PutExternalcontactsContactRequest request) throws IOException, ApiException
      Update an external contact
      Parameters:
      request - The request object
      Returns:
      ExternalContact
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContact

      public ApiResponse<ExternalContact> putExternalcontactsContact(ApiRequest<ExternalContact> request) throws IOException
      Update an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContactNote

      public Note putExternalcontactsContactNote(String contactId, String noteId, Note body) throws IOException, ApiException
      Update a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      body - Note (required)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContactNoteWithHttpInfo

      public ApiResponse<Note> putExternalcontactsContactNoteWithHttpInfo(String contactId, String noteId, Note body) throws IOException
      Update a note for an external contact
      Parameters:
      contactId - ExternalContact Id (required)
      noteId - Note Id (required)
      body - Note (required)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContactNote

      public Note putExternalcontactsContactNote(PutExternalcontactsContactNoteRequest request) throws IOException, ApiException
      Update a note for an external contact
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContactNote

      public ApiResponse<Note> putExternalcontactsContactNote(ApiRequest<Note> request) throws IOException
      Update a note for an external contact
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContactsSchema

      public DataSchema putExternalcontactsContactsSchema(String schemaId, DataSchema body) throws IOException, ApiException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Data Schema (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContactsSchemaWithHttpInfo

      public ApiResponse<DataSchema> putExternalcontactsContactsSchemaWithHttpInfo(String schemaId, DataSchema body) throws IOException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Data Schema (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsContactsSchema

      public DataSchema putExternalcontactsContactsSchema(PutExternalcontactsContactsSchemaRequest request) throws IOException, ApiException
      Update a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsContactsSchema

      public ApiResponse<DataSchema> putExternalcontactsContactsSchema(ApiRequest<DataSchema> request) throws IOException
      Update a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsConversation

      public void putExternalcontactsConversation(String conversationId, ConversationAssociation body) throws IOException, ApiException
      Associate/disassociate an external contact with a conversation To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
      Parameters:
      conversationId - Conversation ID (required)
      body - ConversationAssociation (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsConversationWithHttpInfo

      public ApiResponse<Void> putExternalcontactsConversationWithHttpInfo(String conversationId, ConversationAssociation body) throws IOException
      Associate/disassociate an external contact with a conversation To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
      Parameters:
      conversationId - Conversation ID (required)
      body - ConversationAssociation (required)
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsConversation

      public void putExternalcontactsConversation(PutExternalcontactsConversationRequest request) throws IOException, ApiException
      Associate/disassociate an external contact with a conversation To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsConversation

      public ApiResponse<Void> putExternalcontactsConversation(ApiRequest<ConversationAssociation> request) throws IOException
      Associate/disassociate an external contact with a conversation To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganization

      public ExternalOrganization putExternalcontactsOrganization(String externalOrganizationId, ExternalOrganization body) throws IOException, ApiException
      Update an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      body - ExternalOrganization (required)
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationWithHttpInfo

      public ApiResponse<ExternalOrganization> putExternalcontactsOrganizationWithHttpInfo(String externalOrganizationId, ExternalOrganization body) throws IOException
      Update an external organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      body - ExternalOrganization (required)
      Returns:
      ExternalOrganization
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganization

      public ExternalOrganization putExternalcontactsOrganization(PutExternalcontactsOrganizationRequest request) throws IOException, ApiException
      Update an external organization
      Parameters:
      request - The request object
      Returns:
      ExternalOrganization
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganization

      public ApiResponse<ExternalOrganization> putExternalcontactsOrganization(ApiRequest<ExternalOrganization> request) throws IOException
      Update an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationNote

      public Note putExternalcontactsOrganizationNote(String externalOrganizationId, String noteId, Note body) throws IOException, ApiException
      Update a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      body - Note (required)
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationNoteWithHttpInfo

      public ApiResponse<Note> putExternalcontactsOrganizationNoteWithHttpInfo(String externalOrganizationId, String noteId, Note body) throws IOException
      Update a note for an external organization
      Parameters:
      externalOrganizationId - External Organization Id (required)
      noteId - Note Id (required)
      body - Note (required)
      Returns:
      Note
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationNote

      public Note putExternalcontactsOrganizationNote(PutExternalcontactsOrganizationNoteRequest request) throws IOException, ApiException
      Update a note for an external organization
      Parameters:
      request - The request object
      Returns:
      Note
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationNote

      public ApiResponse<Note> putExternalcontactsOrganizationNote(ApiRequest<Note> request) throws IOException
      Update a note for an external organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationTrustorTrustorId

      public ExternalOrganizationTrustorLink putExternalcontactsOrganizationTrustorTrustorId(String externalOrganizationId, String trustorId) throws IOException, ApiException
      Links a Trustor with an External Organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      trustorId - Trustor ID (required)
      Returns:
      ExternalOrganizationTrustorLink
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationTrustorTrustorIdWithHttpInfo

      public ApiResponse<ExternalOrganizationTrustorLink> putExternalcontactsOrganizationTrustorTrustorIdWithHttpInfo(String externalOrganizationId, String trustorId) throws IOException
      Links a Trustor with an External Organization
      Parameters:
      externalOrganizationId - External Organization ID (required)
      trustorId - Trustor ID (required)
      Returns:
      ExternalOrganizationTrustorLink
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationTrustorTrustorId

      public ExternalOrganizationTrustorLink putExternalcontactsOrganizationTrustorTrustorId(PutExternalcontactsOrganizationTrustorTrustorIdRequest request) throws IOException, ApiException
      Links a Trustor with an External Organization
      Parameters:
      request - The request object
      Returns:
      ExternalOrganizationTrustorLink
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationTrustorTrustorId

      public ApiResponse<ExternalOrganizationTrustorLink> putExternalcontactsOrganizationTrustorTrustorId(ApiRequest<Void> request) throws IOException
      Links a Trustor with an External Organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationsSchema

      public DataSchema putExternalcontactsOrganizationsSchema(String schemaId, DataSchema body) throws IOException, ApiException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Data Schema (required)
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationsSchemaWithHttpInfo

      public ApiResponse<DataSchema> putExternalcontactsOrganizationsSchemaWithHttpInfo(String schemaId, DataSchema body) throws IOException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Data Schema (required)
      Returns:
      DataSchema
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationsSchema

      public DataSchema putExternalcontactsOrganizationsSchema(PutExternalcontactsOrganizationsSchemaRequest request) throws IOException, ApiException
      Update a schema
      Parameters:
      request - The request object
      Returns:
      DataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsOrganizationsSchema

      public ApiResponse<DataSchema> putExternalcontactsOrganizationsSchema(ApiRequest<DataSchema> request) throws IOException
      Update a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsRelationship

      public Relationship putExternalcontactsRelationship(String relationshipId, Relationship body) throws IOException, ApiException
      Update a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      body - Relationship (required)
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsRelationshipWithHttpInfo

      public ApiResponse<Relationship> putExternalcontactsRelationshipWithHttpInfo(String relationshipId, Relationship body) throws IOException
      Update a relationship
      Parameters:
      relationshipId - Relationship Id (required)
      body - Relationship (required)
      Returns:
      Relationship
      Throws:
      IOException - if the request fails to be processed
    • putExternalcontactsRelationship

      public Relationship putExternalcontactsRelationship(PutExternalcontactsRelationshipRequest request) throws IOException, ApiException
      Update a relationship
      Parameters:
      request - The request object
      Returns:
      Relationship
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putExternalcontactsRelationship

      public ApiResponse<Relationship> putExternalcontactsRelationship(ApiRequest<Relationship> request) throws IOException
      Update a relationship
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed