POST api/fluxmultiapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
FluxMultiViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
None. |
|
| address_ip | string |
Required |
|
| communication_server_id | globally unique identifier |
Required |
|
| db_name | string |
Required |
|
| db_password | string |
Required |
|
| db_username | string |
Required |
|
| description | string |
None. |
|
| id | globally unique identifier |
None. |
|
| number | integer |
None. |
|
| port_ip | integer |
Required |
|
| reporting_address_ip | string |
None. |
|
| reporting_password | string |
None. |
|
| reporting_port_ip | integer |
None. |
|
| reporting_username | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"address_ip": "sample string 2",
"communication_server_id": "e2d4f1ec-d43e-4947-9e77-fcc98f4de956",
"db_name": "sample string 4",
"db_password": "sample string 5",
"db_username": "sample string 6",
"description": "sample string 7",
"id": "82b3f602-9fb7-4232-ba7e-f7f01468187d",
"number": 9,
"port_ip": 10,
"reporting_address_ip": "sample string 11",
"reporting_password": "sample string 12",
"reporting_port_ip": 1,
"reporting_username": "sample string 13"
}
application/xml, text/xml
Sample:
<flux_multi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <address_ip>sample string 2</address_ip> <communication_server_id>e2d4f1ec-d43e-4947-9e77-fcc98f4de956</communication_server_id> <db_name>sample string 4</db_name> <db_password>sample string 5</db_password> <db_username>sample string 6</db_username> <description>sample string 7</description> <id>82b3f602-9fb7-4232-ba7e-f7f01468187d</id> <number>9</number> <port_ip>10</port_ip> <reporting_address_ip>sample string 11</reporting_address_ip> <reporting_password>sample string 12</reporting_password> <reporting_port_ip>1</reporting_port_ip> <reporting_username>sample string 13</reporting_username> </flux_multi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"28142a52-c856-429c-8b25-0abafbdaa2ce"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">28142a52-c856-429c-8b25-0abafbdaa2ce</guid>