GetPalletTypesByQuery

This function allows you to fetch pallet types.

Tags: GetPalletTypesByQuery, GetPalletTypesQuery, GetPalletTypesByQueryResponse, GetPalletTypesResult, PalletType, PalletTypeCategory

Request XML

POST /xxx/Automation.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/Automation/GetPalletTypesByQuery"

<?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>
    <GetPalletTypesByQuery xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Query>
        <PalletTypeCodes>
          <string>string</string>
          <string>string</string>
        </PalletTypeCodes>
        <GoodsOwnerId>int</GoodsOwnerId>
      </Query>
    </GetPalletTypesByQuery>
  </soap:Body>
</soap:Envelope>

Request specification

GetPalletTypesByQuery
UserName string(50) Req. Your username
Password string(50) Req. Your password
Query GetPalletTypesQuery Req. The query object
GetPalletTypesQuery
PalletTypeCodes string[] Filter for pallet type codes
GoodsOwnerId int Filter for pallet types belonging to this goods owner

Response XML

<?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>
    <GetPalletTypesByQueryResponse xmlns="http://ongoingsystems.se/Automation">
      <GetPalletTypesByQueryResult>
        <Message>string</Message>
        <Success>boolean</Success>
        <PalletTypes>
          <PalletType>
            <Name>string</Name>
            <Code>string</Code>
            <Id>int</Id>
            <Weight>decimal</Weight>
            <Length>decimal</Length>
            <Width>decimal</Width>
            <Height>decimal</Height>
            <LoadMeters>decimal</LoadMeters>
            <Area>decimal</Area>
            <BarCode>string</BarCode>
            <ChargePrice>decimal</ChargePrice>
            <PalletTypeCategory>
              <Id>int</Id>
              <Name>string</Name>
              <Code>string</Code>
            </PalletTypeCategory>
          </PalletType>
          <PalletType>
            <Name>string</Name>
            <Code>string</Code>
            <Id>int</Id>
            <Weight>decimal</Weight>
            <Length>decimal</Length>
            <Width>decimal</Width>
            <Height>decimal</Height>
            <LoadMeters>decimal</LoadMeters>
            <Area>decimal</Area>
            <BarCode>string</BarCode>
            <ChargePrice>decimal</ChargePrice>
            <PalletTypeCategory>
              <Id>int</Id>
              <Name>string</Name>
              <Code>string</Code>
            </PalletTypeCategory>
          </PalletType>
        </PalletTypes>
      </GetPalletTypesByQueryResult>
    </GetPalletTypesByQueryResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetPalletTypesByQueryResponse
GetPalletTypesByQueryResult GetPalletTypesResult
GetPalletTypesResult
Message string If the call failed, this field contains the error message
Success boolean True if the call succeeded, false otherwise
PalletTypes PalletType[] A list of PackageTypeModel objects
PalletType
Name string The pallet type name
Code string The pallet type code
Id int The pallet type id
Weight decimal The pallet type weight
Length decimal The pallet type length
Width decimal The pallet type width
Height decimal The pallet type height
LoadMeters decimal The pallet type load meters
Area decimal The pallet type area
BarCode string The pallet type barcode
ChargePrice decimal The pallet type charge price
PalletTypeCategory PalletTypeCategory The pallet type category
PalletTypeCategory
Id int The pallet type category id
Name string The pallet type category name
Code string The pallet type category code