Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #15517: soap API datatype for DateTime

Wrong datatype for DateTime  'dateTime' vs. 'xsd:dateTime'
results in an error during deserialization in .net

Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
  • Loading branch information...
commit 3980754c00a881e7085eca4718f80ec61c1b89af 1 parent bc2620b
@wiggisser wiggisser authored dregad committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  api/soap/mc_api.php
View
2  api/soap/mc_api.php
@@ -38,7 +38,7 @@ static function newDateTimeVar( $p_value ) {
if ( class_exists('soapval') )
return new soapval( 'due_date', 'xsd:dateTime', $string_value );
else
- return new SoapVar( $string_value, XSD_DATETIME, 'dateTime');
+ return new SoapVar( $string_value, XSD_DATETIME, 'xsd:dateTime');
}
static function newDateTimeString ( $p_timestamp ) {
Please sign in to comment.
Something went wrong with that request. Please try again.