Request
URL: Pos/InsertarPosXmlClientes/
Method: POST
Content-Type: application/xml
Input Parameters
Name | Type | Description |
AuthenticationToken | string(50) (Required) | Alliance Cloud Security Token |
Body
Name | Type | Description |
WarehouseCode | string(8) (Required) | Warehouse code AL, use DGG |
ConsigneeCode | string(32) (Required) | Customer code |
PoNumber | string(50) (Required) | Po Number |
OriginPortCode | string(3) (Required) | For local orders to Miami send MIA. |
DestinationPortCode | string(3) (Required) | For local orders to Miami send MIA. |
EstimatedDate | Date(yyyy-MM-dd) (Required) | Delivery date of the local order |
Comments | string(64) | Comment |
PostType | string(5) (Required) | For local orders send LOCAL, for POs from origin send FINAL |
Accion | string(6) (Required) | To insert or update the information send INSERT, to delete the information send DELETE |
ShipToCode | string(32) | Code of the ship-to |
CarrierCode | string(32) | Code of the carrier |
DispatchDate | Date(yyyy-MM-dd) | Shipping date from our Miami warehouse |
FarmCode | string(32) (Required) | Supplier code |
Barcode | string(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. |
BoxSize | string(3) | Box type, FB, HB, QB… |
ProductCode | string(32) | Code of the product |
ProductDescription | string(128) | Product variety |
Packing | int (Required) | Number of units |
UnitPrice | decimal(3) | Unit’s price, obligatory for Canada |
Length | decimal(3) (Required) | Length of the piece, can be 0 |
Width | decimal(3) (Required) | Width of the piece, can be 0 |
Height | decimal(3) (Required) | Hight of the piece, can be 0 |
GrossWeight | decimal(2) | Weight of the piece |
UnitOfMeasurement | string(16) | Unit of measure for the dimensions, CM or INCH |
Comments | string(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 & Flores Ornamentales</Detail2>
    <Detail3></Detail3>
    <Detail4></Detail4>
  </tblData>
</tblData>
Response
Output Success
Name | Type | Description |
IsSuccess | string(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>
Name | Type | Description |
IsSuccess | string(5) | Output Error |
pOnumber | string(400) | |
client | string(400) | |
exporter | string(400) | |
message | string(250) | In case of an error, we return the error message in this field. |
elementNumber | string | |
general | string | |
messageType | string(11) | |
accion | string(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>