...
- 0 – OK
- <0 – Interní chyba API, nebo jiného systému
- 1001 - chybné ID zákazníka
- 1005 - chybné ID ceníku
- 1010 - chybné číslo (např. neaktivní)
- >0 – Jiná chyba vstupních parametrů. Popis chyby je v resultText.
PŘÍKLAD XML ŽÁDOSTI
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prov="http://www.ipex/ProviderManagement.xsd1" xmlns:urn="urn:api-ipex:providermanagement">
<soapenv:Header>
<prov:verifyAccess>
<accessToken>?</accessToken>
</prov:verifyAccess>
</soapenv:Header>
<soapenv:Body>
<urn:updateVoipService>
<numberDetail>
<number>?</number>
<paymentType>?</paymentType>
<customerId>?</customerId>
<tariffPlanId>?</tariffPlanId>
<requiredActivationDate>?</requiredActivationDate>
<credit>?</credit>
<monthlyCredit>?</monthlyCredit>
<creditExpirationDate>?</creditExpirationDate>
<antifraud>
<profileCurrent>
<outgoing>?</outgoing>
<incoming>?</incoming>
</profileCurrent>
<profilePermanent>
<outgoing>?</outgoing>
<incoming>?</incoming>
</profilePermanent>
<internationalLimit>?</internationalLimit>
</antifraud>
</numberDetail>
<provisioningAttributes>
<password>?</password>
<addressCTUId>?</addressCTUId>
<codec>?</codec>
<autoconfigurationPhoneType>?</autoconfigurationPhoneType>
<mac>?</mac>
<forward>
<numPermanent>?</numPermanent>
<numUnreachable>?</numUnreachable>
<numBusy>?</numBusy>
<typePermanent>?</typePermanent>
<typeUnreachable>?</typeUnreachable>
<typeBusy>?</typeBusy>
<delaySeconds>?</delaySeconds>
</forward>
</provisioningAttributes>
</urn:updateVoipService>
</soapenv:Body>
</soapenv:Envelope>
PŘÍKLAD XML ODPOVĚDI
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:api-ipex:providermanagement">
<SOAP-ENV:Body>
<ns1:updateVoipServiceResponse>
<requestId>42</requestId>
<result>0</result>
<resultText></resultText>
</ns1:updateVoipServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>