Lockerz Admin
posted this on December 05, 2010 06:41 pm
This call will let you pass a location of where the photo was taken.
<API_Endpoint>/photos/{PhotoId}/location
PUT
XML, JSON
Yes
{PhotoId} Id of the photo whose location is being set.
{Latitude},{Longitude}
SessionKeyOperationResponse
N/A
400 BadRequest, 10029 BadGeoFormat - Contents are badly formatted.
400 BadRequest, 10005 BadGeoLocation - Contents are not proper coordinates.
400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.
400 BadRequest, 10007 PhotoDoesntExist - {PhotoId} does not exists.
403 Forbidden - Credentials are not valid.
403 Forbidden, 10030 NotPhotoOwner - Not the photo owner.
N/A
curl -X PUT http://api.plixi.com/api/tpapi.svc/photos/1469/location -u mlinenweber14zz@gmail.com:password -H"TPSERVICE:Plixi" -d "15.345678,90.123456"