main
Click here for a complete list of operations.
SetAssetDirectories
Applies values to the Asset Directories which can be entered also per document in the Document Settings panel. These values are applied to the apiKey, and override any values entered manually inside a document.
To clear an existing value, provide the string 'empty'. An empty string ('') indicates that nothing changes for that argument.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /main.asmx HTTP/1.1 Host: ft-nostress.chili-publish-sandbox.online Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.chili-publisher.com/SetAssetDirectories" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SetAssetDirectories xmlns="http://www.chili-publisher.com/"> <apiKey>string</apiKey> <userAssetDirectory>string</userAssetDirectory> <userGroupAssetDirectory>string</userGroupAssetDirectory> <documentAssetDirectory>string</documentAssetDirectory> </SetAssetDirectories> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SetAssetDirectoriesResponse xmlns="http://www.chili-publisher.com/"> <SetAssetDirectoriesResult>string</SetAssetDirectoriesResult> </SetAssetDirectoriesResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /main.asmx HTTP/1.1 Host: ft-nostress.chili-publish-sandbox.online Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SetAssetDirectories xmlns="http://www.chili-publisher.com/"> <apiKey>string</apiKey> <userAssetDirectory>string</userAssetDirectory> <userGroupAssetDirectory>string</userGroupAssetDirectory> <documentAssetDirectory>string</documentAssetDirectory> </SetAssetDirectories> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SetAssetDirectoriesResponse xmlns="http://www.chili-publisher.com/"> <SetAssetDirectoriesResult>string</SetAssetDirectoriesResult> </SetAssetDirectoriesResponse> </soap12:Body> </soap12:Envelope>