Contact and SAM campaign API test account

When using underneath, I accept related terms and conditions

Museum Sandbox

MOSA is a demo museum. The service can be freely tested with this account, within the limits of a reasonable and fair use.
There is a demo ticketshop on top of this sandox, allowing you to easily make a mapping between catalog fields and their meaning: https://mosa.demo-shop.secutix.com/

WSDL and credentials

The WSDL of those webservices can be accessed at the following urls.

The test login is : MOSA_B2C
The test password is : P@ssw0rd

REST

The REST endpoint of these services can be accessed at the following URLs using POST method.

To generate the JWT, The Virtual Operator is: MOSA_B2C The secret key is: your-256-bit-secret
You need to have an interface linked to a sales channel and this virtual operator.

Theatre based sandbox

CUBE is a demo theatre. The service can be freely tested with this account, within the limits of a reasonable and fair use.
There is a demo ticketshop on top of this sandox, allowing you to easily make a mapping between catalog fields and their meaning: https://thecube-cube.demo-shop.secutix.com/

WSDL and credentials

The WSDL of those webservices can be accessed at the following urls.

Marketing target : https://cube.demo-ws.secutix.com:443/tnco/external-remoting/com.secutix.service.campaign.v1_0.ExternalCampaignService.webservice?wsdl

The test login is : CUBE_B2C
The test password is : P@ssw0rd

REST

The REST endpoint of these services can be accessed at the following URLs using POST method.

To generate the JWT, The Virtual Operator is: CUBE_B2C The secret key is: your-256-bit-secret
You need to have an interface linked to a sales channel and this virtual operator.

Example calls

Call to getContactData

Request (SOAP)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://v2_21.ContactInformationPublicService.service.secutix.com/" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  <soapenv:Header>
    <ns2:Security soapenv:mustUnderstand="1">
      <ns2:UsernameToken>
        <ns2:Username>MOSA_B2C</ns2:Username>
        <ns2:Password>P@ssw0rd</ns2:Password>
      </ns2:UsernameToken>
    </ns2:Security>
  </soapenv:Header>
  <soapenv:Body>
    <v2:getContactData>
      <!--Optional:-->
      <contactNumber>43</contactNumber>
      <!--Zero or more repetitions:-->
      <details>ADDRESSES</details>
    </v2:getContactData>
  </soapenv:Body>
</soapenv:Envelope>
Request (REST)
{
    "contactNumber": "43",
    "details": ["ADDRESSES"]
}
Response (SOAP)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getContactDataResponse xmlns:ns2="http://v2_21.ContactInformationPublicService.service.secutix.com/">
      <ContactDataResult>
        <requestId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
        <statusCode>success</statusCode>
        <statusDetail xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
        <addresses>
          <billingAddress>true</billingAddress>
          <contactAddressId>129856431</contactAddressId>
          <countryCode>FR</countryCode>
          <formattedAddress>55 RUE FELIBIEN
44000 NANTES
FRANCE</formattedAddress>
          <main>true</main>
          <normalizationRating>UNKNOWN</normalizationRating>
          <normalizationState>TO_BE_NORMALIZED</normalizationState>
          <shippingAddress>true</shippingAddress>
          <street1>55 RUE FELIBIEN</street1>
          <town>NANTES</town>
          <zipCode>44000</zipCode>
        </addresses>
        <contactId>129856430</contactId>
        <contactNumber>43</contactNumber>
        <creationDate>2015-07-10T15:07:07+02:00</creationDate>
        <endValidityDate>2999-12-31T23:59:59+01:00</endValidityDate>
        <hasAdvantages>false</hasAdvantages>
        <hasWarning>false</hasWarning>
        <individualContact>
          <requestId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
          <statusCode xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
          <statusDetail xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
          <contactNumber>43</contactNumber>
          <countryCode>FR</countryCode>
          <email>didier.duvinage@secutixtest.com</email>
          <endValidityDate>2999-12-31T23:59:59+01:00</endValidityDate>
          <individualBirthdate>1944-07-13T00:00:00+01:00</individualBirthdate>
          <individualFirstname>Didier</individualFirstname>
          <individualGender>MALE</individualGender>
          <individualLastname>DUVINAGE</individualLastname>
          <individualPreferredLanguage>fr</individualPreferredLanguage>
          <individualTitle>MR</individualTitle>
          <internationalPrefixPhone1>33</internationalPrefixPhone1>
          <login>didier.duvinage@secutixtest.com</login>
          <nationalNumberPhone1>0629620455</nationalNumberPhone1>
          <prospect>true</prospect>
          <zipCode>44000</zipCode>
        </individualContact>
        <login>didier.duvinage@secutixtest.com</login>
        <loginLastUpdateTime>2016-09-25T07:21:11+02:00</loginLastUpdateTime>
        <loginLastUpdateUser>BARBARA</loginLastUpdateUser>
        <role>PUBLIC</role>
        <state>VALID</state>
        <structureContact>
          <internationalPrefixPhone1>33</internationalPrefixPhone1>
          <nationalNumberPhone1>0629620455</nationalNumberPhone1>
          <prospect>true</prospect>
        </structureContact>
        <type>INDIVIDUAL</type>
      </ContactDataResult>
    </ns2:getContactDataResponse>
  </S:Body>
