1. Home
  2. Corporate Node
  3. SOAP requests
  4. getDistributionConformity

getDistributionConformity

An operation getDistributionConformity returns compatibility of current coin distribution for selected currency with a template distribution.

Example SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getDistributionConformity>
   <currency>PLN</currency>
  </ns:getDistributionConformity>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Example SOAP response:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getDistributionConformityResponse>
   <return>
    <distributionConformity>0.812</distributionConformity>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:getDistributionConformityResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

ParameterTypeDescriptionRequired?
currencystringThe currency for which the distribution will be checked (e.g. PLN, GPB etc.)Yes

Response parameters:

NameTypeDescription
distributionConformitystringCompatibility of coin distribution
requestStatusDescriptionstringA description of the status
requestStatusstringThe status of the execution of the request

Possible errors:

ErrorDescription
ERR_INVALID_CURRENCYIncorrect currency
Was this article helpful to you? Yes No

How can we help?