Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

Crystal Reports RESTful API

$
0
0

I've looked at the various pdf user guides and I can't find a good example of how to pass parameters to the Crystal RESTful services. One document simply mentions they'll come back as part of the GET operation and nothing more. I think I've managed to figure out how to format all the parameters, but I'm still getting an error. I was getting errors that mentioned specific parameter names, which mostly seemed to be due to improperly formatted strings I was trying to pass in. I've managed to work through all those errors, but now I get the more generic, and far less useful, "Some parameters are missing values (CRR 00107, JRC00000169)." I've included the XML I'm attempting to POST below. Am I missing something simple? Does this message indicate some specific problem? I cut and pasted the XML verbatim and only changed the attr element text. Does anyone have a good resource showing examples of how to pass parameters to Crystal RESTful services?

 

 

<feed

    xmlns="http://www.w3.org/2005/Atom">

    <title type="text">Crystal Reports New Instance</title>

    <entry>

        <title type="text">suppressData</title>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="boolean">false</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VIO_PROFIT_CENTER</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">[0000100001,0000100001]</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VIO_DISTRICT</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">[1901, 1965]</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VSM_BVERSION_0</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">000</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VSM_FISCPER_LP</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">2014005</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VIO_MATUREP1</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">[1973002,2014005]</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>CIO_COCD</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">[1001,1001]</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VIO_DIVISION</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">[1900,1960]</attr>

            </attrs>

        </content>

    </entry>

    <entry>

        <title type="text">Report Parameter</title>

        <id>VSO_STORE_TYPE</id>

        <content type="application/xml">

            <attrs>

                <attr name="value" type="string">'C-STORES'</attr>

            </attrs>

        </content>

    </entry>

</feed>


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>