Service: ContactInformationPublicService

Version: 2_17 (other versions, change log, ZUMSTEIN_V3.12-SNAPSHOT) Deprecated. This version is frozen and still supported.

SOAP Demo endpoint: https://myinstit.ws.secutix.com/tnco/external-remoting/com.secutix.service.contact.v2_17.ContactInformationPublicService.webservice?wsdl

REST Demo endpoint (only POST): https://myinstit.ws.secutix.com/tnco/backend-apis/contactInformationPublicService/v2_17/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "myinstit" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.

Methods:

createCulturalContact

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

contactDataListList of CulturalContactData     

CulturalContactData
contactNumberString (20)     
createLoginboolean     
emailString     
firstNameString     
identifierLong     
lastNameString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

Return value

CulturalContactCreationResult
culturalContactDataList of ContactDataResult     
identifierContactMapMap of Long, String     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactDataResult
addressesList of ContactAddressData     
advantagesList of ContactAdvantageData     
authorizationsList of AuthorizationData     
contactConnectionsList of ContactConnectionDetailed     
contactCriteriaList of ExternalContactCriterionData     
contactFileHistoryCriteriaContactFileHistoryCriteriaReturns if current contact is a purchaser or biller with the owner of the given file contact number in the request param to searchContact call
contactIdLong     
contactNumberString (20)     
contactOriginContactOriginData     
contactQualitiesList of ContactQuality     
creationDateDate     
endValidityDateDate     
financialDataFinancialData     
functionString     
hasAdvantagesboolean     
hasWarningboolean     
indicatorsList of IndicatorData     
individualContactIndividualContactData     
individualPhotoDataIndividualPhotoData     
invalidatedContactQualitiesList of ContactQuality     
isGuestboolean     
loginString     
loginLastUpdateTimeDate     
loginLastUpdateUserString     
mergedContactNumberString (20)     
role(MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
     
socialConnectionsList of ContactSocialConnection     
state(VALID|INVALIDATED|
PENDING|REJECTED|
DUPLICATE)
     
structureContactStructureContactData     
type(INDIVIDUAL|STRUCTURE)     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactAddressData
billingAddressboolean     
contactAddressIdLong     
countryCodeString (8)     
faxNumberStringFax number. E164 format. +41214232222
formattedAddressString     
gpsLatitudeString     
gpsLongitudeString     
line1String     
line2String     
line3String     
localityCriteriaElementsList of LocalityCriterionElementOptional
mainboolean     
nameString     
normalizationRating(UNKNOWN|COUNTRY|ZIPCODE|
TOWN|WAY|WAYNUMBER)
     
normalizationState(NORMALIZED|
TO_BE_NORMALIZED|
NOT_TO_BE_NORMALIZED|
NOT_NORMALIZED)
     
phoneNumber1StringPhone number. E164 format. +41214232222
phoneNumber2StringPhone number. E164 format. +41214232222
phoneNumber3StringPhone number. E164 format. +41214232222
shippingAddressboolean     
townString     
zipCodeString (8)     

LocalityCriterionElement
countryCodeString (8)Optional: Countrycode in ISO Alpha-2 format. It should match with contactAddressData.countryCode
localityCriterionCodeString (8)Mandatory: Represents code of locality criterion code
localityCriterionElementCodeString (8)Mandatory: Represents code of locality criterion element
localityCriterionElementNameStringOptional: Represents the name of locality criterion element

ContactAdvantageData
advantageIdLong     
advantageType(PUBLIC|CODE|CONTACT)     
availabilityLong     
availabilityLevel(GOOD|LIMITED|NONE)     
fileIdLong     
orderDataList of OrderData     
orderDateDate     

OrderData
fileIdlong     
orderDateDate     

AuthorizationData
allowedboolean     
authorizationCodeString (8)     

ContactConnectionDetailed
chidStructureContactDataStructureContactData     
childIndividualContactDataIndividualContactData     
parentIndividualContactDataIndividualContactData     
parentStructureContactDataStructureContactData     
contactConnectionIdLong     
contactNumberString (20)     
isParentContactboolean     
type(DISTRIBUTION_PARTNER|
MEMBER|STRUCT_MEMBER|
FAMILY|SPONSOR|
SHIPMENT_CONTACT|
SUBGROUP_MEMBER|
INVOICE_CONTACT|
INVOICE_ENTITY|ATR)
     

StructureContactData
addressSalutationString     
allContactNumbersList of String     
alternativeEmailsSet of String     
cellPhoneNumberStringCell phone number, internationalized. E164 format. +41797894554
communityboolean     
confidentialityLevelEnum(FREE|RESTRICTED|
CONFIDENTIAL)
     
contactNumberString (20)     
emailString     
faxNumberStringFax number. E164 format. +41214232222
letterSalutationString     
loginString     
numberOfEmployeesInteger     
parentStructureContactNumberString (20)     
passwordString     
phoneNumber1StringPhone number. E164 format. +41214232222
phoneNumber2StringPhone number. E164 format. +41214232222
phoneNumber3StringPhone number. E164 format. +41214232222
primaryContactIdLong     
prospectboolean     
remarkString     
role(PUBLIC|PARTNER|PRODUCER|
SUPPLIER|CONTRACTOR|
EXHIBITOR)
Optional. Structure role. If not defined, set to PUBLIC.
siretCodeString (8)     
state(VALID|INVALIDATED|
PENDING|REJECTED|
DUPLICATE)
     
structureAddressName1StringMandatory while creating a new structure
structureAddressName2String     
structureCommunityTypeString     
structureOfficialNameStringMandatory while creating a new structure
structurePreferredLanguageStringMandatory while creating a new structure
structureTypeIdLong     

IndividualContactData
addressSalutationString     
alternativeEmailsSet of String     
cellPhoneNumberStringCell phone number, internationalized. E164 format. +41797894554
cellPhoneNumberVerifiedboolean     
confidentialityLevelEnum(FREE|RESTRICTED|
CONFIDENTIAL)
     
contactNumberString (20)     
countryCodeString (8)     
digestedPasswordString     
emailString     
encryptedPasswordString     
endValidityDateDate     
endValidityReasonString     
faxNumberStringFax number. E164 format. +41214232222
handicapTypeString     
individualBirthdateDate     
individualCountryCodeString (8)     
individualFirstnameString     
individualGender(FEMALE|MALE|UNKNOWN)     
individualIdNumberString     
individualLastnameString     
individualPreferredLanguageStringMandatory parameter while creating new individuals
individualTitleStringPossible values : MR, MRS, MR_AND_MRS, MISS et UNDEFINED Mandatory parameter while creating new individuals
isActiveboolean     
isGuestboolean     
letterSalutationString     
loginString     
loginCreation(FORCE_LOGIN_CREATION|
REUSE_CONTACT_IF_LOGIN_EXISTS|DO_NOT_CREATE_LOGIN)
     
nicknameString     
passwordString     
phoneNumber1StringPhone number. E164 format. +41214232222
phoneNumber2StringPhone number. E164 format. +41214232222
phoneNumber3StringPhone number. E164 format. +41214232222
prospectboolean     
remarkString     
role(PUBLIC|RELAY|GUIDE|
SUPPORT)
Optional. Contact role. If not defined, set to PUBLIC.
zipCodeString (8)     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ExternalContactCriterionData
DTO for ContactCriterionData used by external world. Version 2.2
criterionIdCodeString (8)     
valuesList of String     

ContactFileHistoryCriteria
billerBooleanCheck for contacts result who are billing contacts of a file owned by fileOwnerContactNumber
fileOwnerContactNumberString (20)File contact of type OWNER
purchaserBooleanCheck for contacts result who are purchasers of a file owned by fileOwnerContactNumber
shippingContactBooleanSearch for contacts who are shipping contacts of a file owned by fileOwnerContactNumber

ContactOriginData
codeString (8)     
translationsMap of StringString     

ContactQuality
audienceCategoriesList of AudienceCategoryPriceLevel     
seasonIdLong     
seasonNameString     

AudienceCategoryPriceLevel
audienceCatIdLong     
audienceSubCategoryAudienceSubCategory     
instanceNumberString     
mainCategory(OCCASIONAL|SUBSCRIBER|
MEMBER|INVITED|
INSIDE_SEASONTICKET)
     
movementEndDateDateMovement end date, it's set in case of membership to store the membership end validity
movementIdLong     
movementStartDateDateMovement start date, it's set in case of membership to store the membership start validity
partnerOrganizationNameString     
priceLevelCodeString (8)     
priceLevelIdLong     
productString     
productIdLong     
secondaryCategory(INDIVIDUAL|COMMUNITY|
GROUP|TAXED|FREE|
PROMOTIONAL)
     

AudienceSubCategory
audienceCategoryKind(FULL|REDUCED|FREE)     
codeString (8)     
externalNameString     
idLong     
internalNameString     

FinancialData
agreementReferenceString     
agreementSigningDateDate     
bicString     
creditNoteBalanceInteger     
ibanString     
maxWaitingAccountBalanceInteger     
waitingAccountAllowedboolean     
waitingAccountBalanceInteger     

IndicatorData
indicatorIdCodeString (8)     
internalNameMultiLingual     
levelString     
valueString     

MultiLingual
translationsList of Translation     

Translation
localeString (2)     
valueString     

IndividualPhotoData
Contains an individual's photo. Supported formats are jpg, png and gif.
fileContentbyteContent of file. Max size : 200000 bytes. Passing empty or null here removes the file.
fileNameStringName of the image file containing the photo. Passing empty or null here removes the photo.
mimeType(JPG|PNG|GIF)     

ContactSocialConnection
identityProvider(NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT|
GIGYA)
     
providerUserReferenceString     

deleteAccount

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

contactNumberString (20)     
deleteStrictbooleanMandatory

Return value

ContactDeleteResult
contactInfoList of String     
isContactDeletetableboolean     
expectedExceptionboolean     
statusMessageString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

deleteStructureMember

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method remove a contact member of a structure.

Parameters

contactNumberString (20)Mandatory
Mandatory, the number to identify the contact
structureContactNumberString (20)     

Return value

WebMethodResult2
requestIdInteger     
statusCodeString (8)     
statusDetailString     

fastContactSearch

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
contactNumberOrNameString     
contactRole(MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
     
contactTypeListList of (INDIVIDUAL|STRUCTURE)     
maxResultsLong     

Return value

FastContactSearchResult
contactsList of ContactDataResult     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

formatContactAddresses

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Same as save contact address except it does not persist data. ContactAddressResult contains passed address augmented with its formatted version

Parameters

contactNumberString (20)     
addressesList of ContactAddressData     

Return value

ContactAddressesResult
contactAddressesDataContactAddressesData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactAddressesData
addressesDataList of ContactAddressData     

getAdvantages

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

contactNumberString (20)     
advantageType(PUBLIC|CODE|CONTACT)     

Return value

ContactAdvantageResult
contactAdvantagesDataContactAdvantagesData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactAdvantagesData
advantagesDataList of ContactAdvantageData     

getAvailableAdministrativeNumbers

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method return all known administrative numbers.

Parameters

Return value

AvailableAdministrativeNumbersResult
externalAdministrativeNumberDefinitionDataList of ExternalAdministrativeNumberDefinitionData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ExternalAdministrativeNumberDefinitionData
adminNumCodeString (8)     
adminNumIdCodeString (8)     
externalNameMultiLingual     
rankInteger     

getAvailableAuthorizations

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the list of all available authorizations.

Parameters

Return value

AvailableAuthorizationsResult
authorizationDefinitionDataList of AuthorizationDefinitionData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

AuthorizationDefinitionData
authorizationCodeString (8)     
dataType(CHECKBOX|RADIO)     
externalNameMultiLingual     
mandatoryBoolean     
rankInteger     
visibility(READ|UPDATE|NONE)     

getAvailableContactCriteria

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the list of available contact criteria. This list depends on the organization and changes infrequently, so it is requested that the result of this method should be cached in the caller side for at least 30 minutes.

Parameters

Return value

ExternalContactCriterionResult
contactCriterionDefinitionDatasList of ExternalContactCriterionDefinitionData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ExternalContactCriterionDefinitionData
criterionCodeString (8)     
criterionIdCodeString (8)     
criterionType(SIMPLE|LIST)     
dataType(TEXTINPUT|CITYINPUT|
CHECKBOX|RADIO|COLOR|
DATEINPUT|TIME|DECIMAL|
INTEGER|LONG|PERCENT|
MONEY|PHONE_NUMBER|
TEXTAREA|IBAN|URL|
DROPDOWN|DRAGNDROPLIST)
     
elementsList of ContactCriterionElementDefinition     
externalNameMultiLingual     
mandatoryBoolean     
rankInteger     
screenVisibilityType(CONTACT_CRITERION|
AUTOMATIC_CUP_SCHEME|
MANAGEMENT_FINANCIAL)
     
target(INDIVIDUAL|STRUCTURE|
BOTH)
     
visibility(READ|UPDATE)     

ContactCriterionElementDefinition
codeString (8)     
idCodeString (8)     
rankInteger     
valueMultiLingual     

getAvailableContactIndicators

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method return all known administrative numbers.

Parameters

Return value

AvailableContactIndicatorResult
contactIndicatorDefinitionDatasList of ContactIndicatorDefinitionData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactIndicatorDefinitionData
externalNameMultiLingual     
indicatorCodeString (8)     
indicatorValueDataType(BOOLEAN|NUMERIC|STRING|
DATE)
     
rankInteger     

getAvailableLocalityCriterionElements

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns all the available locality criterion elements.

Parameters

countryCodesList of StringOptional, list of country codes in ISO-Alpha-2 format. The result is filtered by country codes if provided.

Return value

LocalityCriterionElementListResult
Created by asi on 08.08.2017.
elementsList of LocalityCriterionElement     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getContactData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the data entered at the creation or modification of a contact, except for the password. The data also includes a particular nickname for the contact.

Parameters

contactNumberString (20)Mandatory
Mandatory, the number used to identify the contact
detailsList of (GENERAL|QUALITIES|
AUTHORIZATIONS|CRITERIA|
INDICATORS|ADVANTAGES|
ADDRESSES|COM_MEANS|
FINANCIAL|CONNECTIONS|
INDIVIDUAL_PHOTO|
INVALIDATED_QUALITIES)
     

Return value

ContactDataResult

getContactsData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the data entered at the creation or modification of a contact, except for the password. The data also includes a particular nickname for the given list of contact.

Parameters

contactNumberList of StringMandatory
Mandatory, the number used to identify the contact
detailsList of (GENERAL|QUALITIES|
AUTHORIZATIONS|CRITERIA|
INDICATORS|ADVANTAGES|
ADDRESSES|COM_MEANS|
FINANCIAL|CONNECTIONS|
INDIVIDUAL_PHOTO|
INVALIDATED_QUALITIES)
     

Return value

ContactsDataResult
contactsDataList of ContactDataResult     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getScreenLayout

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method list all the screen fields for the passed screen names stored in {@link ScreenConfiguration}

Parameters

screenNamesList of StringMandatory
Mandatory, list of names of screens for which the layout is required

Return value

ScreenResult
screenDefinitionList of ScreenDefinition     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ScreenDefinition
screenFieldsList of ScreenFieldDefinition     
screenNameString     

ScreenFieldDefinition
fieldGroupString     
rankInteger     
screenFieldString     
screenPartString     
value(TRUE|FALSE|
MANDATORY_BY_GROUP|
MANDATORY|OPTIONAL|
MANDATORY_NOEDIT|
MANDATORY_BY_GROUP_NOEDIT|
TRUE_UNCHECK|TRUE_CHECK)
     

getStructureAdministrativeNumbers

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the list of administrative numbers for the given structure and administrative number codes.

Parameters

structureContactNumberString (20)     
adminNumIdCodesList of String     

Return value

StructureAdministrativeNumbersResult
externalAdministrativeNumberDataList of ExternalAdministrativeNumberData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ExternalAdministrativeNumberData
adminNumIdCodeString (8)     
valueString     

getStructureTypes

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method returns the list of all known structure types. This list changes infrequently, so it is requested that the result of this method should be cached in the caller side for at least 1 day.

Parameters

Return value

StructureTypesResult
structureTypeDataList of StructureTypeData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

StructureTypeData
codeString (8)     
externalNameMultiLingual     
idLong     
subStructureTypesList of StructureTypeData     

listStructureMembersByCriteria

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method lists all the contact matching the give search criterion

Parameters

structureContactNumberString (20)Mandatory
Mandatory, the number to identify the structure contact
memberContactNumberString (20)     
rolesList of (MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
Optional, allows to filter the contacts by the role
loginStringOptional
stateStringOptional
firstnameStringOptional, filter the contact whom first name starts with the give value
lastnameStringOptional, filter the contact whom last name starts with the give value
startPositionLongMandatory
Mandatory, for pagination purpose, return the contacts from the given index
maxResultsLongMandatory
Mandatory, for pagination purpose, return the contacts until the given index

Return value

StructureMemberContactListResult
structureMemberContactDataList of StructureMemberContactData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

StructureMemberContactData
activeboolean     
contactNumberString (20)     
functionString     
individualContactDataIndividualContactData     
loginString     
modifiableboolean     
passwordString     
primaryContactNumberString (20)     
role(MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
     
state(VALID|INVALIDATED|
PENDING|REJECTED|
DUPLICATE)
     
structureContactNumberString (20)     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

saveIndividualContactData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to create or update a contact of type individual.

To create a "standard" individual, pass role=PUBLIC.

To update only specific information, pass the contact number and the list of informations to be udated (addresses, criteria...)

Updating a list of addresses (resp. criteria, authorizations, contact connections)

if fullAddresses = true, the list of provided addresses will replace the current list of addresses of the contact.

if fullAddresses = false, any address with an existing addressId will be updated, any address without an id will be added

Ids of the added items can be retrieved in the return values of the function.

Same behavior to update criteria, authorizations, connections.

Concerning postal normalization, see general documentation of the service.

When creating an account, an email is sent to the contact to confirm inscription.

About postal normalization

If no postal normalization is activated, any new address will be saved with normalizationRating=UNKNOWN, and normalizationState=TO_BE_NORMALIZED and nothing else will occurr.

Else, many cases may happen.

In any case, if the address persisted is different from the address entered, the entered address is returned with contactAddressId==null (this one has not been saved) in order to allow the front-end to display the comparison between both addresses.

Parameters

contactNumberString (20)Optional : the contact number. If empty, a new contact is created.
individualContactDataIndividualContactDataDTO contains information about the contact to be saved
addressesList of ContactAddressData     
fullAddressesbooleanMandatory
authorizationsList of AuthorizationDataOptional, the list of authorizations
fullAuthorizationsBoolean     
externalContactCriterionDataList of ExternalContactCriterionData     
fullContactCriteriabooleanMandatory
contactConnectionsList of ContactConnectionconnections to add to the created/updated contact
fullContactConnectionsbooleanMandatory
if true, the provided contact connections is the entire list of connections for this contact, o.w. they connections will be updated with the provided list
socialConnectionsList of ContactSocialConnection     
fullSocialConnectionsbooleanMandatory
campaignTrackerIdStringthe tracker id of the campaign associated with this account creation (null if none)
individualPhotoDataIndividualPhotoDatacontains the photo of the individual. If passed as null, nothing is changed. If individual contains empty filename, photo is removed. Else photo is updated.
contactOriginStringSpecify the origin of contact

ContactConnection
contactConnectionIdLong     
contactNumberString (20)     
isParentContactboolean     
type(DISTRIBUTION_PARTNER|
MEMBER|STRUCT_MEMBER|
FAMILY|SPONSOR|
SHIPMENT_CONTACT|
SUBGROUP_MEMBER|
INVOICE_CONTACT|
INVOICE_ENTITY|ATR)
     

Return value

ContactDataResult

saveStructureAdministrativeNumbers

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method saves the list of administrative numbers for the given structure. If the contact already has the administrative numbers, they will be updated if provided in the new list or removed if not included in the new list.

Parameters

contactNumberString (20)Mandatory
Mandatory, the number to identify the contact
administrativeNumbersList of ExternalAdministrativeNumberDataMandatory
Mandatory, the list of administrative numbers

Return value

StructureAdministrativeNumbersResult

saveStructureContactData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to modify or create a contact of the type structure. Its behavior is similar to the one of saveIndividualContactData.

Parameters

contactNumberString (20)TODO
structureContactDataStructureContactDataDTO contains information about the contact to be saved
addressesList of ContactAddressData     
fullAddressesBoolean     
authorizationsList of AuthorizationData     
fullAuthorizationsBoolean     
externalContactCriterionDataList of ExternalContactCriterionData     
fullContactCriteriaBoolean     
contactConnectionsList of ContactConnection     
fullContactConnectionsBoolean     
administrativeNumbersList of ExternalAdministrativeNumberData     

Return value

ContactDataResult

saveStructureContacts

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method create/update a list of structure contacts. The api processes atomic update of each structure contact {@link StructureContactDataComplete} in the same order as provided and returns the result {@link ContactDataResult } for each such update in an ordered list inside {@link ContactDataListResult}

Parameters

structureContactsList of StructureContactDataCompleteMandatory
Mandatory, there should be atleast one structure to be updated. The limit on max number of members which can be created/updated is 10000

StructureContactDataComplete
structureContactDataStructureContactData     
addressesList of ContactAddressData     
administrativeNumbersList of ExternalAdministrativeNumberData     
authorizationsList of AuthorizationData     
campaignTrackerString     
contactConnectionsList of ContactConnection     
externalContactCriterionDataList of ExternalContactCriterionData     
fullAddressesBoolean     
fullAuthorizationsBoolean     
fullContactConnectionsBoolean     
fullContactCriteriaBoolean     
pointOfSalesIdLong     

Return value

ContactDataListResult
contactDatasList of ContactDataResult     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

saveStructureMember

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to modify or create a contact member of a structure. The status of the newly created contact is PENDING ; the account will be validated and activated by a backoffice operator. Its state will change to VALID if accepted and REJECTED otherwise

Parameters

structureMemberContactDataStructureMemberDataCompleteDTO contains information about the contact to be saved

StructureMemberDataComplete
structureMemberStructureMemberContactDataMandatory parameter
addressesList of ContactAddressData     
administrativeNumbersList of ExternalAdministrativeNumberData     
authorizationsList of AuthorizationData     
campaignTrackerString     
contactConnectionsList of ContactConnection     
externalContactCriterionDataList of ExternalContactCriterionData     
fullAddressesBoolean     
fullAuthorizationsBoolean     
fullContactConnectionsBoolean     
fullContactCriteriaBoolean     
pointOfSalesIdLong     

Return value

StructureMemberContactResult
addressesList of ContactAddressData     
authorizationsList of AuthorizationData     
contactConnectionsList of ContactConnectionDetailed     
contactCriteriaList of ExternalContactCriterionData     
contactNumberString (20)     
functionString     
individualContactDataIndividualContactData     
loginString     
passwordString     
role(MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
     
state(VALID|INVALIDATED|
PENDING|REJECTED|
DUPLICATE)
     
structureContactNumberString (20)     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

saveStructureMembers

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method create/update a list of structure members. The api processes atomic update of each structure member {@link StructureMemberDataComplete} in the same order as provided and returns the result {@link StructureMemberContactResult } for each such update in an ordered list inside {@link StructureMemberContactListResult}

Parameters

structureMembersList of StructureMemberDataCompleteMandatory
Mandatory, there should be atleast one member to be updated. The limit on max number of members which can be created/updated is 10000 The status of the newly created contact is PENDING ; the account will be validated and activated by a backoffice operator. Its state will change to VALID if accepted and REJECTED otherwise
The following error codes can be returned: The following error codes can be returned:
  • error.contact.wrongContactNumber : the given member contact or the structure contact does not exist;
  • error.contact.limitExceeded : when number of members to be updated are more than 20;

Return value

StructureMemberCompleteListResult
structureMemberContactDataList of StructureMemberContactResult     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

searchContactByCriteria

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Allow to search for contacts passing a choice of filters : contact reference, roles, connections, email, phone, etc.

Parameters

contactReferenceString (20)     
contactRolesList of (MEMBER|PARTNER|PRODUCER|
PUBLIC|RELAY|SUPPLIER|
GUIDE|CONTRACTOR|SUPPORT|
EXHIBITOR)
     
contactConnectionsList of ContactConnection     
contactDetailsList of (GENERAL|QUALITIES|
AUTHORIZATIONS|CRITERIA|
INDICATORS|ADVANTAGES|
ADDRESSES|COM_MEANS|
FINANCIAL|CONNECTIONS|
INDIVIDUAL_PHOTO|
INVALIDATED_QUALITIES)
     
socialConnectionsList of ContactSocialConnection     
phoneString     
structureContactNumberString (20)     
contactTextSearchContactTextSearch     
contactType(INDIVIDUAL|STRUCTURE)     
includeWithoutConnectionbooleanMandatory
Optional. If true, search for all contacts, including the ones not having a login. If not defined, set to false.
startPositionLong     
maxResultsLong     

ContactTextSearch
contactFileHistoryCriteriaContactFileHistoryCriteriaProvide a criteria on contacts result to know if contacts are purchasers or billers of a given file contact number
searchFieldsList of (NAME|EMAIL|ADDRESS|LOGIN|
NUMBER|CARD_ID|BADGE_ID)
     
searchTextString     

Return value

ContactSearchResult
contactsList of ContactDataResult     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

unsubscribeContact

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

hashIdentifierString     

Return value

ContactAuthorizationResult
contactAuthorizationContactAuthorizationData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactAuthorizationData
authorizationsDataList of AuthorizationData