...
e.g. For patch-configData template you can notice that the xpathTemplate may have different unwanted characters such as " ''' " as in the first case or "' \'' " as in the second case here below shown
first case
Code Block | ||
---|---|---|
| ||
{ "templateId": "patch-configData", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='''{{idNearRTRIC}}''']/attributes/pLMNInfoList[@mcc='''{{mcc}}''' and @mnc='''{{mnc}}''']/sNSSAIList[@sNssai='''{{sNssai}}''']", "includeDescendants": true } |
second case
Code Block | collapse | true
---|
{ "templateId": "patch-configData", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNssai}}'\'']", "includeDescendants": true } |
...
The right xpathTemplate syntax should be the following (i.e. single " ' "):
Code Block | collapse | true
---|
{ "templateId": "patch-configData", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='{{idNearRTRIC}}']/attributes/pLMNInfoList[@mcc='{{mcc}}' and @mnc='{{mnc}}']/sNSSAIList[@sNssai='{{sNssai}}']", "includeDescendants": true } |
...