Get Location of FGate
Description
This interface is used for users to retrieve the geographic location of the box. (This interface is used to query only for boxes that have automatically reported their geographic location. The geographic location will be uploaded when the box is online)
Request Address
URL:
[Host Server]/api/client/v2/box/location
Address Parameter Description
Field Type Description Host Server string See Explanation of terms Method
POST
Headers
Field Type Description Authorization string "Bearer " + Access Token obtained from the login interface Body
Field Type Description ids List Collection of boxIds Successful Response
Returns Geographic Location Entity ObjectField Type Description useLongitude double Longitude from manual positioning useLatitude double Latitude from manual positioning radius int Longitude radius address string Location boxNo string FGate serial number boxId string FGate Id longitude double Longitude from automatic positioning latitude double Latitude from automatic positioning locationFetchType int Location acquisition type Response Status Codes
Code Description 401 Access token expired 500 Internal exception of server