?
Solved

Exchange Webservice EXWS: read the billing information from an appointment/calendar item

Posted on 2009-04-07
2
Medium Priority
?
375 Views
Last Modified: 2012-05-06
We are using the WebService to create appointments and tasks for the Microsoft Exchange Server 2007.
We need to read the field "billinginformation" from calendar items.
To insert and read a task with this field is no problem. The insert of a new calendar item with the billinginformation is also no problem, but we can not find the right syntax to read the billing information from an existing calendar item.
Can everybody help us? We are using C#. We take PropertyID 34101  and propertyTag 0x8535
Thanks a lot!
0
Comment
Question by:cmt2008
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Stacy Spear earned 1000 total points
ID: 24117002
This worked for me. Of course it came from Outlook, but should be simular I would imagine.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Outlook = Microsoft.Office.Interop.Outlook;
 
namespace OutlookAppt
{
    class Program
    {
        static void Main(string[] args)
        {
            Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application();
            Outlook._NameSpace nameSpace = app.GetNamespace("MAPI");
            nameSpace.Logon(null, null, false, false);
            Outlook.MAPIFolder calendar = nameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar);
            foreach (Outlook.AppointmentItem appt in calendar.Items)
            {
                Console.WriteLine(appt.BillingInformation);
            }
        }
    }
}

Open in new window

0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question