{"type":"api","title":"Create Network","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":"createNetwork","tags":["Network Settings"],"summary":"Create Network","description":"API to create a network for DHCP, Syslog, SNMP, NTP, Network AAA, Client and EndPoint AAA, and/or DNS center server settings.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"settings":{"type":"object","properties":{"dhcpServer":{"type":"array","items":{"type":"string"}},"dnsServer":{"type":"object","properties":{"domainName":{"type":"string","enum":["can only contain alphanumeric characters or hyphen"]},"primaryIpAddress":{"type":"string","enum":["valid range : 1.0.0.0 - 223.255.255.255"]},"secondaryIpAddress":{"type":"string","enum":["valid range : 1.0.0.0 - 223.255.255.255"]}}},"syslogServer":{"type":"object","properties":{"ipAddresses":{"type":"array","items":{"type":"string"}},"configureDnacIP":{"type":"boolean"}}},"snmpServer":{"type":"object","properties":{"ipAddresses":{"type":"array","items":{"type":"string"}},"configureDnacIP":{"type":"boolean"}}},"netflowcollector":{"type":"object","properties":{"ipAddress":{"type":"string"},"port":{"type":"number"}}},"ntpServer":{"type":"array","items":{"type":"string"}},"timezone":{"type":"string"},"messageOfTheday":{"type":"object","properties":{"bannerMessage":{"type":"string"},"retainExistingBanner":{"type":"string"}}},"network_aaa":{"type":"object","properties":{"servers":{"type":"string","enum":["Server type supported by ISE and AAA"]},"ipAddress":{"type":"string","enum":["Mandatory for ISE servers and for AAA consider this as additional IP."]},"network":{"type":"string","enum":["For AAA server consider it as primary IP and For ISE consider as Network"]},"protocol":{"type":"string"},"sharedSecret":{"type":"string","enum":["Supported only by ISE Servers"]}}},"clientAndEndpoint_aaa":{"type":"object","properties":{"servers":{"type":"string"},"ipAddress":{"type":"string","enum":["Mandatory for ISE servers."]},"network":{"type":"string"},"protocol":{"type":"string"},"sharedSecret":{"type":"string","enum":["Supported only by ISE servers"]}}}}}},"$$ref":"#/definitions/CreateNetworkRequest"},"in":"body"},{"name":"__persistbapioutput","description":"Persist bapi sync response","default":true,"required":false,"type":"boolean","in":"header"},{"name":"siteId","description":"Site id to which site details to associate with the network settings.","default":"","required":true,"type":"string","in":"path"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"executionId":{"type":"string"},"executionStatusUrl":{"type":"string"},"message":{"type":"string"}},"$$ref":"#/definitions/CreateNetworkResponse"}},"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":"createNetwork","method":"post","path":"/dna/intent/api/v1/network/{siteId}"}}