< Back to zoomrank.com

Update an existing Social URL

URL

https://api.zoomrank.com/users/:user_id/social/urls/:id.:format

Supported formats

xml, json

Supported request methods

PUT

Example

Updates Social URL with ZoomRank ID 1 for user with ZoomRank ID 1.

https://api.zoomrank.com/users/1/social/urls/1.json

Arguments

Argument Description
url The updated Social URL record sent in the request body.

Social URL Object

Field Description Format
external_id Your unique identifier char(125)
category_id ZoomRank Category ID int
url URL char(255)
ranking_dow Weekly ranking day-of-week (if weekly-balanced ranked) 0 - 6 (0 = Sunday)
ranking_dom Monthly ranking day (if monthly ranked) 1 - 28
last_ranked_date Date of which record was last ranked YYYY-MM-DD

Response Codes

200 - Success
400 - Bad Request (Errors occurred while updating - See response body)
404 - No record found

Example Request Body (JSON)

{
	"url": {
		"category_id": 1,
		"external_id": "MYUPDATEDID",
		"url": "http://api.zoomrank.com"    
	}
}

Example Request Body

<url>
	<category_id>1</category_id>
	<external_id>MYUPDATEDID</external_id>
	<url>http://api.zoomrank.com</url>
</url>