NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Update a gate location details by ID.
put
/spms/v1/configurations/gangwayGateLocations/{id}
This is to update a gate location details by ID
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : gateLocation
Type:
object
Title:
Show Source
gateLocation
-
code(optional):
string
Example:
G1
-
enabledFlag(optional):
boolean
Example:
true
-
entity(optional):
string
Example:
GWL
-
name(optional):
string
Example:
Gangway Deck 1
Response
Supported Media Types
- application/json
200 Response
Successful update of a gate location
Root Schema : gateLocations
Type:
object
Title:
Show Source
gateLocations
-
code(optional):
string
Example:
G1
-
enabledFlag(optional):
boolean
Example:
true
-
entity(optional):
string
Example:
GWL
-
name(optional):
string
Example:
Gangway Deck 1
400 Response
Bad Request or Invalid Parameter sent in Request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
403 Response
This API is not allowed for your current user role
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
404 Response
Requested gate location Not Found
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
409 Response
You are trying to update this gate location with an existing gate location
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occured while trying to update this gate location
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1