SWAPI – TaskQuery

This command is used to query task information by TaskItemID (ItemID of a task item).

Request

<SessionRequest Version="string" SessionID="{8CA30500-59E8-4272-8E24-899A314C78C9}" RequestID="string">

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

    <TaskItemID>int</TaskItemID>

  </TaskQuery>

</SessionRequest>

 

·         TaskItemID – The ID of the task.

Response

<?xml version="1.0" encoding="UTF-8"?>

<TaskQueryData RequestID="string">

  <TaskQueryRecord>

    <TaskItemID>integer</TaskItemID>

    <ItemNumber>string(15)</ItemNumber>

    <ItemCategory>string(15)</ItemCategory>

    <ItemGroup>string(15)</ItemGroup>

    <Description>string(100)</Description>

    <LastPriceUpdate>dateTime</LastPriceUpdate>

    <TaskRetailPrice>float</TaskRetailPrice>

    <TaskTotalPrice>float</TaskTotalPrice>

    <TaskPartPrice>float</TaskPartPrice>

    <TaskLaborPrice>float</TaskLaborPrice>

    <TaskMiscPrice>float</TaskMiscPrice>

    <TaxAmount>float</TaxAmount>

    <LaborAlloted>float</LaborAlloted>

    <AddTax>boolean</AddTax>

    <IsActive>boolean</IsActive>

    <ItemType>string(1)</ItemType>

    <ItemDetailUpdated>dateTime</ItemDetailUpdated>

    <IsDiagItem>boolean</IsDiagItem>

    <TaskNote>string(255)</TaskNote>

    <dsTaskDetailList>

      <dsTaskDetail>

        <TaskItemDetailID>integer</TaskItemDetailID>

        <TaskItemID>integer</TaskItemID>

        <ItemID>integer</ItemID>

        <ItemNumber>string(15)</ItemNumber>

        <ItemType>string(1)</ItemType>

        <Description>string(100)</Description>

        <Quantity>float</Quantity>

        <UnitCost>float</UnitCost>

        <UnitPrice>float</UnitPrice>

        <TotalCost>float</TotalCost>

        <TotalPrice>float</TotalPrice>

        <ItemCategory>string(15)</ItemCategory>

        <ItemGroup>string(15)</ItemGroup>

        <UPC>string(20)</UPC>

        <Manufacturer>string(6)</Manufacturer>

        <ModelNo>string(20)</ModelNo>

        <IsSerialized>boolean</IsSerialized>

        <UnitOfMeasure>string(4)</UnitOfMeasure>

      </dsTaskDetail>

    </dsTaskDetailList>

  </TaskQueryRecord>

</TaskQueryData>

 

·         TaskItemID – The ID of the task.

·         Notes – The notes provided in SuccessWare21 agreement visit schedule.

·         ItemNumber – User item number.

·         ItemCategory – Price book category of item/detail item.

·         ItemGroup – Price book group of item/detail item.

·         Description – Task description.

·         LastPriceUpdate – Last updated price.

·         TaskRetailPrice – Retail price for task.

·         TaskTotalPrice – Total task price.

·         TaskPartPrice – Part portion of task price.

·         TaskLaborPrice – Labor portion of task price.

·         TaskMiscPrice – Miscellaneous portion of task price.

·         TaxAmount – Amout of tax for task.

·         LaborAllotted – Time allotted to complete task.

·         AddTax – Added tax.

·         IsActive – Indicates if task is active in price book.

·         ItemType – T for item, PLM for details.

·         ItemDetailUpdated – Last date/time item was updated.

·         IsDiagItem – Item used for diagnostics.

·         TaskNote – Note for task.

·         TaskItemDetailID – Unique ID for the detail of the item.

·         ItemID – Item unique id.

·         ItemNumber – User assigned number.

·         Description – Item/Detail description depending on position.

·         Quantity – Item/Detail quantity depending on position.

·         UnitCost – Unit cost for item/detail, depending on position.

·         UnitPrice – Unit price for item/detail, depending on position.

·         TotalCost – Total cost for item/detail, depending on position.

·         TotalPrice – Total price for item/detail, depending on position.

·         UPCUPC code of detail item.

·         Manufacturer – Manufacturer of detail item.

·         ModelNo – Model number of detail item.

·         IsSerialized – Is detail item serialized.

·         UnitOfMeasure – Unit of measure used for detail item.