wmkapi::Push
Click here for a complete list of operations.
GetPushNewsInfo
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 /PushApi.asmx HTTP/1.1 Host: 91.200.28.157 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://mini.webmoney.ru/api/GetPushNewsInfo" <?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> <GetPushNewsInfo xmlns="http://mini.webmoney.ru/api"> <sessionId>string</sessionId> <id>int</id> </GetPushNewsInfo> </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> <GetPushNewsInfoResponse xmlns="http://mini.webmoney.ru/api"> <GetPushNewsInfoResult>int</GetPushNewsInfoResult> <info> <Id>int</Id> <Kind>RedirectToSite or UseScoringCheck</Kind> <Name>string</Name> <Description>string</Description> <DescriptionShort>string</DescriptionShort> <Tag>string</Tag> <IconUrl>string</IconUrl> <InfoUrl>string</InfoUrl> <Info> <Id>Unknown or PassportTypeFormalOrHigher or PassportTypeFormalObtainingInProgress or PassportTypeInitialOrHigher or PassportTypePersonalOrHigher or IdentityDocument or PhotoId or MobilePhone or Email or Country or City or ZipCode or Address or BL or IdentityDocumentCountryId or FundsExchangerSupportsCurrencyType or FundsExchangerCompatiblePursePresents or FundsExchangerMinAmountOnPurseToSellWebMoney or Avatar or MobilePhoneCountryId or UseNameInsteadId</Id> <Name>string</Name> <Title>string</Title> <Value>string</Value> <State>string</State> <Hint>string</Hint> <IconUrl>string</IconUrl> <InfoUrl>string</InfoUrl> <ActionUrl>string</ActionUrl> <ActionTitle>string</ActionTitle> <Passed>boolean</Passed> <Resolving>boolean</Resolving> <Information> <Title>string</Title> <Url>string</Url> <Tag>int</Tag> </Information> <Troubleshooting> <Title>string</Title> <Url>string</Url> <Tag>int</Tag> </Troubleshooting> <Meta> <NameAndValue xsi:nil="true" /> <NameAndValue xsi:nil="true" /> </Meta> </Info> </info> </GetPushNewsInfoResponse> </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 /PushApi.asmx HTTP/1.1 Host: 91.200.28.157 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> <GetPushNewsInfo xmlns="http://mini.webmoney.ru/api"> <sessionId>string</sessionId> <id>int</id> </GetPushNewsInfo> </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> <GetPushNewsInfoResponse xmlns="http://mini.webmoney.ru/api"> <GetPushNewsInfoResult>int</GetPushNewsInfoResult> <info> <Id>int</Id> <Kind>RedirectToSite or UseScoringCheck</Kind> <Name>string</Name> <Description>string</Description> <DescriptionShort>string</DescriptionShort> <Tag>string</Tag> <IconUrl>string</IconUrl> <InfoUrl>string</InfoUrl> <Info> <Id>Unknown or PassportTypeFormalOrHigher or PassportTypeFormalObtainingInProgress or PassportTypeInitialOrHigher or PassportTypePersonalOrHigher or IdentityDocument or PhotoId or MobilePhone or Email or Country or City or ZipCode or Address or BL or IdentityDocumentCountryId or FundsExchangerSupportsCurrencyType or FundsExchangerCompatiblePursePresents or FundsExchangerMinAmountOnPurseToSellWebMoney or Avatar or MobilePhoneCountryId or UseNameInsteadId</Id> <Name>string</Name> <Title>string</Title> <Value>string</Value> <State>string</State> <Hint>string</Hint> <IconUrl>string</IconUrl> <InfoUrl>string</InfoUrl> <ActionUrl>string</ActionUrl> <ActionTitle>string</ActionTitle> <Passed>boolean</Passed> <Resolving>boolean</Resolving> <Information> <Title>string</Title> <Url>string</Url> <Tag>int</Tag> </Information> <Troubleshooting> <Title>string</Title> <Url>string</Url> <Tag>int</Tag> </Troubleshooting> <Meta> <NameAndValue xsi:nil="true" /> <NameAndValue xsi:nil="true" /> </Meta> </Info> </info> </GetPushNewsInfoResponse> </soap12:Body> </soap12:Envelope>