Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How to represent Binary data type in SOAP?

$
0
0

Hi,

I am trying to CREATE an Account using SOAP API, Please find the snippet below:

<!-- define string data -->
<con:KeyValuePairOfstringanyType>
      <sys:key>name</sys:key>
      <sys:value i:type="c:string">soap_account_bin_test</sys:value>
</con:KeyValuePairOfstringanyType>

<!-- define OptionSetValue -->          
<con:KeyValuePairOfstringanyType>
    <sys:key>paymenttermscode</sys:key>
    <sys:value i:type="con:OptionSetValue">
            <con:Value>2</con:Value>
    </sys:value>
</con:KeyValuePairOfstringanyType>

<!-- define binary-->  
 <con:KeyValuePairOfstringanyType>
     How to represent binary data type here?</con:KeyValuePairOfstringanyType>

Account has 1 field EntityImage which has a binary data type. Would like to know How can I define binary data for field EntityImage?
I tried to give i:type="c:binary" but it did not work.
Could you please let me know how to represent binary property in soap?


Thanks


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>