Hi @Nagul M Shaik ,
Using flower braces directly is not supported but to send a value during the execution time and to use {} inside the urlTemplate, one has to also define templateParameters as below:
param rithapimNme string = 'testapirith'
param apiName string = 'sample-api'
param riopname string = 'get-operation'
resource api 'Microsoft.ApiManagement/service/apis@2022-08-01' = {
name: '${rithapimNme}/${apiName}'
properties: {
displayName: 'Sample API'
path: apiName
protocols: [ 'https' ]
serviceUrl: 'https://httpbin.org/anything'
}
}
resource apiOperation 'Microsoft.ApiManagement/service/apis/operations@2022-08-01' = {
name: '${rithapimNme}/${apiName}/${riopname}'
dependsOn: [ api ]
properties: {
displayName: 'Get the Order'
method: 'GET'
urlTemplate: '{purchaseorder}'
templateParameters: [
{
name: 'purchaseorder'
type: 'string'
required: true
description: 'Purchase order ID'
}
]
request: {
description: 'Hey Rithwik, Test request for Operation'
queryParameters: []
headers: []
}
responses: [
{
statusCode: 200
description: 'Succeeded'
representations: []
}
]
}
}
Output:
If Value given it changes as below:
If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.

If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.