< Back to zoomrank.com

Create a listing

URL

https://api.zoomrank.com/users/:user_id/local/listings.xml

Supported formats

xml, json

Supported request methods

POST

Example

Create a new listing for user with ZoomRank ID 1.

https://api.zoomrank.com/users/1/local/listings.xml

Arguments

Argument Description
listing The new listing record sent in the request body.

Response Codes

201 - Success (Created)
400 - Bad Request (Errors occurred while creating record - See response body)
500 - Internal Server Error (Something bad happened, let us know!)

Example Request Body

<listing>
	<engine_id>1</engine_id>	
	<external_id></external_id>
	<google_cid>17076848190595650818</google_cid>
	<name>Luigi's New York Pizza & Pasta</name>
	<street>4944 Preston Road</street>
	<city>Frisco</city>
	<state>TX</state>
	<postal_code>75034</postal_code>
	<phone>469-223-2658</phone>
</listing>