ServiceForP2p


Click here for a complete list of operations.

GetIntentionsList

Получить список намерений на обмен по номеру заявки

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /srv/serviceforp2p.asmx HTTP/1.1
Host: cash.exchanger.ru
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetIntentionsList"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIntentionsList xmlns="http://tempuri.org/">
      <reqNumber>long</reqNumber>
      <wmidSigner>string</wmidSigner>
      <sign>string</sign>
      <appUniqId>string</appUniqId>
    </GetIntentionsList>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIntentionsListResponse xmlns="http://tempuri.org/">
      <GetIntentionsListResult>boolean</GetIntentionsListResult>
      <error>string</error>
      <result>
        <ExchangeIntention_GetByAppIdResult>
          <Id>int</Id>
          <AppId>int</AppId>
          <ExchangeInfo>xml</ExchangeInfo>
          <TransportId>int</TransportId>
          <DirectionId>int</DirectionId>
          <PaymentSystemId>int</PaymentSystemId>
          <UserSecond>int</UserSecond>
          <IntentDate>dateTime</IntentDate>
          <Description>string</Description>
          <UserEmail>string</UserEmail>
          <UserPurseWm>string</UserPurseWm>
          <UserPhone>string</UserPhone>
          <FirstName>string</FirstName>
          <Lastname>string</Lastname>
          <Middlename>string</Middlename>
          <UserWmId>string</UserWmId>
          <UserCertId>int</UserCertId>
          <UserBl>int</UserBl>
          <SystemId>string</SystemId>
          <SystemName>string</SystemName>
          <SystemPurse>string</SystemPurse>
          <meetingTerms>string</meetingTerms>
          <meetDateTime>string</meetDateTime>
          <countryid>string</countryid>
          <cityid>string</cityid>
          <country>string</country>
          <city>string</city>
          <metro>string</metro>
          <areaInfo>string</areaInfo>
          <address>string</address>
          <passNumber>string</passNumber>
          <passInfo>string</passInfo>
        </ExchangeIntention_GetByAppIdResult>
        <ExchangeIntention_GetByAppIdResult>
          <Id>int</Id>
          <AppId>int</AppId>
          <ExchangeInfo>xml</ExchangeInfo>
          <TransportId>int</TransportId>
          <DirectionId>int</DirectionId>
          <PaymentSystemId>int</PaymentSystemId>
          <UserSecond>int</UserSecond>
          <IntentDate>dateTime</IntentDate>
          <Description>string</Description>
          <UserEmail>string</UserEmail>
          <UserPurseWm>string</UserPurseWm>
          <UserPhone>string</UserPhone>
          <FirstName>string</FirstName>
          <Lastname>string</Lastname>
          <Middlename>string</Middlename>
          <UserWmId>string</UserWmId>
          <UserCertId>int</UserCertId>
          <UserBl>int</UserBl>
          <SystemId>string</SystemId>
          <SystemName>string</SystemName>
          <SystemPurse>string</SystemPurse>
          <meetingTerms>string</meetingTerms>
          <meetDateTime>string</meetDateTime>
          <countryid>string</countryid>
          <cityid>string</cityid>
          <country>string</country>
          <city>string</city>
          <metro>string</metro>
          <areaInfo>string</areaInfo>
          <address>string</address>
          <passNumber>string</passNumber>
          <passInfo>string</passInfo>
        </ExchangeIntention_GetByAppIdResult>
      </result>
    </GetIntentionsListResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /srv/serviceforp2p.asmx HTTP/1.1
Host: cash.exchanger.ru
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIntentionsList xmlns="http://tempuri.org/">
      <reqNumber>long</reqNumber>
      <wmidSigner>string</wmidSigner>
      <sign>string</sign>
      <appUniqId>string</appUniqId>
    </GetIntentionsList>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIntentionsListResponse xmlns="http://tempuri.org/">
      <GetIntentionsListResult>boolean</GetIntentionsListResult>
      <error>string</error>
      <result>
        <ExchangeIntention_GetByAppIdResult>
          <Id>int</Id>
          <AppId>int</AppId>
          <ExchangeInfo>xml</ExchangeInfo>
          <TransportId>int</TransportId>
          <DirectionId>int</DirectionId>
          <PaymentSystemId>int</PaymentSystemId>
          <UserSecond>int</UserSecond>
          <IntentDate>dateTime</IntentDate>
          <Description>string</Description>
          <UserEmail>string</UserEmail>
          <UserPurseWm>string</UserPurseWm>
          <UserPhone>string</UserPhone>
          <FirstName>string</FirstName>
          <Lastname>string</Lastname>
          <Middlename>string</Middlename>
          <UserWmId>string</UserWmId>
          <UserCertId>int</UserCertId>
          <UserBl>int</UserBl>
          <SystemId>string</SystemId>
          <SystemName>string</SystemName>
          <SystemPurse>string</SystemPurse>
          <meetingTerms>string</meetingTerms>
          <meetDateTime>string</meetDateTime>
          <countryid>string</countryid>
          <cityid>string</cityid>
          <country>string</country>
          <city>string</city>
          <metro>string</metro>
          <areaInfo>string</areaInfo>
          <address>string</address>
          <passNumber>string</passNumber>
          <passInfo>string</passInfo>
        </ExchangeIntention_GetByAppIdResult>
        <ExchangeIntention_GetByAppIdResult>
          <Id>int</Id>
          <AppId>int</AppId>
          <ExchangeInfo>xml</ExchangeInfo>
          <TransportId>int</TransportId>
          <DirectionId>int</DirectionId>
          <PaymentSystemId>int</PaymentSystemId>
          <UserSecond>int</UserSecond>
          <IntentDate>dateTime</IntentDate>
          <Description>string</Description>
          <UserEmail>string</UserEmail>
          <UserPurseWm>string</UserPurseWm>
          <UserPhone>string</UserPhone>
          <FirstName>string</FirstName>
          <Lastname>string</Lastname>
          <Middlename>string</Middlename>
          <UserWmId>string</UserWmId>
          <UserCertId>int</UserCertId>
          <UserBl>int</UserBl>
          <SystemId>string</SystemId>
          <SystemName>string</SystemName>
          <SystemPurse>string</SystemPurse>
          <meetingTerms>string</meetingTerms>
          <meetDateTime>string</meetDateTime>
          <countryid>string</countryid>
          <cityid>string</cityid>
          <country>string</country>
          <city>string</city>
          <metro>string</metro>
          <areaInfo>string</areaInfo>
          <address>string</address>
          <passNumber>string</passNumber>
          <passInfo>string</passInfo>
        </ExchangeIntention_GetByAppIdResult>
      </result>
    </GetIntentionsListResponse>
  </soap12:Body>
</soap12:Envelope>