SWAPI – Job Query by JobID

JobQuery has been updated to query job information by either JobID or JobNo.  In addition, additional location and billing account phone numbers have been added to the result.

JobQuery

Request

You must submit at least one of the parameters JobNo or JobID.  You may omit the XML tag (JobNo or JobID) that is not used. 

 

<SessionRequest Version="string" SessionID="{583998F0-1C72-45C5-8C50-5D3E13A82DBF}" RequestID="string">

  <JobQuery Filter="string" Max="string" OrderBy="string" StyleNo="string" StyleOptions="string">

    <JobNo>string</JobNo>

    <JobID>int</JobID>

  </JobQuery>

</SessionRequest>

Response

Added

·         Phone2, Phone3, Phone4, AccountPhone2, AccountPhone3, AccountPhone4

 

<?xml version="1.0"?>

<JobQueryData RequestID="string">

  <JobQueryRecord>

    <JobID>integer</JobID>

    <JobNo>string(10)</JobNo>

    <JobClass>string(15)</JobClass>

    <JobType>string(6)</JobType>

    <Department>string(2)</Department>

    <Status>string(6)</Status>

    <LocationType>string(6)</LocationType>

    <FirstName>string(25)</FirstName>

    <LastName>string(35)</LastName>

    <CompanyName>string(35)</CompanyName>

    <Address1>string(35)</Address1>

    <Address2>string(35)</Address2>

    <City>string(20)</City>

    <State>string(2)</State>

    <Zip>string(10)</Zip>

    <Phone>string(12)</Phone>

    <Email>string(150)</Email>

    <LocationID>integer</LocationID>

    <AccountFirstName>string(25)</AccountFirstName>

    <AccountLastName>string(35)</AccountLastName>

    <AccountCompanyName>string(35)</AccountCompanyName>

    <AccountAddress1>string(35)</AccountAddress1>

    <AccountAddress2>string(35)</AccountAddress2>

    <AccountCity>string(20)</AccountCity>

    <AccountState>string(2)</AccountState>

    <AccountZip>string(10)</AccountZip>

    <AccountPhone>string(12)</AccountPhone>

    <AccountEmail>string(150)</AccountEmail>

    <AR_BillingCustomerID>integer</AR_BillingCustomerID>

    <AccountNumber>string(10)</AccountNumber>

    <Instructions>string</Instructions>

    <AgreementType>string(60)</AgreementType>

    <AgreementID>integer</AgreementID>

    <ContractNo>string(20)</ContractNo>

    <ClaimNo>string(10)</ClaimNo>

    <ContractPlanTypes>string(8000)</ContractPlanTypes>

    <WorkDone>string</WorkDone>

    <WorkSuggested>string</WorkSuggested>

    <WarrantyType>string(60)</WarrantyType>

    <WarrantyID>integer</WarrantyID>

    <UnitType>string(50)</UnitType>

    <UnitID>integer</UnitID>

    <UnitAge>integer</UnitAge>

    <CustomerPONum>string(12)</CustomerPONum>

    <JProgress>integer</JProgress>

    <JobProgress>string(11)</JobProgress>

    <Phone2>string(12)</Phone2>

    <Phone3>string(12)</Phone3>

    <Phone4>string(12)</Phone4>

    <AccountPhone2>string(12)</AccountPhone2>

    <AccountPhone3>string(12)</AccountPhone3>

    <AccountPhone4>string(12)</AccountPhone4>

  </JobQueryRecord>

</JobQueryData>