Veetro Web Service Methods


Click here for a complete list of operations.

GetBillableEvents

[Permission: Employee]
Returns a paged set of billable entries(Event, Timesheet or Todo)

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schema.veetro.com/GetBillableEvents"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetBillableEvents xmlns="http://schema.veetro.com">
      <e>
        <StartIndex>int</StartIndex>
        <FetchSize>int</FetchSize>
        <Flags>None or Billable or Invoiced or Journal or Canceled or Project or Calendar_Item or Event or ToDo or Support_Case or Product or Subscription or Notifications_Sent or Disbursement or Client_Access or QuoteOnly or Track_Supplier_Payments or All_Employees or Project_Milestone or Never_Invoice or Inactive or IsTemplate or Pending or IsGrouped or IsCompanyConfidential or AutoUpdateStageFromProgress or IsDraft</Flags>
        <Relation>int</Relation>
        <Owner>int</Owner>
        <EntryID_Parent>int</EntryID_Parent>
        <DaysInFuture>int</DaysInFuture>
      </e>
    </GetBillableEvents>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetBillableEventsResponse xmlns="http://schema.veetro.com">
      <GetBillableEventsResult>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <Event>
            <EventType>ToDo or Journal or Event</EventType>
            <DateStart>dateTime</DateStart>
            <Priority>int</Priority>
            <DateDue>dateTime</DateDue>
            <EntryStatus>None or Tentative or Confirmed or Cancelled or Needs_Action or Completed or In_Progress or Draft or Final</EntryStatus>
            <CalendarID>int</CalendarID>
            <PercentComplete>int</PercentComplete>
            <ProgressStageGroup_Stage>int</ProgressStageGroup_Stage>
            <ProgressStageGroup>int</ProgressStageGroup>
            <ProgressStageGroup_Applied>int</ProgressStageGroup_Applied>
            <ProgressStageGroup_InheritEntryID>int</ProgressStageGroup_InheritEntryID>
            <Attendees xsi:nil="true" />
            <Periods xsi:nil="true" />
            <DateCompleted>dateTime</DateCompleted>
            <Timezone>string</Timezone>
            <EFlags>None or RecurrenceEnd or EstDuration_HourUnit or EstDuration_DayUnit or IsAllDay</EFlags>
            <IntervalType>None or Daily or Weekly or Monthly or Yearly</IntervalType>
            <FrequencyInterval>int</FrequencyInterval>
            <FrequencyEndType>No_End or End_Date or Maximum_Occurances</FrequencyEndType>
            <MaxOccurances>int</MaxOccurances>
            <DateEnd>dateTime</DateEnd>
            <AlarmAction>None or Audio or Display or Email or Procedure</AlarmAction>
            <AlarmTrigger xsi:nil="true" />
            <AlarmRepeat>int</AlarmRepeat>
            <Activity>int</Activity>
            <DateTimeStamp>dateTime</DateTimeStamp>
            <Sequence>int</Sequence>
            <EntryCategories>None or Business or HumanResources or Anniversary or Personal or SpecialOccasion or Family or Finance or Project or Meeting or PhoneCall or NotInOffice or SickDay or Appointment or Education or Travel or Vacation or Holiday or Medical or Court or Birthday</EntryCategories>
            <EntryClass>Public or Private or Confidential</EntryClass>
            <Resources>string</Resources>
            <Contact>string</Contact>
            <Organizer>string</Organizer>
            <Location>string</Location>
            <TRANSP>string</TRANSP>
            <UID>string</UID>
            <Duration xsi:nil="true" />
            <EstDurationTicks>long</EstDurationTicks>
            <Offsets xsi:nil="true" />
            <OffsetsRule>string</OffsetsRule>
          </Event>
          <Event>
            <EventType>ToDo or Journal or Event</EventType>
            <DateStart>dateTime</DateStart>
            <Priority>int</Priority>
            <DateDue>dateTime</DateDue>
            <EntryStatus>None or Tentative or Confirmed or Cancelled or Needs_Action or Completed or In_Progress or Draft or Final</EntryStatus>
            <CalendarID>int</CalendarID>
            <PercentComplete>int</PercentComplete>
            <ProgressStageGroup_Stage>int</ProgressStageGroup_Stage>
            <ProgressStageGroup>int</ProgressStageGroup>
            <ProgressStageGroup_Applied>int</ProgressStageGroup_Applied>
            <ProgressStageGroup_InheritEntryID>int</ProgressStageGroup_InheritEntryID>
            <Attendees xsi:nil="true" />
            <Periods xsi:nil="true" />
            <DateCompleted>dateTime</DateCompleted>
            <Timezone>string</Timezone>
            <EFlags>None or RecurrenceEnd or EstDuration_HourUnit or EstDuration_DayUnit or IsAllDay</EFlags>
            <IntervalType>None or Daily or Weekly or Monthly or Yearly</IntervalType>
            <FrequencyInterval>int</FrequencyInterval>
            <FrequencyEndType>No_End or End_Date or Maximum_Occurances</FrequencyEndType>
            <MaxOccurances>int</MaxOccurances>
            <DateEnd>dateTime</DateEnd>
            <AlarmAction>None or Audio or Display or Email or Procedure</AlarmAction>
            <AlarmTrigger xsi:nil="true" />
            <AlarmRepeat>int</AlarmRepeat>
            <Activity>int</Activity>
            <DateTimeStamp>dateTime</DateTimeStamp>
            <Sequence>int</Sequence>
            <EntryCategories>None or Business or HumanResources or Anniversary or Personal or SpecialOccasion or Family or Finance or Project or Meeting or PhoneCall or NotInOffice or SickDay or Appointment or Education or Travel or Vacation or Holiday or Medical or Court or Birthday</EntryCategories>
            <EntryClass>Public or Private or Confidential</EntryClass>
            <Resources>string</Resources>
            <Contact>string</Contact>
            <Organizer>string</Organizer>
            <Location>string</Location>
            <TRANSP>string</TRANSP>
            <UID>string</UID>
            <Duration xsi:nil="true" />
            <EstDurationTicks>long</EstDurationTicks>
            <Offsets xsi:nil="true" />
            <OffsetsRule>string</OffsetsRule>
          </Event>
        </Results>
      </GetBillableEventsResult>
    </GetBillableEventsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetBillableEvents xmlns="http://schema.veetro.com">
      <e>
        <StartIndex>int</StartIndex>
        <FetchSize>int</FetchSize>
        <Flags>None or Billable or Invoiced or Journal or Canceled or Project or Calendar_Item or Event or ToDo or Support_Case or Product or Subscription or Notifications_Sent or Disbursement or Client_Access or QuoteOnly or Track_Supplier_Payments or All_Employees or Project_Milestone or Never_Invoice or Inactive or IsTemplate or Pending or IsGrouped or IsCompanyConfidential or AutoUpdateStageFromProgress or IsDraft</Flags>
        <Relation>int</Relation>
        <Owner>int</Owner>
        <EntryID_Parent>int</EntryID_Parent>
        <DaysInFuture>int</DaysInFuture>
      </e>
    </GetBillableEvents>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetBillableEventsResponse xmlns="http://schema.veetro.com">
      <GetBillableEventsResult>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <Event>
            <EventType>ToDo or Journal or Event</EventType>
            <DateStart>dateTime</DateStart>
            <Priority>int</Priority>
            <DateDue>dateTime</DateDue>
            <EntryStatus>None or Tentative or Confirmed or Cancelled or Needs_Action or Completed or In_Progress or Draft or Final</EntryStatus>
            <CalendarID>int</CalendarID>
            <PercentComplete>int</PercentComplete>
            <ProgressStageGroup_Stage>int</ProgressStageGroup_Stage>
            <ProgressStageGroup>int</ProgressStageGroup>
            <ProgressStageGroup_Applied>int</ProgressStageGroup_Applied>
            <ProgressStageGroup_InheritEntryID>int</ProgressStageGroup_InheritEntryID>
            <Attendees xsi:nil="true" />
            <Periods xsi:nil="true" />
            <DateCompleted>dateTime</DateCompleted>
            <Timezone>string</Timezone>
            <EFlags>None or RecurrenceEnd or EstDuration_HourUnit or EstDuration_DayUnit or IsAllDay</EFlags>
            <IntervalType>None or Daily or Weekly or Monthly or Yearly</IntervalType>
            <FrequencyInterval>int</FrequencyInterval>
            <FrequencyEndType>No_End or End_Date or Maximum_Occurances</FrequencyEndType>
            <MaxOccurances>int</MaxOccurances>
            <DateEnd>dateTime</DateEnd>
            <AlarmAction>None or Audio or Display or Email or Procedure</AlarmAction>
            <AlarmTrigger xsi:nil="true" />
            <AlarmRepeat>int</AlarmRepeat>
            <Activity>int</Activity>
            <DateTimeStamp>dateTime</DateTimeStamp>
            <Sequence>int</Sequence>
            <EntryCategories>None or Business or HumanResources or Anniversary or Personal or SpecialOccasion or Family or Finance or Project or Meeting or PhoneCall or NotInOffice or SickDay or Appointment or Education or Travel or Vacation or Holiday or Medical or Court or Birthday</EntryCategories>
            <EntryClass>Public or Private or Confidential</EntryClass>
            <Resources>string</Resources>
            <Contact>string</Contact>
            <Organizer>string</Organizer>
            <Location>string</Location>
            <TRANSP>string</TRANSP>
            <UID>string</UID>
            <Duration xsi:nil="true" />
            <EstDurationTicks>long</EstDurationTicks>
            <Offsets xsi:nil="true" />
            <OffsetsRule>string</OffsetsRule>
          </Event>
          <Event>
            <EventType>ToDo or Journal or Event</EventType>
            <DateStart>dateTime</DateStart>
            <Priority>int</Priority>
            <DateDue>dateTime</DateDue>
            <EntryStatus>None or Tentative or Confirmed or Cancelled or Needs_Action or Completed or In_Progress or Draft or Final</EntryStatus>
            <CalendarID>int</CalendarID>
            <PercentComplete>int</PercentComplete>
            <ProgressStageGroup_Stage>int</ProgressStageGroup_Stage>
            <ProgressStageGroup>int</ProgressStageGroup>
            <ProgressStageGroup_Applied>int</ProgressStageGroup_Applied>
            <ProgressStageGroup_InheritEntryID>int</ProgressStageGroup_InheritEntryID>
            <Attendees xsi:nil="true" />
            <Periods xsi:nil="true" />
            <DateCompleted>dateTime</DateCompleted>
            <Timezone>string</Timezone>
            <EFlags>None or RecurrenceEnd or EstDuration_HourUnit or EstDuration_DayUnit or IsAllDay</EFlags>
            <IntervalType>None or Daily or Weekly or Monthly or Yearly</IntervalType>
            <FrequencyInterval>int</FrequencyInterval>
            <FrequencyEndType>No_End or End_Date or Maximum_Occurances</FrequencyEndType>
            <MaxOccurances>int</MaxOccurances>
            <DateEnd>dateTime</DateEnd>
            <AlarmAction>None or Audio or Display or Email or Procedure</AlarmAction>
            <AlarmTrigger xsi:nil="true" />
            <AlarmRepeat>int</AlarmRepeat>
            <Activity>int</Activity>
            <DateTimeStamp>dateTime</DateTimeStamp>
            <Sequence>int</Sequence>
            <EntryCategories>None or Business or HumanResources or Anniversary or Personal or SpecialOccasion or Family or Finance or Project or Meeting or PhoneCall or NotInOffice or SickDay or Appointment or Education or Travel or Vacation or Holiday or Medical or Court or Birthday</EntryCategories>
            <EntryClass>Public or Private or Confidential</EntryClass>
            <Resources>string</Resources>
            <Contact>string</Contact>
            <Organizer>string</Organizer>
            <Location>string</Location>
            <TRANSP>string</TRANSP>
            <UID>string</UID>
            <Duration xsi:nil="true" />
            <EstDurationTicks>long</EstDurationTicks>
            <Offsets xsi:nil="true" />
            <OffsetsRule>string</OffsetsRule>
          </Event>
        </Results>
      </GetBillableEventsResult>
    </GetBillableEventsResponse>
  </soap12:Body>
</soap12:Envelope>