Hi All,
I created a contact using zimbra API as follows:
Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><authToken>123456</authToken><sessionId id="16913"/></context></soap:Header><soap:Body><CreateContactRequest xmlns="urn:zimbraMail" verbose="0"><cn><a n="firstName">From</a><a n="lastName">Device</a><a n="fullName">Device, From</a><a n="jobTitle">Good</a><a n="fileAs">2</a><a n="company">Good</a><a n="email">testing@testing.com</a><a n="imAddress1">other://some@something.com</a><a n="workPhone">(425) 555-8888</a><a n="mobilePhone">(425) 555-9999</a></cn></CreateContactRequest></soap:Body></soap:Envelope>
Following is the response that I got from zimbra for creating this new contact,
Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><sessionId id="16913">16913</sessionId><change token="1736"/><notify seq="4"><created><cn d="1242080490000" fileAsStr="From Device" l="7" id="665" rev="1736"><a n="workPhone">(425) 555-8888</a><a n="mobilePhone">(425) 555-9999</a><a n="jobTitle">Good</a><a n="imAddress1">other://some@something.com</a><a n="fullName">Device, From</a><a n="fileAs">2</a><a n="email">testing@testing.com</a><a n="firstName">From</a><a n="lastName">Device</a><a n="company">Good</a></cn></created><modified><folder n="231" s="41232" id="7"/></modified></notify></context></soap:Header><soap:Body><CreateContactResponse xmlns="urn:zimbraMail"><cn id="665"/></CreateContactResponse></soap:Body></soap:Envelope>
When I checked the contact using the Zimbra web client, other than Name and title, other information were completly absent. When I perform GetFullItem on this contact ID, I get complete details. But only in client I can't seem to see any information. I have attached an image also.
Any help is appreciated.
Thanks,