Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-04-07
2
Medium Priority
?
378 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

604 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