You need to sign in to do that
Don't have an account?
Marat Kalibekov
returnFieldDataTypes in CallOptions
Hello, in SOAP for CallOptions I can specify parameter returnFieldDataTypes (boolean). But when setting it to true following error occurs:
INVALID_SOAP_HEADER: The header 'returnFieldDataTypes' is not a valid header for your organization.
SOAP API - version 36.0
Anyone have ideas?
INVALID_SOAP_HEADER: The header 'returnFieldDataTypes' is not a valid header for your organization.
SOAP API - version 36.0
Anyone have ideas?
Are you using the Partner WSDL? The CallOptions is only available if you are using the Partner WSDL.
See https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_header_calloptions.htm for more details.
Thanks,
Richard.
As I understand, it must instead of
<records xsi:type="sf:sObject">
<sf:type>Account</sf:type>
<sf:Id xsi:nil="true"/>
<sf:Name>United Oil & Gas Corp.</sf:Name>
</records>
give us
<records xsi:type="sf:sObject">
<sf:type>Account</sf:type>
<sf:Id xsi:nil="true"/>
<sf:Name xsi:type="string">United Oil & Gas Corp.</sf:Name>
</records>
Something like this.
Query is - SELECT Name FROM Account.