VISA TRANSACTION CONTROL Retrieve a Control Document shows as ADD_CONTROLS on Controls Chang History

Solved! Go to solution
JavierSivack
Regular Contributor

VISA TRANSACTION CONTROL Retrieve a Control Document shows as ADD_CONTROLS on Controls Chang History

Hello,

I have realized that if I make a GET call to https://sandbox.api.visa.com/vctc/customerrules/v1/consumertransactioncontrols/{documentID}/rules, on a document to Retrieve a Control Document as API References say.

Then when I make a POST on https://sandbox.api.visa.com/vctc/customerrules/v1/consumertransactioncontrols/controlHistory, to Retrieve a history of changes made to the control document since it was created listed chronologically, the last change, that I asume is the GET call, shows as ADD_CONTROLS status. 

I have tested, doing a delete on the controls, and then a GET, and again the second last is DELETE_CONTROLS, and the last is ADD_CONTROLS.

 

Is that the correct behaviour?

 

Thanks in advance.

Javier Sivack


Javier Sivack
Software Engineer
Ciphertext Solutions, Inc.
3 REPLIES 3
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: VISA TRANSACTION CONTROL Retrieve a Control Document shows as ADD_CONTROLS on Controls Chang His

Hi @JavierSivack,

 

Can you please send the request body and response for all the API calls you are making? Please email it to developer@visa.com and we'll take a look. There are limitations using the sandbox to test the APIs, as sandbox is a static simulator and not a live environment. It is meant to be used as a guide to see the sample request and response.

 

 


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
JavierSivack
Regular Contributor

Re: VISA TRANSACTION CONTROL Retrieve a Control Document shows as ADD_CONTROLS on Controls Chang His

Hi Stacy, 

I had figured out what was doing wrong. I was sending an empty request body.

Now I did not send it, and it does not add the ADD_CONTROLS.

Thanks!

Javier Sivack


Javier Sivack
Software Engineer
Ciphertext Solutions, Inc.
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: VISA TRANSACTION CONTROL Retrieve a Control Document shows as ADD_CONTROLS on Controls Chang His

@JavierSivack , Thanks for sharing your solution!


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.