Configuring a Destination Profile with an Email Id Index
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/callhome/inst/destprof.json
{ "callhomeDestProf": { "children": [ { "callhomeCustomProfile": { "attributes": { "profileName": "SampleString_123" }, "children": [ { "callhomeCustomEmail": { "attributes": { "emailAddr": "name@abc.com", "seqNum": "19" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <callhome-items> <inst-items> <destprof-items> <custprof-items> <CustomProfile-list> <profileName>SampleString_123</profileName> <custemail-items> <CustomEmail-list> <seqNum>19</seqNum> <emailAddr>name@abc.com</emailAddr> </CustomEmail-list> </custemail-items> </CustomProfile-list> </custprof-items> </destprof-items> </inst-items> </callhome-items> </System>