{"type":"api","title":"Create 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":"createSensorTestTemplate","tags":["Sensors"],"summary":"Create sensor test template","description":"Intent API to create a SENSOR test template with a new SSID, existing SSID, or both new and existing SSID","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"ssids":{"type":"array","items":{"type":"object","properties":{"ssid":{"type":"string"},"profileName":{"type":"string"},"authType":{"type":"string"},"thirdParty":{"type":"object","properties":{"selected":{"type":"boolean"}}},"psk":{"type":"string"},"tests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"config":{"type":"array","items":{"type":"object"}}}}},"categories":{"type":"array","items":{"type":"string"}},"qosPolicy":{"type":"string"}}}},"name":{"type":"string"},"connection":{"type":"string"},"apCoverage":{"type":"array","items":{"type":"object","properties":{"bands":{"type":"string"},"numberOfApsToTest":{"type":"string"},"rssiThreshold":{"type":"string"}}}},"modelVersion":{"type":"integer"}},"$$ref":"#/definitions/CreateSensorTestTemplateRequest"},"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"}},"schedule":{"type":"object","properties":{}},"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/CreateSensorTestTemplateResponse"}},"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":"createSensorTestTemplate","method":"post","path":"/dna/intent/api/v1/sensor"}}