</S:Envelope>
Response (REST)
{
    "statusCode": "success",
    "statusDetail": null,
    "requestId": null,
    "contactNumber": "43",
    "individualContact": {
        "statusCode": null,
        "statusDetail": null,
        "requestId": null,
        "contactNumber": "43",
        "individualGender": "MALE",
        "individualTitle": "MR",
        "individualFirstname": "Didier",
        "individualLastname": "DUVINAGE",
        "individualFirstnamePhonetic": null,
        "individualLastnamePhonetic": null,
        "nickname": null,
        "individualBirthdate": -678243600000,
        "individualCountryCode": null,
        "individualIdNumber": null,
        "email": "didier.duvinage@secutixtest.com",
        "alternativeEmails": [],
        "login": "didier.duvinage@secutixtest.com",
        "password": null,
        "digestedPassword": null,
        "encryptedPassword": null,
        "badgeIdentifier": null,
        "individualPreferredLanguage": "fr",
        "prospect": true,
        "zipCode": "44000",
        "countryCode": "FR",
        "loginCreation": null,
        "endValidityDate": 32503676399000,
        "endValidityReason": null,
        "handicapType": "HANDICAP/NONE",
        "remark": null,
        "addressSalutation": "Monsieur",
        "letterSalutation": "Cher Monsieur",
        "confidentialityLevelEnum": "FREE",
        "cellPhoneNumber": null,
        "faxNumber": null,
        "phoneNumber1": "+33629620455",
        "phoneNumber2": null,
        "phoneNumber3": null,
        "cellPhoneNumberVerified": false,
        "role": "PUBLIC",
        "active": true,
        "guest": false
    },
    "structureContact": {
        "contactNumber": null,
        "allContactNumbers": null,
        "state": null,
        "structureOfficialName": null,
        "structureAddressName1": null,
        "structureAddressName2": null,
        "structurePreferredLanguage": null,
        "structureCommunityType": null,
        "numberOfEmployees": null,
        "structureTypeId": null,
        "login": null,
        "password": null,
        "prospect": true,
        "siretCode": null,
        "primaryContactId": null,
        "community": false,
        "email": null,
        "alternativeEmails": [],
        "remark": null,
        "addressSalutation": "Monsieur",
        "letterSalutation": "Cher Monsieur",
        "confidentialityLevelEnum": "FREE",
        "parentStructureContactNumber": null,
        "structureEuropeanVatCode": null,
        "badgeIdentifier": null,
        "cellPhoneNumber": null,
        "faxNumber": null,
        "phoneNumber1": "+33629620455",
        "phoneNumber2": null,
        "phoneNumber3": null,
        "role": "PUBLIC"
    },
    "endValidityDate": 32503676399000,
    "role": "PUBLIC",
    "state": "VALID",
    "hasWarning": false,
    "login": "didier.duvinage@secutixtest.com",
    "type": "INDIVIDUAL",
    "financialData": null,
    "contactQualities": [],
    "mergedContactNumber": null,
    "function": null,
    "creationDate": 1436533626647,
    "contactId": 129856430,
    "invalidatedContactQualities": [],
    "contactFileHistoryCriteria": null,
    "authorizations": [],
    "contactCriteria": [],
    "indicators": [],
    "advantages": [],
    "addresses": [
        {
            "contactAddressId": 129856431,
            "name": null,
            "line1": "55 RUE FELIBIEN",
            "line2": null,
            "line3": null,
            "zipCode": "44000",
            "town": "NANTES",
            "countryCode": "FR",
            "main": true,
            "shippingAddress": true,
            "billingAddress": true,
            "formattedAddress": "55 RUE FELIBIEN\n44000 NANTES\nFRANCE",
            "documentFormattedAddress": "Monsieur Didier DUVINAGE\n55 RUE FELIBIEN\n44000 NANTES\nFRANCE",
            "normalizationState": "TO_BE_NORMALIZED",
            "normalizationRating": "UNKNOWN",
            "gpsLatitude": null,
            "gpsLongitude": null,
            "faxNumber": null,
            "phoneNumber1": null,
            "phoneNumber2": null,
            "phoneNumber3": null,
            "localityCriteriaElements": [
                {
                    "countryCode": "FR",
                    "localityCriterionCode": "DEPT",
                    "localityCriterionName": {
                        "translations": [
                            {
                                "locale": "fr",
                                "value": "Département"
                            },
                            {
                                "locale": "en",
                                "value": "Department"
                            },
                            {
                                "locale": "es",
                                "value": "Departamento"
                            },
                            {
                                "locale": "de",
                                "value": "Departement"
                            },
                            {
                                "locale": "it",
                                "value": "Dipartimento"
                            }
                        ]
                    },
                    "localityCriterionElementCode": "63",
                    "localityCriterionElementName": "Puy-de-Dôme"
                },
                {
                    "countryCode": "FR",
                    "localityCriterionCode": "REGION",
                    "localityCriterionName": {
                        "translations": [
                            {
                                "locale": "fr",
                                "value": "Région"
                            },
                            {
                                "locale": "en",
                                "value": "Region"
                            },
                            {
                                "locale": "es",
                                "value": "Región"
                            },
                            {
                                "locale": "de",
                                "value": "Region"
                            },
                            {
                                "locale": "it",
                                "value": "Regione"
                            }
                        ]
                    },
                    "localityCriterionElementCode": "FR-O",
                    "localityCriterionElementName": "Hauts-de-France"
                }
            ],
            "street2": null,
            "street1": "55 RUE FELIBIEN",
            "street3": null,
            "street4": null
        }
    ],
    "contactConnections": [],
    "socialConnections": [],
    "loginLastUpdateUser": "STX-80949-pre",
    "loginLastUpdateTime": 1601389573258,
    "hasAdvantages": false,
    "individualPhotoData": null,
    "contactOrigin": {
        "code": null,
        "translations": {}
    },
    "createdFrom": {},
    "guest": false
}

