Web API with dynamic parameters

Hello @dhouha.cherif
Kindly refer to this thread, its may helps you