POST api/networkaccess/insert
Request Information
URI Parameters
None.
Body Parameters
IPAddressClass| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| USER_TYPE | integer |
None. |
|
| IP_ADDRESS_LIST | Collection of IPAddressDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"USER_TYPE": 2,
"IP_ADDRESS_LIST": [
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
},
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<IPAddressClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
<ID>1</ID>
<IP_ADDRESS_LIST>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
</IP_ADDRESS_LIST>
<USER_TYPE>2</USER_TYPE>
</IPAddressClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IPAddressResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
None. |
|
| Message | string |
None. |
|
| Data | Collection of IPAddressClass |
None. |
Response Formats
application/json, text/json
Sample:
{
"flag": 1,
"Message": "sample string 2",
"Data": [
{
"ID": 1,
"USER_TYPE": 2,
"IP_ADDRESS_LIST": [
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
},
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
}
]
},
{
"ID": 1,
"USER_TYPE": 2,
"IP_ADDRESS_LIST": [
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
},
{
"IP_ADDRESS": "sample string 1",
"IS_INACTIVE": true,
"REMARKS": "sample string 3"
}
]
}
]
}
application/xml, text/xml
Sample:
<IPAddressResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
<Data>
<IPAddressClass>
<ID>1</ID>
<IP_ADDRESS_LIST>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
</IP_ADDRESS_LIST>
<USER_TYPE>2</USER_TYPE>
</IPAddressClass>
<IPAddressClass>
<ID>1</ID>
<IP_ADDRESS_LIST>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
<IPAddressDetails>
<IP_ADDRESS>sample string 1</IP_ADDRESS>
<IS_INACTIVE>true</IS_INACTIVE>
<REMARKS>sample string 3</REMARKS>
</IPAddressDetails>
</IP_ADDRESS_LIST>
<USER_TYPE>2</USER_TYPE>
</IPAddressClass>
</Data>
<Message>sample string 2</Message>
<flag>1</flag>
</IPAddressResponse>