How can serialize object in XML? I use the code below in JSON but I dont know how it works in XML..
var body = JsonConvert.SerializeObject(model); request.AddParameter("application/json", body, ParameterType.RequestBody);