How do I enable an IP address to use the API?

Avatar

Avatar
Validate 1
Level 2
stephenjwz
Level 2

Likes

9 likes

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
stephenjwz
Level 2

Likes

9 likes

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
stephenjwz
Level 2

10-04-2019

Hi

I have been testing making some requests via the API which work great when done manually from my PC (which is on a network with an IP approved to access our instance).

I would like to be able to trigger the start of some workflows based on events outside Campaign (to cut down the number of times they run - currently scheduled to run frequently at set times), so I have been trying to set up a script on a server to do this.

I added the server's IP address to the 'Administration/Configuration/Security Zones' section of Campaign but am still getting the message "IP address via which you are accessing the server is not accepted. Connection refused." - are there further steps I need to do to enable this IP to connect?

Thanks

Stephen

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile
DavidKangni
MVP

10-04-2019

Hi Stephen,

Two kinds of Security Zone entries can be managed:

  • Entries for the vpn security zone. These entries inherit all the permissions assigned to the vpn security zone and allowing all users assigned to the vpn security zone to access the system. These entries are to be used for Windows Console users. (client console access)
  • Entries for a web services security zone. These entries inherit all the permissions of the vpn security zone and are granted the allowUserPassword and sessiontokenOnly permissions. These entries are to be used for web services consumers. (web forms, internet access, API calls,)

That being said make sure the webservices option is checked

1730321_pastedImage_1.png

  • To immediately test your configurations click the Transfer Security Zones button to show this dialog:

1730322_pastedImage_3.png

To have it reloaded and thus activated immediately check the Check to reload configuration after transfer box.

Thanks

David

Answers (0)