Veetro Web Service Methods


Click here for a complete list of operations.

SetDraftTimesheets

[Permission: Any Authenticated,
Add/Remove draft timesheets

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/SetDraftTimesheets"

<?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>
    <SetDraftTimesheets xmlns="http://schema.veetro.com">
      <arg>
        <Add>boolean</Add>
        <Data>
          <CalendarViewData>
            <Type>Unknown or Event or ToDo or Journal or Invoice or Project or Support_Case or Disbursement or Notation or Message or Subscription or Product or Document or Quote or Credit_Invoice or IM or Withdrawal or Deposit or Refund or Lead or Proposal or MailQueue or Discussion</Type>
            <PrimaryKey>int</PrimaryKey>
            <IsEntryType>boolean</IsEntryType>
            <CalendarID>int</CalendarID>
            <Owner xsi:nil="true" />
            <Members xsi:nil="true" />
            <Name>string</Name>
            <Color>string</Color>
            <EditUrl>string</EditUrl>
            <EntryID_Parent>int</EntryID_Parent>
            <NotationID_Parent>int</NotationID_Parent>
            <IsAllDay>boolean</IsAllDay>
            <Start>dateTime</Start>
            <End>dateTime</End>
            <Due>dateTime</Due>
            <DateLastModified>dateTime</DateLastModified>
            <DateCreated>dateTime</DateCreated>
            <DateCompleted>dateTime</DateCompleted>
            <LeadStatus>Active or Win or Lose</LeadStatus>
            <LastContact>dateTime</LastContact>
            <Priority>int</Priority>
            <IsProgressInherited>boolean</IsProgressInherited>
            <PercentComplete>int</PercentComplete>
            <SortOrder>int</SortOrder>
            <HierarchyId>string</HierarchyId>
            <StartUtc>dateTime</StartUtc>
            <EndUtc>dateTime</EndUtc>
            <DueUtc>dateTime</DueUtc>
            <DateCompletedUtc>dateTime</DateCompletedUtc>
            <Ancestor xsi:nil="true" />
            <Lead xsi:nil="true" />
            <Amount>double</Amount>
            <Delete>boolean</Delete>
            <StartUtcString>string</StartUtcString>
            <EndUtcString>string</EndUtcString>
            <DueUtcString>string</DueUtcString>
            <DateCompletedUtcString>string</DateCompletedUtcString>
            <LastContactUtcString>string</LastContactUtcString>
            <EmailToInfoHtml>string</EmailToInfoHtml>
            <DescriptionHtml>string</DescriptionHtml>
            <Attachments>string</Attachments>
            <DurationUnCropped xsi:nil="true" />
            <ActivityID>int</ActivityID>
            <ActivityID_Default>int</ActivityID_Default>
            <ActivityName>string</ActivityName>
            <Relation xsi:nil="true" />
            <Company xsi:nil="true" />
            <EntryFlags>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</EntryFlags>
            <ProjectFlags>None or Disable_AutoTimeline or Disable_AutoProgress or HasPhases or ToDosAffectProgress or ToDosInheritTriggers or InheritActivityID</ProjectFlags>
            <NotationFlags>None or DiscussionPost or DiscussionClosed or DiscussionDeleted or IsResponsePost or IsRequestPost or Responsed or DiscussionAutoClosed or IsCompanyConfidential</NotationFlags>
            <LeadFlags>None or Inactive</LeadFlags>
            <SpansForward>boolean</SpansForward>
            <SpansBackwards>boolean</SpansBackwards>
            <Sequence>int</Sequence>
            <Triggers xsi:nil="true" />
            <PagedIndent>int</PagedIndent>
            <Occurrence>int</Occurrence>
            <Children xsi:nil="true" />
            <SupportCaseStatus>int</SupportCaseStatus>
            <IsUnread>boolean</IsUnread>
            <IsUpdated>boolean</IsUpdated>
            <MailQueueData xsi:nil="true" />
            <RRule>string</RRule>
            <RRulePeriods xsi:nil="true" />
            <Code>string</Code>
            <MIMEType>string</MIMEType>
            <SizeString>string</SizeString>
            <Size>long</Size>
            <Guid>string</Guid>
            <CustomFields xsi:nil="true" />
            <DescriptionPlainReadOnly>string</DescriptionPlainReadOnly>
            <DateCreatedUtcString>string</DateCreatedUtcString>
            <PSG_Applied>int</PSG_Applied>
            <PSG_InheritEntryID>int</PSG_InheritEntryID>
            <PSG_Stage>int</PSG_Stage>
            <IsRestricted>boolean</IsRestricted>
            <DateLastModifiedString>string</DateLastModifiedString>
            <BestRecurrenceInfo xsi:nil="true" />
          </CalendarViewData>
          <CalendarViewData>
            <Type>Unknown or Event or ToDo or Journal or Invoice or Project or Support_Case or Disbursement or Notation or Message or Subscription or Product or Document or Quote or Credit_Invoice or IM or Withdrawal or Deposit or Refund or Lead or Proposal or MailQueue or Discussion</Type>
            <PrimaryKey>int</PrimaryKey>
            <IsEntryType>boolean</IsEntryType>
            <CalendarID>int</CalendarID>
            <Owner xsi:nil="true" />
            <Members xsi:nil="true" />
            <Name>string</Name>
            <Color>string</Color>
            <EditUrl>string</EditUrl>
            <EntryID_Parent>int</EntryID_Parent>
            <NotationID_Parent>int</NotationID_Parent>
            <IsAllDay>boolean</IsAllDay>
            <Start>dateTime</Start>
            <End>dateTime</End>
            <Due>dateTime</Due>
            <DateLastModified>dateTime</DateLastModified>
            <DateCreated>dateTime</DateCreated>
            <DateCompleted>dateTime</DateCompleted>
            <LeadStatus>Active or Win or Lose</LeadStatus>
            <LastContact>dateTime</LastContact>
            <Priority>int</Priority>
            <IsProgressInherited>boolean</IsProgressInherited>
            <PercentComplete>int</PercentComplete>
            <SortOrder>int</SortOrder>
            <HierarchyId>string</HierarchyId>
            <StartUtc>dateTime</StartUtc>
            <EndUtc>dateTime</EndUtc>
            <DueUtc>dateTime</DueUtc>
            <DateCompletedUtc>dateTime</DateCompletedUtc>
            <Ancestor xsi:nil="true" />
            <Lead xsi:nil="true" />
            <Amount>double</Amount>
            <Delete>boolean</Delete>
            <StartUtcString>string</StartUtcString>
            <EndUtcString>string</EndUtcString>
            <DueUtcString>string</DueUtcString>
            <DateCompletedUtcString>string</DateCompletedUtcString>
            <LastContactUtcString>string</LastContactUtcString>
            <EmailToInfoHtml>string</EmailToInfoHtml>
            <DescriptionHtml>string</DescriptionHtml>
            <Attachments>string</Attachments>
            <DurationUnCropped xsi:nil="true" />
            <ActivityID>int</ActivityID>
            <ActivityID_Default>int</ActivityID_Default>
            <ActivityName>string</ActivityName>
            <Relation xsi:nil="true" />
            <Company xsi:nil="true" />
            <EntryFlags>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</EntryFlags>
            <ProjectFlags>None or Disable_AutoTimeline or Disable_AutoProgress or HasPhases or ToDosAffectProgress or ToDosInheritTriggers or InheritActivityID</ProjectFlags>
            <NotationFlags>None or DiscussionPost or DiscussionClosed or DiscussionDeleted or IsResponsePost or IsRequestPost or Responsed or DiscussionAutoClosed or IsCompanyConfidential</NotationFlags>
            <LeadFlags>None or Inactive</LeadFlags>
            <SpansForward>boolean</SpansForward>
            <SpansBackwards>boolean</SpansBackwards>
            <Sequence>int</Sequence>
            <Triggers xsi:nil="true" />
            <PagedIndent>int</PagedIndent>
            <Occurrence>int</Occurrence>
            <Children xsi:nil="true" />
            <SupportCaseStatus>int</SupportCaseStatus>
            <IsUnread>boolean</IsUnread>
            <IsUpdated>boolean</IsUpdated>
            <MailQueueData xsi:nil="true" />
            <RRule>string</RRule>
            <RRulePeriods xsi:nil="true" />
            <Code>string</Code>
            <MIMEType>string</MIMEType>
            <SizeString>string</SizeString>
            <Size>long</Size>
            <Guid>string</Guid>
            <CustomFields xsi:nil="true" />
            <DescriptionPlainReadOnly>string</DescriptionPlainReadOnly>
            <DateCreatedUtcString>string</DateCreatedUtcString>
            <PSG_Applied>int</PSG_Applied>
            <PSG_InheritEntryID>int</PSG_InheritEntryID>
            <PSG_Stage>int</PSG_Stage>
            <IsRestricted>boolean</IsRestricted>
            <DateLastModifiedString>string</DateLastModifiedString>
            <BestRecurrenceInfo xsi:nil="true" />
          </CalendarViewData>
        </Data>
      </arg>
    </SetDraftTimesheets>
  </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>
    <SetDraftTimesheetsResponse xmlns="http://schema.veetro.com" />
  </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>
    <SetDraftTimesheets xmlns="http://schema.veetro.com">
      <arg>
        <Add>boolean</Add>
        <Data>
          <CalendarViewData>
            <Type>Unknown or Event or ToDo or Journal or Invoice or Project or Support_Case or Disbursement or Notation or Message or Subscription or Product or Document or Quote or Credit_Invoice or IM or Withdrawal or Deposit or Refund or Lead or Proposal or MailQueue or Discussion</Type>
            <PrimaryKey>int</PrimaryKey>
            <IsEntryType>boolean</IsEntryType>
            <CalendarID>int</CalendarID>
            <Owner xsi:nil="true" />
            <Members xsi:nil="true" />
            <Name>string</Name>
            <Color>string</Color>
            <EditUrl>string</EditUrl>
            <EntryID_Parent>int</EntryID_Parent>
            <NotationID_Parent>int</NotationID_Parent>
            <IsAllDay>boolean</IsAllDay>
            <Start>dateTime</Start>
            <End>dateTime</End>
            <Due>dateTime</Due>
            <DateLastModified>dateTime</DateLastModified>
            <DateCreated>dateTime</DateCreated>
            <DateCompleted>dateTime</DateCompleted>
            <LeadStatus>Active or Win or Lose</LeadStatus>
            <LastContact>dateTime</LastContact>
            <Priority>int</Priority>
            <IsProgressInherited>boolean</IsProgressInherited>
            <PercentComplete>int</PercentComplete>
            <SortOrder>int</SortOrder>
            <HierarchyId>string</HierarchyId>
            <StartUtc>dateTime</StartUtc>
            <EndUtc>dateTime</EndUtc>
            <DueUtc>dateTime</DueUtc>
            <DateCompletedUtc>dateTime</DateCompletedUtc>
            <Ancestor xsi:nil="true" />
            <Lead xsi:nil="true" />
            <Amount>double</Amount>
            <Delete>boolean</Delete>
            <StartUtcString>string</StartUtcString>
            <EndUtcString>string</EndUtcString>
            <DueUtcString>string</DueUtcString>
            <DateCompletedUtcString>string</DateCompletedUtcString>
            <LastContactUtcString>string</LastContactUtcString>
            <EmailToInfoHtml>string</EmailToInfoHtml>
            <DescriptionHtml>string</DescriptionHtml>
            <Attachments>string</Attachments>
            <DurationUnCropped xsi:nil="true" />
            <ActivityID>int</ActivityID>
            <ActivityID_Default>int</ActivityID_Default>
            <ActivityName>string</ActivityName>
            <Relation xsi:nil="true" />
            <Company xsi:nil="true" />
            <EntryFlags>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</EntryFlags>
            <ProjectFlags>None or Disable_AutoTimeline or Disable_AutoProgress or HasPhases or ToDosAffectProgress or ToDosInheritTriggers or InheritActivityID</ProjectFlags>
            <NotationFlags>None or DiscussionPost or DiscussionClosed or DiscussionDeleted or IsResponsePost or IsRequestPost or Responsed or DiscussionAutoClosed or IsCompanyConfidential</NotationFlags>
            <LeadFlags>None or Inactive</LeadFlags>
            <SpansForward>boolean</SpansForward>
            <SpansBackwards>boolean</SpansBackwards>
            <Sequence>int</Sequence>
            <Triggers xsi:nil="true" />
            <PagedIndent>int</PagedIndent>
            <Occurrence>int</Occurrence>
            <Children xsi:nil="true" />
            <SupportCaseStatus>int</SupportCaseStatus>
            <IsUnread>boolean</IsUnread>
            <IsUpdated>boolean</IsUpdated>
            <MailQueueData xsi:nil="true" />
            <RRule>string</RRule>
            <RRulePeriods xsi:nil="true" />
            <Code>string</Code>
            <MIMEType>string</MIMEType>
            <SizeString>string</SizeString>
            <Size>long</Size>
            <Guid>string</Guid>
            <CustomFields xsi:nil="true" />
            <DescriptionPlainReadOnly>string</DescriptionPlainReadOnly>
            <DateCreatedUtcString>string</DateCreatedUtcString>
            <PSG_Applied>int</PSG_Applied>
            <PSG_InheritEntryID>int</PSG_InheritEntryID>
            <PSG_Stage>int</PSG_Stage>
            <IsRestricted>boolean</IsRestricted>
            <DateLastModifiedString>string</DateLastModifiedString>
            <BestRecurrenceInfo xsi:nil="true" />
          </CalendarViewData>
          <CalendarViewData>
            <Type>Unknown or Event or ToDo or Journal or Invoice or Project or Support_Case or Disbursement or Notation or Message or Subscription or Product or Document or Quote or Credit_Invoice or IM or Withdrawal or Deposit or Refund or Lead or Proposal or MailQueue or Discussion</Type>
            <PrimaryKey>int</PrimaryKey>
            <IsEntryType>boolean</IsEntryType>
            <CalendarID>int</CalendarID>
            <Owner xsi:nil="true" />
            <Members xsi:nil="true" />
            <Name>string</Name>
            <Color>string</Color>
            <EditUrl>string</EditUrl>
            <EntryID_Parent>int</EntryID_Parent>
            <NotationID_Parent>int</NotationID_Parent>
            <IsAllDay>boolean</IsAllDay>
            <Start>dateTime</Start>
            <End>dateTime</End>
            <Due>dateTime</Due>
            <DateLastModified>dateTime</DateLastModified>
            <DateCreated>dateTime</DateCreated>
            <DateCompleted>dateTime</DateCompleted>
            <LeadStatus>Active or Win or Lose</LeadStatus>
            <LastContact>dateTime</LastContact>
            <Priority>int</Priority>
            <IsProgressInherited>boolean</IsProgressInherited>
            <PercentComplete>int</PercentComplete>
            <SortOrder>int</SortOrder>
            <HierarchyId>string</HierarchyId>
            <StartUtc>dateTime</StartUtc>
            <EndUtc>dateTime</EndUtc>
            <DueUtc>dateTime</DueUtc>
            <DateCompletedUtc>dateTime</DateCompletedUtc>
            <Ancestor xsi:nil="true" />
            <Lead xsi:nil="true" />
            <Amount>double</Amount>
            <Delete>boolean</Delete>
            <StartUtcString>string</StartUtcString>
            <EndUtcString>string</EndUtcString>
            <DueUtcString>string</DueUtcString>
            <DateCompletedUtcString>string</DateCompletedUtcString>
            <LastContactUtcString>string</LastContactUtcString>
            <EmailToInfoHtml>string</EmailToInfoHtml>
            <DescriptionHtml>string</DescriptionHtml>
            <Attachments>string</Attachments>
            <DurationUnCropped xsi:nil="true" />
            <ActivityID>int</ActivityID>
            <ActivityID_Default>int</ActivityID_Default>
            <ActivityName>string</ActivityName>
            <Relation xsi:nil="true" />
            <Company xsi:nil="true" />
            <EntryFlags>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</EntryFlags>
            <ProjectFlags>None or Disable_AutoTimeline or Disable_AutoProgress or HasPhases or ToDosAffectProgress or ToDosInheritTriggers or InheritActivityID</ProjectFlags>
            <NotationFlags>None or DiscussionPost or DiscussionClosed or DiscussionDeleted or IsResponsePost or IsRequestPost or Responsed or DiscussionAutoClosed or IsCompanyConfidential</NotationFlags>
            <LeadFlags>None or Inactive</LeadFlags>
            <SpansForward>boolean</SpansForward>
            <SpansBackwards>boolean</SpansBackwards>
            <Sequence>int</Sequence>
            <Triggers xsi:nil="true" />
            <PagedIndent>int</PagedIndent>
            <Occurrence>int</Occurrence>
            <Children xsi:nil="true" />
            <SupportCaseStatus>int</SupportCaseStatus>
            <IsUnread>boolean</IsUnread>
            <IsUpdated>boolean</IsUpdated>
            <MailQueueData xsi:nil="true" />
            <RRule>string</RRule>
            <RRulePeriods xsi:nil="true" />
            <Code>string</Code>
            <MIMEType>string</MIMEType>
            <SizeString>string</SizeString>
            <Size>long</Size>
            <Guid>string</Guid>
            <CustomFields xsi:nil="true" />
            <DescriptionPlainReadOnly>string</DescriptionPlainReadOnly>
            <DateCreatedUtcString>string</DateCreatedUtcString>
            <PSG_Applied>int</PSG_Applied>
            <PSG_InheritEntryID>int</PSG_InheritEntryID>
            <PSG_Stage>int</PSG_Stage>
            <IsRestricted>boolean</IsRestricted>
            <DateLastModifiedString>string</DateLastModifiedString>
            <BestRecurrenceInfo xsi:nil="true" />
          </CalendarViewData>
        </Data>
      </arg>
    </SetDraftTimesheets>
  </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>
    <SetDraftTimesheetsResponse xmlns="http://schema.veetro.com" />
  </soap12:Body>
</soap12:Envelope>