{"type":"api","title":"Duplicate sensor test template","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"duplicateSensorTestTemplate","tags":["Sensors"],"summary":"Duplicate sensor test template","description":"Intent API to duplicate an existing SENSOR test template","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"templateName":{"type":"string"},"newTemplateName":{"type":"string"}},"$$ref":"#/definitions/DuplicateSensorTestTemplateRequest"},"in":"body"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"version":{"type":"string"},"response":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"version":{"type":"number"},"modelVersion":{"type":"integer"},"startTime":{"type":"number"},"lastModifiedTime":{"type":"number"},"numAssociatedSensor":{"type":"number"},"location":{"type":"object","properties":{}},"siteHierarchy":{"type":"object","properties":{}},"status":{"type":"string"},"connection":{"type":"string"},"frequency":{"type":"object","properties":{}},"rssiThreshold":{"type":"integer"},"numNeighborAPThreshold":{"type":"integer"},"scheduleInDays":{"type":"number"},"wlans":{"type":"array","items":{"type":"object"}},"ssids":{"type":"array","items":{"type":"object","properties":{"bands":{"type":"object","properties":{}},"ssid":{"type":"string"},"profileName":{"type":"string"},"authType":{"type":"string"},"authTypeRcvd":{"type":"object","properties":{}},"psk":{"type":"string"},"username":{"type":"object","properties":{}},"password":{"type":"object","properties":{}},"eapMethod":{"type":"object","properties":{}},"scep":{"type":"boolean"},"authProtocol":{"type":"object","properties":{}},"certfilename":{"type":"object","properties":{}},"certxferprotocol":{"type":"string"},"certstatus":{"type":"string"},"certpassphrase":{"type":"object","properties":{}},"certdownloadurl":{"type":"object","properties":{}},"numAps":{"type":"number"},"numSensors":{"type":"number"},"layer3webAuthsecurity":{"type":"object","properties":{}},"layer3webAuthuserName":{"type":"object","properties":{}},"layer3webAuthpassword":{"type":"object","properties":{}},"extWebAuthVirtualIp":{"type":"object","properties":{}},"layer3webAuthEmailAddress":{"type":"object","properties":{}},"qosPolicy":{"type":"string"},"extWebAuth":{"type":"boolean"},"whiteList":{"type":"boolean"},"extWebAuthPortal":{"type":"object","properties":{}},"extWebAuthAccessUrl":{"type":"object","properties":{}},"extWebAuthHtmlTag":{"type":"array","items":{"type":"object"}},"thirdParty":{"type":"object","properties":{"selected":{"type":"boolean"}}},"id":{"type":"number"},"wlanId":{"type":"number"},"wlc":{"type":"object","properties":{}},"validFrom":{"type":"number"},"validTo":{"type":"number"},"status":{"type":"string"},"tests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"config":{"type":"array","items":{"type":"object","properties":{}}}}}}}}},"testScheduleMode":{"type":"string"},"showWlcUpgradeBanner":{"type":"boolean"},"radioAsSensorRemoved":{"type":"boolean"},"encryptionMode":{"type":"string"},"runNow":{"type":"string"},"locationInfoList":{"type":"array","items":{"type":"object","properties":{"locationId":{"type":"string"},"locationType":{"type":"string"},"allSensors":{"type":"boolean"},"siteHierarchy":{"type":"string"},"macAddressList":{"type":"array","items":{"type":"object"}}}}},"schedule":{"type":"object","properties":{"testScheduleMode":{"type":"string"},"scheduleRange":{"type":"array","items":{"type":"object","properties":{"timeRange":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"frequency":{"type":"object","properties":{"value":{"type":"integer"},"unit":{"type":"string"}}}}}},"day":{"type":"string"}}}},"startTime":{"type":"number"},"frequency":{"type":"object","properties":{"value":{"type":"integer"},"unit":{"type":"string"}}}}},"tests":{"type":"object","properties":{}},"sensors":{"type":"array","items":{"type":"object"}},"apCoverage":{"type":"array","items":{"type":"object","properties":{"bands":{"type":"string"},"numberOfApsToTest":{"type":"integer"},"rssiThreshold":{"type":"integer"}}}},"testDurationEstimate":{"type":"integer"},"testTemplate":{"type":"boolean"},"legacyTestSuite":{"type":"boolean"},"tenantId":{"type":"object","properties":{}}}}},"$$ref":"#/definitions/DuplicateSensorTestTemplateResponse"}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"404":{"description":"The client made a request for a resource that does not exist."},"500":{"description":"The server could not fulfill the request."}},"__originalOperationId":"duplicateSensorTestTemplate","method":"put","path":"/dna/intent/api/v1/sensorTestTemplate"}}