OrderTransactionSvc


Click here for a complete list of operations.

GetTransactionWorkDataByOrderIdRef

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 /OrderTransactionSvc.asmx HTTP/1.1
Host: uatorderqueue.trugreen.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetTransactionWorkDataByOrderIdRef"

<?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>
    <GetTransactionWorkDataByOrderIdRef xmlns="http://tempuri.org/">
      <user>
        <UserID>string</UserID>
        <Password>string</Password>
      </user>
      <orderIdRef>string</orderIdRef>
    </GetTransactionWorkDataByOrderIdRef>
  </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>
    <GetTransactionWorkDataByOrderIdRefResponse xmlns="http://tempuri.org/">
      <GetTransactionWorkDataByOrderIdRefResult>
        <WorkData>
          <OrderIdRef>string</OrderIdRef>
          <OrderGroupRef>string</OrderGroupRef>
          <SellingEmployeeNum>string</SellingEmployeeNum>
          <Brand>string</Brand>
          <ContinuousServiceFlag>string</ContinuousServiceFlag>
          <PaymentProcessor>string</PaymentProcessor>
          <Customer>
            <CustomerNumber>string</CustomerNumber>
            <CustomerId>string</CustomerId>
            <D365IDCustomerID>string</D365IDCustomerID>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <Prefix>string</Prefix>
            <Suffix>string</Suffix>
            <Title>string</Title>
            <Email>string</Email>
            <MarketType>string</MarketType>
            <BusinessName>string</BusinessName>
            <CustomerNotes>string</CustomerNotes>
            <BranchNum>string</BranchNum>
            <ServiceAddress xsi:nil="true" />
            <BillingAddress xsi:nil="true" />
            <ServiceAddressD365 xsi:nil="true" />
            <BillingAddressD365 xsi:nil="true" />
            <Phones xsi:nil="true" />
            <Emails xsi:nil="true" />
            <Notes>string</Notes>
            <PropertyInfo xsi:nil="true" />
            <PPDiscountPercentage>decimal</PPDiscountPercentage>
            <EmailNotProvided>boolean</EmailNotProvided>
            <PaperlessBilling>boolean</PaperlessBilling>
            <PreServiceNotification>string</PreServiceNotification>
            <NotificationType>string</NotificationType>
            <SameDayServiceNotification>string</SameDayServiceNotification>
            <IniPtySrc>string</IniPtySrc>
            <CMALinkPhone>string</CMALinkPhone>
            <MonthlyBillingFlag>boolean</MonthlyBillingFlag>
            <MonthlyBillingDay>int</MonthlyBillingDay>
            <ServiceTicket>string</ServiceTicket>
            <IBEnrollmentStatus>string</IBEnrollmentStatus>
            <IBEnrollmentDate>string</IBEnrollmentDate>
            <IBEnrollmentPlanStartDate>string</IBEnrollmentPlanStartDate>
          </Customer>
          <Lead>
            <LeadType>string</LeadType>
            <TargetProblem>string</TargetProblem>
            <LeadCaptureSource>string</LeadCaptureSource>
            <LeadSource>string</LeadSource>
            <LeadSubSrc>string</LeadSubSrc>
            <MediaSrc>string</MediaSrc>
            <PartnerLead>string</PartnerLead>
            <LeadNotes>string</LeadNotes>
            <CancelReasonCode>string</CancelReasonCode>
            <LeadID>string</LeadID>
            <SalesCallID>string</SalesCallID>
            <Notes>string</Notes>
            <AddedNotes>boolean</AddedNotes>
            <IsScheduled>boolean</IsScheduled>
            <Schedule xsi:nil="true" />
            <WhyTrugreen>string</WhyTrugreen>
            <LeadDisposition>string</LeadDisposition>
            <LeadUID>long</LeadUID>
            <OlympusSessionID>long</OlympusSessionID>
            <vccContactID>long</vccContactID>
          </Lead>
          <Items>
            <Item xsi:nil="true" />
            <Item xsi:nil="true" />
          </Items>
          <SalesAssessments>
            <SalesAssessment xsi:nil="true" />
            <SalesAssessment xsi:nil="true" />
          </SalesAssessments>
          <ClickpointData>
            <VID>string</VID>
            <LID>string</LID>
            <Password>string</Password>
            <Brand>string</Brand>
            <ServiceCategory>string</ServiceCategory>
            <MarketingPartner>string</MarketingPartner>
            <ResponseMethod>string</ResponseMethod>
            <Campaign>string</Campaign>
            <CallbackDateTime>string</CallbackDateTime>
            <IPAddress>string</IPAddress>
            <ReferringDomain>string</ReferringDomain>
            <Comments>string</Comments>
            <InterestArea>string</InterestArea>
            <CompanyName>string</CompanyName>
            <Subject>string</Subject>
            <UserName>string</UserName>
            <ExistingLeadUID>string</ExistingLeadUID>
            <Disposition>string</Disposition>
            <Description>string</Description>
            <ScheduledCallback>boolean</ScheduledCallback>
            <AppointmentUID>string</AppointmentUID>
            <DefaultCPLeadAction>string</DefaultCPLeadAction>
            <CPLeadAction>string</CPLeadAction>
            <MatchingLeadUIDs xsi:nil="true" />
            <LeadUIDsToProcess xsi:nil="true" />
          </ClickpointData>
          <AuditData>
            <Amount>decimal</Amount>
            <AgentID>string</AgentID>
            <AgentName>string</AgentName>
            <DateSold>dateTime</DateSold>
            <SalesChannel>string</SalesChannel>
            <ServiceBUnit>string</ServiceBUnit>
            <ServiceRegion>string</ServiceRegion>
            <ServiceDivision>string</ServiceDivision>
            <SoldBUnit>string</SoldBUnit>
            <SoldRegion>string</SoldRegion>
            <SoldDivision>string</SoldDivision>
            <Status>string</Status>
            <Notes>string</Notes>
            <LeadType>string</LeadType>
            <LeadSource>string</LeadSource>
            <CampaignID>string</CampaignID>
            <CampaignName>string</CampaignName>
            <PaymentOptionOriginal>string</PaymentOptionOriginal>
            <PaymentTypeOriginal>string</PaymentTypeOriginal>
            <Disposition>string</Disposition>
            <AutoPushDate>dateTime</AutoPushDate>
            <AutoSendDate>dateTime</AutoSendDate>
            <SelfAudit>int</SelfAudit>
            <AgeInMinutes>int</AgeInMinutes>
            <AuditAction>string</AuditAction>
            <CallBackUTCDate>dateTime</CallBackUTCDate>
          </AuditData>
          <CurrentItemIndex>long</CurrentItemIndex>
          <OrderNotes>string</OrderNotes>
          <ESignRequestID>int</ESignRequestID>
          <MAID>string</MAID>
          <SessionInformation>
            <CustomerTypePriority>string</CustomerTypePriority>
            <CustomerTypeType>string</CustomerTypeType>
            <CustomerTypeIssues>string</CustomerTypeIssues>
            <GrassType>string</GrassType>
            <LawnRating>int</LawnRating>
            <HouseStyle>string</HouseStyle>
            <HouseColor>string</HouseColor>
            <HouseExterior>string</HouseExterior>
            <LockedGate>boolean</LockedGate>
            <GateCode>string</GateCode>
            <OutsidePet>boolean</OutsidePet>
            <InvisibleFence>boolean</InvisibleFence>
            <Sprinkler>boolean</Sprinkler>
            <LeadNotes>string</LeadNotes>
          </SessionInformation>
          <TotalTaxAmt>string</TotalTaxAmt>
          <StructureType>string</StructureType>
          <EmployeeMissionUsername>string</EmployeeMissionUsername>
          <ESignatureReferenceID>int</ESignatureReferenceID>
          <ZingTreeSessionID>string</ZingTreeSessionID>
          <ContractRefID>string</ContractRefID>
          <CaptureContract>string</CaptureContract>
          <D365QuoteId>string</D365QuoteId>
          <D365OpportunityId>string</D365OpportunityId>
          <NYContractGroup>string</NYContractGroup>
          <SourceSystemId>string</SourceSystemId>
        </WorkData>
      </GetTransactionWorkDataByOrderIdRefResult>
    </GetTransactionWorkDataByOrderIdRefResponse>
  </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 /OrderTransactionSvc.asmx HTTP/1.1
