postSocialLinksImport

Definition

The postSocialLinksImport API Command adds the links to the website in the campaign selected earlier in the “beginSocialPostLinksImport” command. After the import is finished, use the “commitSocialPostLinksImport” command to end the import process.

Cost

Using this command consumes 1 credit.

Module

The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.

Parameters

campaignId The ID Number of the campaign.
siteId The ID Number of the site you will import links to.
nrLinks The number of links that are going to be imported.
link(*) The link that is to be imported. *represents the number of the link (from 1 to the parameter nrLinks)

Input URL Example

http://api.cognitiveseo.com/command.php?apiKey=your_api_key&command=postSocialLinksImport&campaignId=7&siteId=39&nrLinks=2&link1=http://www.examplelink.com/example1&link2=http://www.examplelink.com/example2

Output Example

Running this command will result in the following JSON output:

 

Output Details

status The status of the command (success or error).
credits The credit cost of the command.
time The time it took to process the command.
Go Top