Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


API call formatting

XML Format


Body

<Request>

  <ProductMaster>

    <CountryOfOrigin>string</CountryOfOrigin>

    <Brand>string</Brand>

    <Colour>string</Colour>

    <Size>string</Size>

    <GroupIdentifier>string</GroupIdentifier>

    <QCControlled>true</QCControlled>

    <QCPercentage>1</QCPercentage>

    <SerialNumberControlled>true</SerialNumberControlled>

    <InwardProcessing>true</InwardProcessing>

    <WetBond>true</WetBond>

    <UnitPrice>1.1</UnitPrice>

    <LeadTime>1</LeadTime>

    <Category1>string</Category1>

    <Category2>string</Category2>

    <MOQ>1</MOQ>

    <Currency>string</Currency>

    <ProductUse>string</ProductUse>

    <ClientProductStatus>string</ClientProductStatus>

    <Business>string</Business>

    <Bonded>true</Bonded>

    <SecondaryCurrencyCode>string</SecondaryCurrencyCode>

    <SecondaryPrice>1.1</SecondaryPrice>

    <StyleCode>string</StyleCode>

    <Material>string</Material>

    <Kit>true</Kit>

    <DangerousGoodsClass>string</DangerousGoodsClass>

    <Hazmat>string</Hazmat>

    <EAN>string</EAN>

    <HTSCode>string</HTSCode>

    <ProductDescription>string</ProductDescription>

    <DateControlled>true</DateControlled>

    <GrossWeight>1.1</GrossWeight>

    <GrossWeightUOM>string</GrossWeightUOM>

    <LotControlled>true</LotControlled>

    <Hazardous>true</Hazardous>

    <ProductCode>string</ProductCode>

    <ProductLongDescription>string</ProductLongDescription>

  </ProductMaster>

  <List>

    <Image>

      <ImageData>string</ImageData>

      <DefaultImage>true</DefaultImage>

    </Image>

    <SupplierMapping>

      <SupplierCode>string</SupplierCode>

      <SupplierDescription>string</SupplierDescription>

      <UOM>1</UOM>

    </SupplierMapping>

    <ShipToCompanyMapping>

      <BranchCode>string</BranchCode>

      <CompanyCode>string</CompanyCode>

      <MappedCode>string</MappedCode>

    </ShipToCompanyMapping>

    <ProductCategory>

      <CategoryCode>string</CategoryCode>

    </ProductCategory>

    <ProductIdentifier>

      <Name>string</Name>

      <Values>string</Values>

    </ProductIdentifier>

  </List>

</Request>

Example success Response Body

<Response>
<CallStatus>
<Success>true</Success>
<Code>0</Code>
<Message></Message>
</CallStatus>
</Response>

Example failure Response Body

<Response>
<CallStatus>
<Success>false</Success>
<Code>100</Code>
<Message>Error. Product Code PMTest123 already exists.</Message>
</CallStatus>
</Response>

...