Host: uatorderqueue.trugreen.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>
    <GetTransactionWorkDataByOrderIdRef xmlns="http://tempuri.org/">
      <user>
        <UserID>string</UserID>
        <Password>string</Password>
      </user>
      <orderIdRef>string</orderIdRef>
    </GetTransactionWorkDataByOrderIdRef>
  </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>
    <GetTransactionWorkDataByOrderIdRefResponse xmlns="http://tempuri.org/">
      <GetTransactionWorkDataByOrderIdRefResult>
        <WorkData>
          <OrderIdRef>string</OrderIdRef>
          <OrderGroupRef>string</OrderGroupRef>
          <SellingEmployeeNum>string</SellingEmployeeNum>
          <Brand>string</Brand>
          <ContinuousServiceFlag>string</ContinuousServiceFlag>
          <PaymentProcessor>string</PaymentProcessor>
          <Customer>
            <CustomerNumber>string</CustomerNumber>
            <CustomerId>string</CustomerId>
            <D365IDCustomerID>string</D365IDCustomerID>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <Prefix>string</Prefix>
            <Suffix>string</Suffix>
            <Title>string</Title>
            <Email>string</Email>
            <MarketType>string</MarketType>
            <BusinessName>string</BusinessName>
            <CustomerNotes>string</CustomerNotes>
            <BranchNum>string</BranchNum>
            <ServiceAddress xsi:nil="true" />
            <BillingAddress xsi:nil="true" />
            <ServiceAddressD365 xsi:nil="true" />
            <BillingAddressD365 xsi:nil="true" />
            <Phones xsi:nil="true" />
            <Emails xsi:nil="true" />
            <Notes>string</Notes>
            <PropertyInfo xsi:nil="true" />
            <PPDiscountPercentage>decimal</PPDiscountPercentage>
            <EmailNotProvided>boolean</EmailNotProvided>
            <PaperlessBilling>boolean</PaperlessBilling>
            <PreServiceNotification>string</PreServiceNotification>
            <NotificationType>string</NotificationType>
            <SameDayServiceNotification>string</SameDayServiceNotification>
            <IniPtySrc>string</IniPtySrc>
            <CMALinkPhone>string</CMALinkPhone>
            <MonthlyBillingFlag>boolean</MonthlyBillingFlag>
            <MonthlyBillingDay>int</MonthlyBillingDay>
            <ServiceTicket>string</ServiceTicket>
            <IBEnrollmentStatus>string</IBEnrollmentStatus>
            <IBEnrollmentDate>string</IBEnrollmentDate>
            <IBEnrollmentPlanStartDate>string</IBEnrollmentPlanStartDate>
          </Customer>
          <Lead>
            <LeadType>string</LeadType>
            <TargetProblem>string</TargetProblem>
            <LeadCaptureSource>string</LeadCaptureSource>
            <LeadSource>string</LeadSource>
            <LeadSubSrc>string</LeadSubSrc>
            <MediaSrc>string</MediaSrc>
            <PartnerLead>string</PartnerLead>
            <LeadNotes>string</LeadNotes>
            <CancelReasonCode>string</CancelReasonCode>
            <LeadID>string</LeadID>
            <SalesCallID>string</SalesCallID>
            <Notes>string</Notes>
            <AddedNotes>boolean</AddedNotes>
            <IsScheduled>boolean</IsScheduled>
            <Schedule xsi:nil="true" />
            <WhyTrugreen>string</WhyTrugreen>
            <LeadDisposition>string</LeadDisposition>
            <LeadUID>long</LeadUID>
            <OlympusSessionID>long</OlympusSessionID>
            <vccContactID>long</vccContactID>
          </Lead>
          <Items>
            <Item xsi:nil="true" />
            <Item xsi:nil="true" />
          </Items>
          <SalesAssessments>
            <SalesAssessment xsi:nil="true" />
            <SalesAssessment xsi:nil="true" />
          </SalesAssessments>
          <ClickpointData>
            <VID>string</VID>
            <LID>string</LID>
            <Password>string</Password>
            <Brand>string</Brand>
            <ServiceCategory>string</ServiceCategory>
            <MarketingPartner>string</MarketingPartner>
            <ResponseMethod>string</ResponseMethod>
            <Campaign>string</Campaign>
            <CallbackDateTime>string</CallbackDateTime>
            <IPAddress>string</IPAddress>
            <ReferringDomain>string</ReferringDomain>
            <Comments>string</Comments>
            <InterestArea>string</InterestArea>
            <CompanyName>string</CompanyName>
            <Subject>string</Subject>
            <UserName>string</UserName>
            <ExistingLeadUID>string</ExistingLeadUID>
            <Disposition>string</Disposition>
            <Description>string</Description>
            <ScheduledCallback>boolean</ScheduledCallback>
            <AppointmentUID>string</AppointmentUID>
            <DefaultCPLeadAction>string</DefaultCPLeadAction>
            <CPLeadAction>string</CPLeadAction>
            <MatchingLeadUIDs xsi:nil="true" />
            <LeadUIDsToProcess xsi:nil="true" />
          </ClickpointData>
          <AuditData>
            <Amount>decimal</Amount>
            <AgentID>string</AgentID>
            <AgentName>string</AgentName>
            <DateSold>dateTime</DateSold>
            <SalesChannel>string</SalesChannel>
            <ServiceBUnit>string</ServiceBUnit>
            <ServiceRegion>string</ServiceRegion>
            <ServiceDivision>string</ServiceDivision>
            <SoldBUnit>string</SoldBUnit>
            <SoldRegion>string</SoldRegion>
            <SoldDivision>string</SoldDivision>
            <Status>string</Status>
            <Notes>string</Notes>
            <LeadType>string</LeadType>
            <LeadSource>string</LeadSource>
            <CampaignID>string</CampaignID>
            <CampaignName>string</CampaignName>
            <PaymentOptionOriginal>string</PaymentOptionOriginal>
            <PaymentTypeOriginal>string</PaymentTypeOriginal>
            <Disposition>string</Disposition>
            <AutoPushDate>dateTime</AutoPushDate>
            <AutoSendDate>dateTime</AutoSendDate>
            <SelfAudit>int</SelfAudit>
            <AgeInMinutes>int</AgeInMinutes>
            <AuditAction>string</AuditAction>
            <CallBackUTCDate>dateTime</CallBackUTCDate>
          </AuditData>
          <CurrentItemIndex>long</CurrentItemIndex>
          <OrderNotes>string</OrderNotes>
          <ESignRequestID>int</ESignRequestID>
          <MAID>string</MAID>
          <SessionInformation>
            <CustomerTypePriority>string</CustomerTypePriority>
            <CustomerTypeType>string</CustomerTypeType>
            <CustomerTypeIssues>string</CustomerTypeIssues>
            <GrassType>string</GrassType>
            <LawnRating>int</LawnRating>
            <HouseStyle>string</HouseStyle>
            <HouseColor>string</HouseColor>
            <HouseExterior>string</HouseExterior>
            <LockedGate>boolean</LockedGate>
            <GateCode>string</GateCode>
            <OutsidePet>boolean</OutsidePet>
            <InvisibleFence>boolean</InvisibleFence>
            <Sprinkler>boolean</Sprinkler>
            <LeadNotes>string</LeadNotes>
          </SessionInformation>
          <TotalTaxAmt>string</TotalTaxAmt>
          <StructureType>string</StructureType>
          <EmployeeMissionUsername>string</EmployeeMissionUsername>
          <ESignatureReferenceID>int</ESignatureReferenceID>
          <ZingTreeSessionID>string</ZingTreeSessionID>
          <ContractRefID>string</ContractRefID>
          <CaptureContract>string</CaptureContract>
          <D365QuoteId>string</D365QuoteId>
          <D365OpportunityId>string</D365OpportunityId>
          <NYContractGroup>string</NYContractGroup>
          <SourceSystemId>string</SourceSystemId>
        </WorkData>
      </GetTransactionWorkDataByOrderIdRefResult>
    </GetTransactionWorkDataByOrderIdRefResponse>
  </soap12:Body>
</soap12:Envelope>