pixiGetOrderlinesForProduction
This function returns all Orders that need to be producted (personalised Items)
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Additional Parameters:
- OrderNRExternal VARCHAR(50) = NULL ,
- CustShipLock VARCHAR(1) = NULL ,
- CustName VARCHAR(100) = NULL ,
- ShopId VARCHAR(8000) = NULL ,
- ShowPersonalizedAll INT = 1
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
ShopId | string | false | Type: varchar (8000) Default value: Example: Available from: LOU Official (6.3.0.4452) |
SupplNR | string | false | [optional] 4 digit Supplier Code Type: varchar (4) Default value: Example: Available from: LOU Official (6.3.0.4452) |
CustName | string | false | Type: varchar (100) Default value: Example: Available from: LOU Official (6.3.0.4452) |
ANGdateTo | string | true | [mandatory] Date, the order was set to ANG (End) Type: datetime Default value: Example: Available from: LOU Official (6.3.0.4452) |
IncludeHAL | integer | false | [optional] Include Orders on Status "HAL"? Either 1 (True) or 0 (False) Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
ANGdateFrom | string | true | [mandatory] Date, the order was set to ANG (Start) Type: datetime Default value: Example: Available from: LOU Official (6.3.0.4452) |
CustShipLock | string | false | Type: varchar (1) Default value: Example: Available from: LOU Official (6.3.0.4452) |
OrderNRExternal | string | false | Type: varchar (50) Default value: Example: Available from: LOU Official (6.3.0.4452) |
ShowPersonalizedAll | integer | false | Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetOrderlinesForProduction>
<ANGdateFrom>string</ANGdateFrom>
<ANGdateTo>string</ANGdateTo>
<IncludeHAL>0</IncludeHAL>
<SupplNR>string</SupplNR>
<OrderNRExternal>string</OrderNRExternal>
<CustShipLock>string</CustShipLock>
<CustName>string</CustName>
<ShopId>string</ShopId>
<ShowPersonalizedAll>0</ShowPersonalizedAll>
</pixiGetOrderlinesForProduction>
</Body>
</Envelope>
Response
Name | Type | Description |
---|---|---|
Qty | string | Quantity the customer ordered Type: integer Available from: LOU Official (6.3.0.4452) |
Note | string | Type: 1 Available from: LOU Official (6.3.0.4452) |
Price | number | Price in Euro Type: money Available from: LOU Official (6.3.0.4452) |
Status | string | Actual Status Type: varchar(3) Available from: LOU Official (6.3.0.4452) |
ANGdate | string | Date, the order was set to ANG (or date of Order on items that are imported on ANG) Type: DateTime Available from: LOU Official (6.3.0.4452) |
SupplNR | string | Reference to Supplier Type: Varchar(4) Available from: LOU Official (6.3.0.4452) |
ItemName | string | Artikelname for Item Type: varchar Available from: LOU Official (6.3.0.4452) |
ItemNote | string | Personlization Text for Orderline Type: varchar(8000) Available from: LOU Official (6.3.0.4452) |
ShipCost | number | Type: money Available from: LOU Official (6.3.0.4452) |
FullPrice | number | Price without Discount Type: money Available from: LOU Official (6.3.0.4452) |
OrdShopID | string | Shop-ID the order was created for Type: varchar(3) Available from: LOU Official (6.3.0.4452) |
OrderDate | string | Date, the order was placed Type: date Available from: LOU Official (6.3.0.4452) |
OrderNrPixi | integer | pixi internal OrderNR Type: int Available from: LOU Official (6.3.0.4452) |
CustomerName | string | Name of the Customer Type: varchar Available from: LOU Official (6.3.0.4452) |
OrderlineKey | integer | ID for the Orderline Type: int Available from: LOU Official (6.3.0.4452) |
CustomerNrPixi | string | pixi internal customer-Number Type: varchar Available from: LOU Official (6.3.0.4452) |
ItemNrExternal | string | External NR for specific Orderline, imported from Shop Type: varchar Available from: LOU Official (6.3.0.4452) |
OrderNrExternal | string | OrderNR External (Imported from Shop) Type: varchar Available from: LOU Official (6.3.0.4452) |
CustomerNrExternal | string | External Reference to the Customer (imported from Shop) Type: varchar Available from: LOU Official (6.3.0.4452) |
PersonalizedBarcode | string | Personalized Barcode to be put on the item for personalized scan-in Type: varchar(100) Available from: LOU Official (6.3.0.4452) |
Response Example
<PixiGetOrderlinesForProductionPost200TextXmlResponse>
<PersonalizedBarcode>string</PersonalizedBarcode>
<ItemName>string</ItemName>
<ItemNote>string</ItemNote>
<OrderDate>string</OrderDate>
<OrderNrExternal>string</OrderNrExternal>
<OrderNrPixi>0</OrderNrPixi>
<CustomerNrPixi>string</CustomerNrPixi>
<CustomerName>string</CustomerName>
<CustomerNrExternal>string</CustomerNrExternal>
<FullPrice>0</FullPrice>
<ItemNrExternal>string</ItemNrExternal>
<Note>string</Note>
<OrderlineKey>0</OrderlineKey>
<OrdShopID>string</OrdShopID>
<Price>0</Price>
<Qty>string</Qty>
<ShipCost>0</ShipCost>
<Status>string</Status>
<ANGdate>string</ANGdate>
<SupplNR>string</SupplNR>
</PixiGetOrderlinesForProductionPost200TextXmlResponse>
HTTP Example
POST https://apigateway.descartes.com/tms/pixi/
Content-Type: text/xml; charset=utf-8
# echo -n '{{username}}:{{password}}' | base64 | pbcopy
Authorization: Basic {{token}}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://apigateway.descartes.com/tms/pixi/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:pixiGetOrderlinesForProduction>
<ShopId xsi:type="xsd:string"></ShopId>
<SupplNR xsi:type="xsd:string"></SupplNR>
<CustName xsi:type="xsd:string"></CustName>
<ANGdateTo xsi:type="xsd:string"></ANGdateTo> <!-- required -->
<IncludeHAL xsi:type="xsd:integer"></IncludeHAL>
<ANGdateFrom xsi:type="xsd:string"></ANGdateFrom> <!-- required -->
<CustShipLock xsi:type="xsd:string"></CustShipLock>
<OrderNRExternal xsi:type="xsd:string"></OrderNRExternal>
<ShowPersonalizedAll xsi:type="xsd:integer"></ShowPersonalizedAll>
</ns1:pixiGetOrderlinesForProduction>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetOrderlinesForProduction', [
'ShopId' => '', // string
'SupplNR' => '', // string
'CustName' => '', // string
'ANGdateTo' => '', // string (required)
'IncludeHAL' => '', // integer
'ANGdateFrom' => '', // string (required)
'CustShipLock' => '', // string
'OrderNRExternal' => '', // string
'ShowPersonalizedAll' => '', // integer
]);
function getPixiSoapClientResponse(string $method, array $arguments = [])
{
$soapArguments = [];
foreach ($arguments as $key => $value) {
$soapArguments[] = new SoapVar($value, null, '', '', $key);
}
$soapClient = new SoapClient(null, [
'login' => '...',
'password' => '...',
'uri' => 'https://apigateway.descartes.com/tms/pixi/',
'location' => 'https://apigateway.descartes.com/tms/pixi/',
]);
return $soapClient->__call($method, $soapArguments);
}