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.
GET /Core/Dynamic/DataSources/{DsId} HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DynamicDataSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services">
<DsId>00000000-0000-0000-0000-000000000000</DsId>
<Name>String</Name>
<Description>String</Description>
<Query>String</Query>
<HasDates>false</HasDates>
<CategoryId>00000000-0000-0000-0000-000000000000</CategoryId>
<Params>
<DynamicDataSourceParam>
<Id>00000000-0000-0000-0000-000000000000</Id>
<Name>String</Name>
<Description>String</Description>
<DataSourceId>00000000-0000-0000-0000-000000000000</DataSourceId>
<DbType>String</DbType>
<Size>0</Size>
<QueryId>00000000-0000-0000-0000-000000000000</QueryId>
<Format>String</Format>
<IsNullable>false</IsNullable>
<OrderIndex>0</OrderIndex>
</DynamicDataSourceParam>
</Params>
<Hccrt>String</Hccrt>
<Used>false</Used>
<HasParams>false</HasParams>
<HCode>String</HCode>
</DynamicDataSource>