Re: Visa Alias Directory API. Empty string in updatealias optional field.

Solved! Go to solution
ankoval
Regular Visitor

Visa Alias Directory API. Empty string in updatealias optional field.

Hello Community!

 

Please let me know how can I clear an optional field value via the following API (e.g. contactPhoneNumber field😞

POST https://sandbox.api.visa.com/visaaliasdirectory/v1/manage/updatealias

 

If I send

{

"guid": "574f4b6a4c2b70472f306f300099515a789092348832455975343637a4d3170",

"contactPhoneNumber ": ""

}

 

the phone number is still there when I send

POST https://sandbox.api.visa.com/visaaliasdirectory/v1/manage/getalias

 

The same behaviour when "contactPhoneNumber ": null.

 

Thanks,
Andrey

12 REPLIES 12
API_Products
Visa Developer Support Specialist

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Hey @ankoval,

 

We're happy to help. We're currently reviewing your query and we'll get back to you soon. 




Thanks,

Diana



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

ankoval
Regular Visitor

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Thanks for your response @API_Products! Do you have any updates on the issue? We are planning to go to production soon and this issue affects our implementation significantly. At least we should understand whether it's a bug or a designed behavior that we cannot clear some field.

API_Products
Visa Developer Support Specialist

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Hey @ankoval,

 

Thanks for following up on the query. We're happy to answer your question. Sending a blank field such as “contactPhoneNumber ": "" is the right way to clear a field.

 

But as you've observed, that is not the current behavior. We will get this updated in our upcoming releases. We apologize for the inconvenience. Please let us know if you have other questions, we're happy to help.




Thanks,

Diana



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

ankoval
Regular Visitor

Re: Visa Alias Directory API. Empty string in updatealias optional field.

@API_Products, thanks for the clarifications Diana!

 

It would be great if you have some rough estimation when the new release with the changed behaviour could be available in the sandbox for testing.

 

Or maybe you have some roadmap or public web-page that we could subscribe on to be informed when the issue is fixed.

API_Products
Visa Developer Support Specialist

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Hey @ankoval,

 

Good questions and we're happy to help. We'll get back to you soon on this. Let us know if we can help answer any other questions that you have.  




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Hey @ankoval,

 

This has been prioritized in our backlog and scheduled to be fixed by the April timeframe. The product team has noted your request and will notify you via this thread once the update has been made.  Thank you for  your interest in Visa Alias Directory Service and feel free to reach out with any further questions.




Thanks,

Diana



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

ankoval
Regular Visitor

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Thank you for the update! We are looking forward to the fix in April.

API_Products
Visa Developer Support Specialist

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Hello @ankoval,

 

Thank you again for your interest in Visa Alias Directory Service. A quick update on this inquiry. This issue will be fixed in our upcoming release and available by May 5, 2021. Please don’t hesitate to reach out with any other questions or feedback. 




Thanks,

Diana



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

ankoval
Regular Visitor

Re: Visa Alias Directory API. Empty string in updatealias optional field.

Thanks for the update Diana, we will test the fix and let you know if it's resolved.