Re: API Java: How to sync datetime attribute

Anonymous
Not applicable

API Java: How to sync datetime attribute

Hi All

When using syncLead,
I'd like to add a Timestamp(datetime from SQL) attribute to my lead, DoB for example, but the attribute type is always String, and the value can only be a string.
Can I change it to Timestamp/Datetime or there is another approach.
Thanks a lot.
0EM50000000RJrA.jpg

Also, could someone tell me where can I find the full documatation of the API for Java. Class map, methods summary so on so forth.
Cheers
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: API Java: How to sync datetime attribute

The API itself does not impose a data type.

It is unclear why the screen shot is pre-setting to string.

The attributes are defined as

           <leadAttributeList>
               <attribute>
                  <attrName></attrName>
                  <attrType></attrType>
                  <attrValue></attrValue>
               </attribute>
            </leadAttributeList>

You can find complete documentation with examples in Java at http://developers.marketo.com/documentation/soap/synclead/