Skip to content

Commit 0ba41f2

Browse files
author
Ross Boe
committed
Latest Version
Latest version for API Changes. Bug Fix: Get By Published Date not going back to 1/1/1900 not date selected, now uses date passed in.
1 parent 94f9582 commit 0ba41f2

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

StayWell.ClientFramework/Internal/ServiceProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private NameValueCollection GetParameters(MethodInfo methodInfo, IMethodCallMess
299299
Type type = parameterInfo.ParameterType;
300300
if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>))
301301
type = type.GetGenericArguments()[0];
302-
if (type.IsPrimitive || type == typeof(string) || type == typeof(Guid) || type.IsEnum || type.IsArray)
302+
if (type.IsPrimitive || type == typeof(string) || type == typeof(Guid) || type.IsEnum || type.IsArray || type == typeof(DateTime))
303303
{
304304
string name = parameterInfo.Name;
305305

StayWell.ServiceDefinitions/Content/Objects/ContentMetadataResponse.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public class ContentMetadataResponse : ContentBase, IContentMetaDataBaseResponse
3434

3535
public string Slug { get; set; }
3636

37+
[XmlElement]
3738
public string Blurb { get; set; }
3839

3940
public Language Language { get; set; }
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
namespace StayWell.ServiceDefinitions.Content.Objects
1+
using System.Xml.Serialization;
2+
3+
namespace StayWell.ServiceDefinitions.Content.Objects
24
{
35
public class ContentSegmentRequest
46
{
57
public string IdOrSlug { get; set; }
68
public string CustomName { get; set; }
9+
[XmlElement]
710
public string Body { get; set; }
811
}
912
}

StayWell.ServiceDefinitions/Content/Objects/ContentSegmentResponse.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Xml.Serialization;
23

34
namespace StayWell.ServiceDefinitions.Content.Objects
45
{
@@ -8,6 +9,7 @@ public class ContentSegmentResponse
89
public string Slug { get; set; }
910
public string Name { get; set; }
1011
public string CustomName { get; set; }
12+
[XmlElement]
1113
public string Body { get; set; }
1214
}
1315
}

StayWell.ServiceDefinitions/Content/Objects/SegmentedContentRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public class ContentRequest : ContentBase, IContentRequest
4545
[XmlArrayItem("AlternateTitle")]
4646
public List<string> AlternateTitles { get; set; }
4747

48+
[XmlElement]
4849
public string Blurb { get; set; }
4950

5051
public string LegacyId { get; set; }

0 commit comments

Comments
 (0)