How can I use Swagger API in Appneta to create a network path using Location?
search cancel

How can I use Swagger API in Appneta to create a network path using Location?

book

Article ID: 393021

calendar_today

Updated On: 04-03-2025

Products

AppNeta

Issue/Introduction

We are setting up some new network paths and we want to set the location.  However when we try this. they are not being accepted. how does this work?

Environment

Appneta   Create Network Path

Cause

Location field is read only

Resolution

As the location path is read only, we cannot set the location using this.

Alternatively you can use 

 

PUT /v3/path/{id}/targetLocation
PUT /v3/path/targetLocation

Using the formattedAddress alone was able to set to this location.

{
    "formattedAddress": “(City), (State / Provence) (Postal Code), (2 letter Country Abbreviation)”
}

Additional Information