FAQ/API Documentation/Photo Resources

Add Photo Map

Lockerz Admin
posted this on December 05, 2010 06:58 pm

This will let you add a map to a photo based on the longitude and latitude coordinates of the photo.

URL

<API_Endpoint>/photos/{PhotoId}/maps

HTTP Method

POST

Formats

XML, JSON

Authenticated

Yes

Input

{PhotoId} - Id of a photo.

Contents

N/A

Output

AddPhotoMapResponse

Parameters

X (required) - X coordinate for the map. Y (required) - Y coordinate for the map. UserId (required) - Id of the user being tagged.

Error Codes

400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.

Notes

N/A

Example

curl -X POST http://api.plixi.com/api/tpapi.svc/photos/1639/maps -H "X:20" -H "Y:30" -H "UserId:730" -u mlinenweber+26@gmail.com:password -H "TPSERVICE:Plixi"

 
Topic is closed for comments