The commitPostLinksImport API Command will finish the started import operation created by the “beginPostLinksImport” command. Use it after you inserted all the links with the Postlinksimport 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 per each link imported. *It will also consume credits from the remaining number of links per site credits pool.
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 you wish to add competitors to.|
|siteId||The ID number of the website you added 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 and the number of errors encountered when importing the links.|
|importedUrls||Represents the number of URLs inserted.|
|credits||The credit cost of the command.|
|time||The time it took for the command to take place.|