PersonService

This services creates contacts in 24SevenOffice. The property Id is the primary ID and cannot be specified when creating a new contact. If you specify an Id, this means that you are updating a contact.

Please note: It is not possible to create employees through the PersonService.

PersonService
PersonService WSDL

Data Types

Examples

GetPersons

    <GetPersons xmlns="http://24sevenOffice.com/webservices">
      <personSearch>
        <ChangedAfter>2019-01-01T00:00:00</ChangedAfter>
      </personSearch>
    </GetPersons>
1
2
3
4
5

Methods

Method Input type Return type Description
AddCategoryToPerson personId(Long), categoryId(Int) Adds a CRM Category to a person
RemoveCategoryFromPerson personId(Long), categoryId(Int) Removes a CRM Category from a person
GetPersonCategoryList personId(Long) int[] Returns a list of category ids for a specific person
GetPersonArrayCategoryList personIds(Int[]) PersonCategories[] Returns a list of category ids for an array of persons
GetCategoryList - Category[] Returns a list of all CRM categories
AddNote NoteData int Adds a note and returns the Id of the added note
DeleteNote NoteData Deletes a note
DeleteNoteById noteId(Int) Deletes a note by using the id
GetNotes personId(Long) NoteData[] Gets all notes for a specific person
GetPersonId consumerPersonNo(String) long Gets 24SevenOffice’s Person Id that corresponds to the given Consumer Person Id
GetPersonIdsByUserName username(String) long[] Gets a list of Person Ids from a username in 24SO’s system
GetPersons PersonSearchParameters PersonItem[] Gets a list of persons
GetPersonsDetailed PersonSearchParameters PersonItem[] Gets a list of persons with more detailed information
SavePerson PersonItem long Saves a person and returns its ID
GetRelations -
GetRelationsChangedAfter datetime
MakeRelation RelationData bool Insert/update relationdata between a company and a contact.