POST v2/api/router/servicesAutoScan
Request Information
URI Parameters
None.
Body Parameters
ServicesAutoScanViewModelName | Description | Type | Additional information |
---|---|---|---|
DevicesPorts | Collection of DevicePortsViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "DevicesPorts": [ { "ip": "sample string 1", "mac": "sample string 2", "ports": [ { "numPort": 1, "protocol": "sample string 2", "service": "sample string 3" }, { "numPort": 1, "protocol": "sample string 2", "service": "sample string 3" } ] }, { "ip": "sample string 1", "mac": "sample string 2", "ports": [ { "numPort": 1, "protocol": "sample string 2", "service": "sample string 3" }, { "numPort": 1, "protocol": "sample string 2", "service": "sample string 3" } ] } ] }
application/xml, text/xml
Sample:
<ServicesAutoScanViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neocontrol.API.ViewModels"> <DevicesPorts> <DevicePortsViewModel> <ip>sample string 1</ip> <mac>sample string 2</mac> <ports> <PortsViewModel> <numPort>1</numPort> <protocol>sample string 2</protocol> <service>sample string 3</service> </PortsViewModel> <PortsViewModel> <numPort>1</numPort> <protocol>sample string 2</protocol> <service>sample string 3</service> </PortsViewModel> </ports> </DevicePortsViewModel> <DevicePortsViewModel> <ip>sample string 1</ip> <mac>sample string 2</mac> <ports> <PortsViewModel> <numPort>1</numPort> <protocol>sample string 2</protocol> <service>sample string 3</service> </PortsViewModel> <PortsViewModel> <numPort>1</numPort> <protocol>sample string 2</protocol> <service>sample string 3</service> </PortsViewModel> </ports> </DevicePortsViewModel> </DevicesPorts> </ServicesAutoScanViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.