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+d2b3ba1f0a7faa78f41e88544914859e96e8c75b
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