I am trying to figure out how to construct JSON requests to get a single travel mode for my rest service. My rest service is already configured with 4 travel modes, I can retrieve travel modes from the retrieveTravelModes call. But if I want to use anyone what request of JSON I should use? I am using this help from ESRI online help. I am not sure how to provide travelMode parameters inside of my JSON request.
https://developers.arcgis.com/rest/network/api-reference/closest-facility-synchronous-service.htm
https://developers.arcgis.com/rest/network/api-reference/closest-facility-synchronous-service.htm#ES...
![IrfanAfsar_1-1625168063164.png IrfanAfsar_1-1625168063164.png](https://community.esri.com/t5/image/serverpage/image-id/17552iB1C8EF3C4D103B7F/image-size/medium?v=v2&px=400)
![IrfanAfsar_0-1625167512128.png IrfanAfsar_0-1625167512128.png](https://community.esri.com/t5/image/serverpage/image-id/17549i27B5D077E879D5E4/image-size/medium?v=v2&px=400)