pixiEmillGetPaymentTypes
Returns the list of all payment types (code and description), sorted by description.
Returns every record of the payment type master data (Payments).
- No parameters, no filters: all payment types are returned.
- Each row contains the payment type code (
PaymentType) and its description text (PaymentTypeDesc). - Rows are sorted alphabetically by the description text.
Notes
The table is read with NOLOCK, so uncommitted changes may be visible. The call is part of the Emill group of calls and is typically used to map payment type codes to readable names.
Tables used
This call has no parameters.
Result set 1 · Always
One row per payment type, ordered by PaymentTypeDesc.
| Column | Type | Description |
|---|---|---|
PaymentType
|
string |
Code of the payment type ( |
PaymentTypeDesc
Nullable |
string |
Description text of the payment type ( |
Response example
<SqlRowSet1>
<row>
<PaymentType>NN</PaymentType>
<PaymentTypeDesc>Nachnahme</PaymentTypeDesc>
</row>
<row>
<PaymentType>VK</PaymentType>
<PaymentTypeDesc>Vorkasse</PaymentTypeDesc>
</row>
</SqlRowSet1>
POST https://apigateway.descartes.com/tms/pixi/
Content-Type: text/xml; charset=utf-8
Authorization: Basic BASE64(USERNAME:PASSWORD)
<?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/">
<SOAP-ENV:Body>
<ns1:pixiEmillGetPaymentTypes/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
curl -X POST 'https://apigateway.descartes.com/tms/pixi/' \
--user 'USERNAME:PASSWORD' \
--header 'Content-Type: text/xml; charset=utf-8' \
--data-binary @- <<'XML'
<?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/">
<SOAP-ENV:Body>
<ns1:pixiEmillGetPaymentTypes/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML
<?php
$soapClient = new SoapClient(null, [
'login' => 'USERNAME',
'password' => 'PASSWORD',
'location' => 'https://apigateway.descartes.com/tms/pixi/',
'uri' => 'https://apigateway.descartes.com/tms/pixi/',
]);
$arguments = [
];
$soapArguments = [];
foreach ($arguments as $name => $value) {
$soapArguments[] = new SoapVar($value, XSD_STRING, '', '', $name);
}
$response = $soapClient->__soapCall('pixiEmillGetPaymentTypes', $soapArguments);
- SQL object:
- dbo.pipiEmillGetPaymentTypes