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 /Accounting/FixedAsets/Turnover HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetFixedAssetsTurnoverResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Result>
<FixedAssetsTurnoverFull>
<suppd_id>0</suppd_id>
<invnum>String</invnum>
<faname>String</faname>
<unit>String</unit>
<location_name>String</location_name>
<fin_name>String</fin_name>
<tax_name>String</tax_name>
<exp_acc>String</exp_acc>
<svg>0</svg>
<lifeyears>0</lifeyears>
<s_date>0001-01-01T00:00:00</s_date>
<supplier>String</supplier>
<acccard>String</acccard>
<s_rem>0</s_rem>
<s_cost>0</s_cost>
<s_single_cost>0</s_single_cost>
<s_acum_depr>0</s_acum_depr>
<s_single_acum_depr>0</s_single_acum_depr>
<s_rem_cost>0</s_rem_cost>
<s_single_rem_cost>0</s_single_rem_cost>
<in_buy_count>0</in_buy_count>
<in_buy_cost>0</in_buy_cost>
<in_buy_single_cost>0</in_buy_single_cost>
<in_exp>0</in_exp>
<in_single_exp>0</in_single_exp>
<in_other_count>0</in_other_count>
<in_other_cost>0</in_other_cost>
<in_other_single_cost>0</in_other_single_cost>
<in_rev_count>0</in_rev_count>
<in_rev_cost>0</in_rev_cost>
<in_rev_single_cost>0</in_rev_single_cost>
<in_ddate>0001-01-01T00:00:00</in_ddate>
<in_numberin>String</in_numberin>
<in_numberout>String</in_numberout>
<in_oper_id>String</in_oper_id>
<in_contents>String</in_contents>
<out_sale_count>0</out_sale_count>
<out_sale_cost>0</out_sale_cost>
<out_sale_single_cost>0</out_sale_single_cost>
<out_sale_vg>0</out_sale_vg>
<out_sale_rem_cost>0</out_sale_rem_cost>
<out_sale_gain_loss>0</out_sale_gain_loss>
<out_other_count>0</out_other_count>
<out_other_cost>0</out_other_cost>
<out_other_single_cost>0</out_other_single_cost>
<out_other_rem_cost>0</out_other_rem_cost>
<out_other_gain_loss>0</out_other_gain_loss>
<out_rev_count>0</out_rev_count>
<out_rev_cost>0</out_rev_cost>
<out_rev_single_cost>0</out_rev_single_cost>
<out_rev_rem_cost>0</out_rev_rem_cost>
<out_rev_gain_loss>0</out_rev_gain_loss>
<out_ddate>0001-01-01T00:00:00</out_ddate>
<out_numberin>String</out_numberin>
<out_numberout>String</out_numberout>
<out_oper_id>String</out_oper_id>
<out_contents>String</out_contents>
<depr>0</depr>
<out_depr>0</out_depr>
<e_rem>0</e_rem>
<e_cost>0</e_cost>
<e_single_cost>0</e_single_cost>
<e_acum_depr>0</e_acum_depr>
<e_single_acum_depr>0</e_single_acum_depr>
<e_rem_cost>0</e_rem_cost>
<e_single_rem_cost>0</e_single_rem_cost>
</FixedAssetsTurnoverFull>
</Result>
</GetFixedAssetsTurnoverResponse>