Click or drag to resize

IContactAddNewContact Method

Adds a new Contact.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+2c50a58dd893fc2b9c4be24260912c6e67d21563
Syntax
Contact AddNewContact(
	Contact contactInfo
)

Parameters

contactInfo  Contact
Contact object.

Mandatory data members:

  • AccountGUID.
  • FirstName.
  • LastName.

Defaulted members:

  • LanguageGUID. If not given, defaulted to account language.

Return Value

Contact
Contact object.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
GeneralFailureExceptionAny other fault.
ValidationExceptionInput data was not valid.
Remarks
This method will give exception if contact with same first name and last name already exist in Visma Severa, and the contact is active. If the existing contact is inactive, this method will update the information of the contact and set the contact to active.
See Also