pixiGetShops
API call returns all or one shop
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
ShopID | string | false | Shop Id Type: varchar(3) Default value: NULL Example: ABC Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetShops>
<ShopID>string</ShopID>
</pixiGetShops>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
BIC | string | BIC Type: varchar Available from: 25.06 (25.6.0.58802) |
Fax | string | Fax Type: varchar Available from: 25.06 (25.6.0.58802) |
ZIP | string | ZIP Type: varchar Available from: 25.06 (25.6.0.58802) |
City | string | City Type: varchar Available from: 25.06 (25.6.0.58802) |
IBAN | string | IBAN Type: varchar Available from: 25.06 (25.6.0.58802) |
Phone | string | Phone Type: varchar Available from: 25.06 (25.6.0.58802) |
State | string | State Type: varchar Available from: 25.06 (25.6.0.58802) |
string | Type: varchar Available from: 25.06 (25.6.0.58802) |
|
SI_Fax | string | SI_Fax Type: varchar Available from: 25.06 (25.6.0.58802) |
SI_fon | string | SI_fon Type: varchar Available from: 25.06 (25.6.0.58802) |
ShopID | string | ShopID Type: varchar Available from: 25.06 (25.6.0.58802) |
Address | string | Address Type: varchar Available from: 25.06 (25.6.0.58802) |
Contact | string | Contact Type: varchar Available from: 25.06 (25.6.0.58802) |
Country | string | Country Type: varchar Available from: 25.06 (25.6.0.58802) |
ShopURL | string | ShopURL Type: varchar Available from: 25.06 (25.6.0.58802) |
BankName | string | BankName Type: varchar Available from: 25.06 (25.6.0.58802) |
KontoBLZ | string | KontoBLZ Type: varchar Available from: 25.06 (25.6.0.58802) |
ShopName | string | ShopName Type: varchar Available from: 25.06 (25.6.0.58802) |
CostCenter | string | CostCenter Type: varchar Available from: 25.06 (25.6.0.58802) |
ShopCompany | string | ShopCompany Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetShopsPost200TextXmlResponse>
<ShopID>string</ShopID>
<ShopName>string</ShopName>
<ShopURL>string</ShopURL>
<Address>string</Address>
<City>string</City>
<State>string</State>
<ZIP>string</ZIP>
<Country>string</Country>
<Contact>string</Contact>
<Phone>string</Phone>
<Fax>string</Fax>
<ShopCompany>string</ShopCompany>
<eMail>string</eMail>
<SI_fon>string</SI_fon>
<SI_Fax>string</SI_Fax>
<BIC>string</BIC>
<IBAN>string</IBAN>
<KontoBLZ>string</KontoBLZ>
<BankName>string</BankName>
<CostCenter>string</CostCenter>
</PixiGetShopsPost200TextXmlResponse>
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:pixiGetShops>
<ShopID xsi:type="xsd:string">ABC</ShopID>
</ns1:pixiGetShops>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetShops', [
'ShopID' => 'ABC', // string
]);
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);
}