GetIPAddresses
Description
This method retrieves all IP addresses associated with a specified account or user.
Formal Definition
https://ws.interfax.net/admin.asmx?op=GetIPAddresses
Input
Name | Type | Comments |
---|---|---|
UserID | String | The name of the user authenticating to the API |
Password | String | The password for the username |
type | String | Specifies whether to retrieve IP addresses for an account (“Account”) or a user (“User”). (This is case-sensitive.) |
Output
Name | Type | Comments | |||
---|---|---|---|---|---|
GetIPAddressesResult | Structure | Contains a list of IP addresses and a result code | |||
Status | Integer | Returns 0 for success, otherwise an error code indicating what went wrong; see the Error Codes, below. For a full list of error codes see Appendix A. | |||
data | Structure | Contains the IP addresses details | |||
EntityID | String | The ID of the entity (account or user). | |||
EntityType | String | The type of the entity (“Account” or “User”) | |||
List | List | List of IPv4AddressRange objects | |||
EntityID | String | The ID of the entity | |||
EntityType | String | The type of the entity | |||
FromRange | String | The starting IP address in the range | |||
ToRange | String | The ending IP address in the range | |||
Name | String | The name associated with the IP address range |
Error Codes
Value | Description |
---|---|
-150 | Internal System Error. An exception occurs at any point in the execution of the web service method. |
-404 | The specified type is invalid. |
-1003 | Authentication error: the user cannot be authenticated when either the username or the password is incorrect OR any other last error occurred when authenticating the user. |