Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - SetNextResourceItemID
Set the ID for the next item in the queue.
It will be used when adding items via "ResourceItemAdd" or equivalents
Declaration
public string SetNextResourceItemID ( string apiKey, string resourceName, string itemID );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
resourceName | The name of the resource | |
itemID | string | The itemID (eg: guid) to be added to the queue |
Returns
The result indicates if the itemID was successfully added to the queue.
Possible reasons to fail:
Item already exists
ID is null or invalid
A valid XML string
Security rights needed
Add
Apply on resource
Resource from function parameter resourceName