Call to createOrUpdateTarget

Request (SOAP)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://v1_0.ExternalCampaignService.service.secutix.com/" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  <soapenv:Header>
    <ns2:Security soapenv:mustUnderstand="1">
      <ns2:UsernameToken>
        <ns2:Username>CUBE_B2C</ns2:Username>
        <ns2:Password>P@ssw0rd</ns2:Password>
      </ns2:UsernameToken>
    </ns2:Security>
  </soapenv:Header>
  <soapenv:Body>
    <v1:createOrUpdateTarget>
      <!--Optional:-->
      <!--<requestId></requestId>-->
      <!--Optional:-->
      <!--<campaignTargetId></campaignTargetId>-->
      <!--Optional:-->
      <code>testVLA</code>
      <!--Optional:-->
      <internalName>test target created by SOAPUI</internalName>
      <!--Zero or more repetitions:-->
      <contactNumbers>13</contactNumbers>
      <contactNumbers>15</contactNumbers>
    </v1:createOrUpdateTarget>
  </soapenv:Body>
</soapenv:Envelope>
Response (SOAP)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:createOrUpdateTargetResponse xmlns:ns2="http://v1_0.ExternalCampaignService.service.secutix.com/">
         <CreateOrUpdateTargetResult>
            <requestId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <statusCode>success</statusCode>
            <statusDetail xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <campaignTargetId>10228309596848</campaignTargetId>
         </CreateOrUpdateTargetResult>
      </ns2:createOrUpdateTargetResponse>
   </S:Body>
</S:Envelope>