Stages of integration
To integrate with the Pony Express information system, we provide a one-stop service.
You can connect via the WCF service https://svc-api.p2e.ru/UI_Service.svc?singleWsdl, or through the asmx service https://svc-api.p2e.ru/UI_Service.asmx?WSDL. It is preferable to connect through the WCF service, since the asmx service serves for backward compatibility and the development of this technology has been stopped by Microsoft.
Interaction with the service is carried out according to the SOAP protocol.
To interact with the service, you need to use the SubmitRequest method. It takes 2 input parameters:
- accessKey – partner access key to the universal Pony Express interface;
- requestBody – XML string describing the request.
In response, the method returns another XML string that contains the result of the query.
To generate the correct XML, you can use examples of queries, as well as xsd-schemes, which can be obtained by the access key at the bottom of the page http://api.p2e.ru/Documentation
To obtain an access key, you need to contact the responsible PE manager, who will create a contract in the Pegasus PE system and initiate the issuance of the access key by sending an appeal to the service desk.
Testing is carried out on a test environment.
To test requests, use a self-developed application.
You can also use the web form at https://api-test.p2e.ru/Request to interact with the Pony Express information system manually.
In addition, you can use the utility to test requests: SoapUI
Questions about using the API can be asked here: