SWAPI – ItemQuery

This command is used to query item information by ItemID or ItemNumber.

Request

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

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

    <ItemID>int</ItemID>

OR

    <ItemNumber>string</ItemNumber>

  </ItemQuery>

</SessionRequest>

 

·         ItemID – The Item ID.

·         ItemNumber – The users Item Number.

Response

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

<ItemQueryData RequestID="string">

  <ItemQueryRecord>

    <ItemID>integer</ItemID>

    <ItemNumber>string(15)</ItemNumber>

    <ItemCategory>string(15)</ItemCategory>

    <ItemGroup>string(15)</ItemGroup>

    <Description>string(100)</Description>

    <LastPriceUpdate>dateTime</LastPriceUpdate>

    <StandardPrice>float</StandardPrice>

    <UseAsTask>boolean</UseAsTask>

    <TaskRetailPrice>float</TaskRetailPrice>

    <TaskTotalPrice>float</TaskTotalPrice>

    <TaskPartPrice>float</TaskPartPrice>

    <TaskLaborPrice>float</TaskLaborPrice>

    <TaskMiscPrice>float</TaskMiscPrice>

    <TaxAmount>float</TaxAmount>

    <LaborAllotted>float</LaborAllotted>

    <AddTax>boolean</AddTax>

    <IsActive>boolean</IsActive>

    <ItemType>string(1)</ItemType>

    <UPC>string(20)</UPC>

    <Manufacturer>string(6)</Manufacturer>

    <ModelNo>string(20)</ModelNo>

    <IsSerialized>boolean</IsSerialized>

    <ItemDetailUpdated>dateTime</ItemDetailUpdated>

    <StandardCost>float</StandardCost>

    <UnitOfMeasure>string(4)</UnitOfMeasure>

  </ItemQueryRecord>

</ItemQueryData>

 

 

·         ItemID – The ID of the item.

·         ItemNumber – User item number.

·         ItemCategory – Price book category of item.

·         ItemGroup – Price book group of item.

·         Description – Item description.

·         LastPriceUpdate – Last updated price.

·         StandardPrice – Standard price of item.

·         UseAsTask  – Can item be used as a task.

·         TaskRetailPrice – Retail price for item.

·         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.

·         UPCUPC code of detail item.

·         Manufacturer – Manufacturer of detail item.

·         ModelNo – Model number of detail item.

·         IsSerialized – Is detail item serialized.

·         ItemDetailUpdated – Last date/time item was updated.

·         StandardCost – Standard cost of item.

·         UnitOfMeasure – Unit of measure for item.