Set IsRequired = false
, e.g.:
[DataMember(Name = "RequestId", IsRequired = false)]
MSDN Source: DataMemberAttribute.IsRequired
Property
Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.