The commitPostSocialLinksImport API Command will end the import process started using the “beginPostSocialLinksImport” command. Use it after you have inserted all links with the “postSocialLinks” command. The command is processed in a queue, meaning that the result will be available after finishing creating the new campaign.
Using this command consumes 1 credit for each link imported.
The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.
|campaignId||The ID Number of the campaign.|
|siteId||The ID Number of the site you will import links to.|
Input URL Example
Running this command will result in the following JSON output:
"api": "cognitiveSEO API",
|status||The status of the command (success or error).|
|errors||Displays the cause of the error and the number of errors encountered in the import process.|
|importedUrls||The number of imported URLs.|
|credits||The credit cost of the command.|
|time||The time it took to process the command.|