232
Views
5
Comments
How to perform API Versioning
Application Type
Traditional Web, Reactive

Hello All,

I have existing api with https://environmet/module/xyz  Now PO/business user asking for few modification into it. they don't want to change the existing URL & also it is impacting no. of places.

I know api versioning in .net having multiple options like 

1] Query String

2] URL

In the above 2 methods we need to change the URL. 

3] HTTP Header Based versioning 

In this case no need to change the existing URL need to change/update the header with version 

How we can achieve/implement api versioning in outsystems


2024-03-14 15-17-31
Rasika Modi

Hi Pradip,

Did you checked this forum discussion on API versioning.

Regards,

Rasika

2022-05-18 07-58-50
Pradip Chavhan

Hi Rasika,

Thanks for the reply, i went through the link but i did not find meaningful. As i don't want to change my existing URL. Because we have multiple clients using that URL so i can not change it.

API header versioning is an option we can use, but i don't know how to implement it.

2021-12-07 07-28-47
Arnold Ayaoan Jr

Hi @Pradip Chavhan,

Did you try adding a input parameter and receive it on headers? And execute the new or old logic accordingly.

Hope it may shed some light.

2022-05-18 07-58-50
Pradip Chavhan

Hi @Arnold Ayaoan Jr  i will go through it & i will share the feedback soon.

Thanks.

2025-04-17 13-53-00
Mohit Mathew

Hi Pradip

If you are using same API for multiple Clients, you can use 2 input parameters(1. ClientId,2. Input para DataType as Text ) and based on client write different logic and use JsonDeserialize for converting the Text to structure.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.