Added XML request type to APIClient