To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/BackupDeviceRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<BackupDeviceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Token>String</Token>
<UID>0</UID>
</BackupDeviceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BackupDeviceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Plugin.Data.Gemini.Dto">
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<RecChanged xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0001-01-01T00:00:00</RecChanged>
<d2p1:Directories>
<d2p1:BackupDeviceDirectoryDto>
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<RecChanged xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0001-01-01T00:00:00</RecChanged>
<d2p1:CountOfBackup>0</d2p1:CountOfBackup>
<d2p1:DeleteOld>false</d2p1:DeleteOld>
<d2p1:DirectoryName>String</d2p1:DirectoryName>
<d2p1:IncrementBackup>false</d2p1:IncrementBackup>
<d2p1:Path>String</d2p1:Path>
<d2p1:TempBackupCopy>false</d2p1:TempBackupCopy>
</d2p1:BackupDeviceDirectoryDto>
</d2p1:Directories>
<d2p1:NameStation>String</d2p1:NameStation>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
</BackupDeviceResponse>