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