GET v1/core/Accounts/{accId}/users/{usrId}/staticaddressing/ipsec
get the IPSEC access modes for this user This can be P2P or Packet
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| accId | the account id |
Define this parameter in the request URI. |
| usrId | the user id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Success": true,
"Data": {
"RoutedMode": {
"Enabled": true
},
"P2PMode": {
"Enabled": true
},
"CareOfAddress": "sample string 1"
},
"ErrorCode": 2,
"ErrorDescription": "sample string 3",
"Meta": "sample string 4"
}
text/javascript
Sample:
{"Success":true,"Data":{"RoutedMode":{"Enabled":true},"P2PMode":{"Enabled":true},"CareOfAddress":"sample string 1"},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}
application/xml, text/xml
Sample:
<PBNBReturnOfUserNetworkModeCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
<Data>
<CareOfAddress>sample string 1</CareOfAddress>
<P2PMode>
<Enabled>true</Enabled>
</P2PMode>
<RoutedMode>
<Enabled>true</Enabled>
</RoutedMode>
</Data>
<ErrorCode>2</ErrorCode>
<ErrorDescription>sample string 3</ErrorDescription>
<Meta>sample string 4</Meta>
<Success>true</Success>
</PBNBReturnOfUserNetworkModeCA1DLPoZ>
application/bson
Sample:
� Success Data [ RoutedMode Enabled P2PMode Enabled CareOfAddress sample string 1 ErrorCode ErrorDescription sample string 3 Meta sample string 4