inwise Top Background
Arrow on Service

Email Marketing API-Part B

InwiseWebServices API Center

https://www.em-sender.com/ws/inwiseservice.asmx

CustomUserQuery is part of UserQuery. Check the rules there for creating a query.

Parameters:

Name Type Required Description
Fields Array of Strings No The recipients fields to list. If you have a lot of data, you can select specific fields.
LocalGroupsIds Array of Strings No Filter by groups registration
ExternalGroupId String No Filter by an external group
Filter Filter No The query filters

Raw Xml:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Header>

        <SessionIdHeader xmlns="http://www.inwise.com/webservices/v2">

            <SessionId>d93e413aaf9c4291aed939d3e405bc91</SessionId>

            <EndSession>true</EndSession>

        </SessionIdHeader>

    </soap:Header>

    <soap:Body>

        <List xmlns="http://www.inwise.com/webservices/v2">

            <query>

                <Sql>select Body,Name,CreateDate from  mobileMessage limit 1</Sql>

                <PageSize>0</PageSize>

            </query>

        </List>

    </soap:Body>

</soap:Envelope>


Response:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Body>

        <ListResponse xmlns="http://www.inwise.com/webservices/v2">

            <ListResult>

                <IsSuccess>true</IsSuccess>

                <ErrorDetails>

                    <Code>Success</Code>

                </ErrorDetails>

                <PageSize>0</PageSize>

                <Data>

                    <InwiseEntity xsi:type="MobileMessage">

                        <Id>1</Id>

                        <AccountId>899</AccountId>

                        <Body>hi #field1#!</Body>

                        <Bounces>0</Bounces>

                        <Charset>utf-8</Charset>

                        <CreateDate>2011-02-14T07:47:00</CreateDate>

                        <EndDate xsi:nil="true" />

                        <LastSent xsi:nil="true" />

                        <Name>Message 14/02/2011</Name>

                        <NonSent>0</NonSent>

                        <Opens>0</Opens>

                        <RecipientType xsi:nil="true" />

                        <Sender>inwise</Sender>

                        <Sent>0</Sent>

                        <Status>Test</Status>

                        <TableConnectionId xsi:nil="true" />

                        <Unsubscribes>0</Unsubscribes>

                        <UpdateDate>2011-02-14T07:47:00</UpdateDate>

                        <Validity>1440</Validity>

                    </InwiseEntity>

                </Data>

            </ListResult>

        </ListResponse>

    </soap:Body>

</soap:Envelope>




Home  |  About us  |  Products  |  Service  |  Partners  |  Forum  |  Email Marketing Terms  |  Support  |  Contact us
Terms & Conditions  |  Privacy Policy  |  Anti Spam Policy  |  Site Map
© 2008 inwise LTD. All rights reserved.