Request


URL: Pos/InsertarPosXmlClientes/

Method: POST

Content-Type: application/xml

Input Parameters

NameTypeDescription
AuthenticationTokenstring(50) (Required)Alliance Cloud Security Token

Body

NameTypeDescription
WarehouseCodestring(8) (Required) Warehouse code AL, use DGG
ConsigneeCodestring(32) (Required)Customer code
PoNumberstring(50) (Required)Po Number
OriginPortCodestring(3) (Required)For local orders to Miami send MIA.
DestinationPortCodestring(3) (Required)For local orders to Miami send MIA.
EstimatedDateDate(yyyy-MM-dd) (Required)Delivery date of the local order
Commentsstring(64)Comment
PostTypestring(5) (Required)For local orders send LOCAL, for POs from origin send FINAL
Accionstring(6) (Required)To insert or update the information send INSERT, to delete the information send DELETE
ShipToCodestring(32)Code of the ship-to
CarrierCodestring(32)Code of the carrier
DispatchDateDate(yyyy-MM-dd)Shipping date from our Miami warehouse
FarmCodestring(32) (Required)Supplier code
Barcodestring(11) (Required)Barcode number, has to be unique and max 11 digits. Logiztik Alliance Group provides a prefix that should be used together with a numeric sequential.
BoxSizestring(3)Box type, FB, HB, QB…
ProductCodestring(32)Code of the product
ProductDescriptionstring(128)Product variety
Packingint (Required)Number of units
UnitPricedecimal(3)Unit’s price, obligatory for Canada
Lengthdecimal(3) (Required)Length of the piece, can be 0
Widthdecimal(3) (Required)Width of the piece, can be 0
Heightdecimal(3) (Required)Hight of the piece, can be 0
GrossWeightdecimal(2)Weight of the piece
UnitOfMeasurementstring(16)Unit of measure for the dimensions, CM or INCH
Commentsstring(128)Comment
<?xml version=’1.0′ encoding=’UTF-8′?>
<tblData>
    <tblData>
        <_x0023_>1095345157</_x0023_>
        <Document_x0020_Number>TEST202</Document_x0020_Number>
        <Customer_x002F_Vendor_x0020_Name>Example</Customer_x002F_Vendor_x0020_Name>
        <Ship_x0020_to>18329</Ship_x0020_to>
        <Farm_x0020_Ship_x0020_Date>2021-09-14</Farm_x0020_Ship_x0020_Date>
        <Item_x0020_No_x0023_>817303026220</Item_x0020_No_x0023_>
        <Item_x002F_Service_x0020_Description>TROPICAL CHARM BQT</Item_x002F_Service_x0020_Description>
        <Packing>10</Packing>
        <Quantity>5</Quantity>
        <Customer_x002F_Vendor_x0020_Code></Customer_x002F_Vendor_x0020_Code>
        <Sales_x0020_UoM>TB</Sales_x0020_UoM>
        <Miami_x0020_Ship_x0020_Date>2021-09-16</Miami_x0020_Ship_x0020_Date>
        <Comments></Comments>
        <Category>OTH</Category>
        <Farm_x0020_Code>EXP051656</Farm_x0020_Code>
        <Barcode>10953888</Barcode>
        <Carrier>44</Carrier>
        <Miami_x0020_Due_x0020_Date>2021-09-17</Miami_x0020_Due_x0020_Date>
        <Customer_x0020_Code>CTJS0003</Customer_x0020_Code>
        <Customer_x0020_Address>DAYTONA BEACH FL</Customer_x0020_Address>
        <codigo_cientifico>ALPINIA PURPURATA / HELICONIA SP / ZINGIBER SPECTABILE</codigo_cientifico>
        <Customer_x0020_Name>Ship-to name</Customer_x0020_Name>
        <HAWB></HAWB>
        <MAWB>MIA-5710 TEST</MAWB>
        <Ship_x0020_to__x0020_Address>Ship-to adress</Ship_x0020_to__x0020_Address>
        <width>12,992126</width>
        <length>36,811024</length>
        <height>4,724409</height>
        <GGMain>2615</GGMain>
        <CodigoProducto>OTH</CodigoProducto>
        <PostType>LOCAL</PostType>
        <FarmGroup>TR</FarmGroup>
        <PalletEquivalent>0.76</PalletEquivalent>
        <PalletType>A</PalletType>
        <Detail1>SKU: 65328</Detail1>
        <Detail2>Plantas &amp; Flores Ornamentales</Detail2>
        <Detail3></Detail3>
        <Detail4></Detail4>
    </tblData>
</tblData>

Response

Output Success

NameTypeDescription
IsSuccessstring(5)Output Success
<PoStatus xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
    <IsSuccess>true</IsSuccess>
</PoStatus>
NameTypeDescription
IsSuccessstring(5)Output Error
pOnumberstring(400)
clientstring(400)
exporterstring(400)
messagestring(250)In case of an error, we return the error message in this field.
elementNumberstring
generalstring
messageTypestring(11)
accionstring(6)INSERT, DELETE

<PoStatus xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>

<IsSuccess>false</IsSuccess>

<Message>

<PoErrorDetails>

<POnumber>53-0019763X2</POnumber>

<Message>The consignee code 3Ldc0NYAIzBU***** does not exist</Message>

</PoErrorDetails>

</Message>

</PoStatus>