Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Griffiths 826 posts 1269 karma points c-trib
    Apr 24, 2014 @ 11:17
    Martin Griffiths
    1

    REST or /base services for contour?

    Hi Tim

    Are there any contour web services I can use to periodically draw down records from our Umbraco build from another server/site?

    Thanks Martin

  • Comment author was deleted

    May 08, 2014 @ 12:52

    Nope but should be easy to create with a Web API controller

  • Martin Griffiths 826 posts 1269 karma points c-trib
    May 08, 2014 @ 12:54
    Martin Griffiths
    0

    So I wrap a contour API call with this?

    Never done it before, but there's always a first time!

    Thanks

    M.

  • Comment author was deleted

    May 08, 2014 @ 12:54

    Yeah best would be to use code that is used for exporting entries,that will be fastest, will get you a code snippet

  • Comment author was deleted

    May 08, 2014 @ 13:02

    This snippet would be the fastest way to get all records 

     RecordsViewer rv =newRecordsViewer();

                XmlDocument xs =newXmlDocument();

                XmlNode XmlRecords = rv.GetXmlRecords(form, xs);

     

                rv.Dispose();

    returning them in xml format

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies