Php MS CRM2011 SOAP请求
由于某种原因,所有其他数据都由以下三行导入不向ms crm dynamics 2011添加数据 我有三个领域 my_paid:两个选项(是=1;否=0) 我的价格:货币 我的付款日期:日期和时间Php MS CRM2011 SOAP请求,php,soap,dynamics-crm-2011,Php,Soap,Dynamics Crm 2011,由于某种原因,所有其他数据都由以下三行导入不向ms crm dynamics 2011添加数据 我有三个领域 my_paid:两个选项(是=1;否=0) 我的价格:货币 我的付款日期:日期和时间 <b:keyvaluepairofstringanytype> <c:key>my_paid</c:key> <c:value i:type="c:boolean">1</c:value> <
<b:keyvaluepairofstringanytype>
<c:key>my_paid</c:key>
<c:value i:type="c:boolean">1</c:value>
</b:keyvaluepairofstringanytype>
<b:keyvaluepairofstringanytype>
<c:key>my_price</c:key>
<c:value>' . $data->newprice . '</c:value>
</b:keyvaluepairofstringanytype>
<b:keyvaluepairofstringanytype>
<c:key>my_date_paid</c:key>
<c:value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">' . gmdate("Y-m-d\TH:i:s\Z", time()+10800) . '</c:value>
</b:keyvaluepairofstringanytype>
我的钱付了
1.
我的价格
' . $数据->新价格
我的约会费付了
' . gmdate(“Y-m-d\TH:i:s\Z”,time()+10800)。”
我强烈建议您从Dynamics CRM SDK获取SoapLogger,因为这将帮助您解决此类问题
第一项应为真/假,而不是1
my_price可能是一个货币列,处理方式稍有不同,您的dateTime看起来是正确的,因此可能只是因为前两项
下面是“报价”实体的一个示例,应该会有所帮助
<a:KeyValuePairOfstringanyType>
<b:key>freightamount</b:key>
<b:value i:type="a:Money">
<a:Value>1</a:Value>
</b:value>
</a:KeyValuePairOfstringanyType>
<a:KeyValuePairOfstringanyType>
<b:key>effectivefrom</b:key>
<b:value xmlns:c="http://www.w3.org/2001/XMLSchema" i:type="c:dateTime">2013-09-03T02:55:30Z</b:value>
</a:KeyValuePairOfstringanyType>
<a:KeyValuePairOfstringanyType>
<b:key>willcall</b:key>
<b:value xmlns:c="http://www.w3.org/2001/XMLSchema" i:type="c:boolean">false</b:value>
</a:KeyValuePairOfstringanyType>
运费
1.
有效于
2013-09-03T02:55:30Z
威尔呼叫
假的