GDPR Soap calls

Avatar

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
butnariui673910
Level 1

13-06-2018

Hello, I need to delete members  using soap calls. The GDPR documentation that I found is not very helpful : Campaign Classic - General Data Protection Regulation .

So I made a soap call like this :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:gdprRequest">

  <soapenv:Header/>

  <soapenv:Body>

    <urn:CreateRequestByName>

        <urn:namespaceName><![CDATA[privacyRequest5]]></urn:namespaceName>

        <urn:reconciliationValue><![CDATA[test@test.com]]></urn:reconciliationValue>

        <urn:type><![CDATA[access]]></urn:type>

        <urn:confirmDeletePending><![CDATA[true]]></urn:confirmDeletePending>

        <urn:id><![CDATA[3]]></urn:id>

    </urn:CreateRequestByName>

  </soapenv:Body>

</soapenv:Envelope>


I got this error : XTK-170019 Access denied. What I am doing wrong? As a remark my Soap action is nms:gdprRequest#CreateRequestByName

Thank you in advance!

Accepted Solutions (0)

Answers (6)

Answers (6)

Avatar

Avatar
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile

Avatar
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Adhiyan
Employee

14-06-2018

Hi Bunariui,

This looks like the Public IP address needs to be whitelisted from where you are making the same call.

You can do a r/test for the instance for which you are doing the GDPR SOAP call and get the public IP from there. Then get that IP whitelisted in the instance.

Then the SOAP call should be going fine.


Regards,
Adhiyan

Avatar

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
butnariui673910
Level 1

15-06-2018

Hello Adhiyan,
      So my source ip is 10.98.199.16, which is a private ip, how can I make it whitelisted ?

Thanks in advance,

Ioana

Avatar

Avatar
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile

Avatar
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Adhiyan
Employee

14-06-2018

Hi Loana,

I don't see the instance endpoint here , but if you hit this url : http://<instance_name/r/test  , you should get something like this :

1508627_pastedImage_1.png

You can do this on the machine where POSTMAN is installed.

Also , you need to check if the session token in valid or not . This can be done by doing another simple soap call like get recipients etc.

Regards,

Adhiyan

Avatar

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
butnariui673910
Level 1

14-06-2018

Hello Adhiyan,
     But I'm using postman how can I get the public IP? I made the same call from my VM, where the ip is whitelisted for sure, there I got a NULL response.


Thanks in advance,
Ioana

Avatar

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
butnariui673910
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
butnariui673910
Level 1

13-06-2018

Hi, Yes, I've added the privacy right to my operator. Also I added the session token to my envelope:              

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:gdprRequest">

              <soapenv:Header/>

              <soapenv:Body>

                <urn:CreateRequestByName>

                    <urn:sessiontoken>___a0d42d6c-4124-4f04-929e-63bf1a89bdf6</urn:sessiontoken>

                    <urn:namespaceName><![CDATA[privacyRequest5]]></urn:namespaceName>

                    <urn:reconciliationValue><![CDATA[testioana@test.com]]></urn:reconciliationValue>

                    <urn:type><![CDATA[delete]]></urn:type>

                    <urn:confirmDeletePending><![CDATA[true]]></urn:confirmDeletePending>

                </urn:CreateRequestByName>

              </soapenv:Body>

          </soapenv:Envelope>

      I have the same result

Avatar

Avatar
Boost 5
Level 2
davidk21713691
Level 2

Likes

5 likes

Total Posts

27 posts

Correct reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
davidk21713691
Level 2

Likes

5 likes

Total Posts

27 posts

Correct reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
davidk21713691
Level 2

13-06-2018

Hi,

Did you use the logon method of xtk:session to get the headers? If yes, make sure the operator you're using have Privacy Data Right named right has been added.

This named right is required for Data Controllers in order for them to use privacy tools. This allows them to create new requests, track their evolution, use the API, etc.

1508017_pastedImage_1.png

Thanks

David