Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
200 OK
 
<entry xmlns="http://www.w3.org/2005/Atom"
        xmlns:fd="http://schemas.frevvo.com/fdata/2008"
        xml:base="http://localhost:8082">
    <id>_nv8uAT8KEd6yc_ZDP21S1Q!johndoe</id>
    <title type="text">Expense Reports</title>
    <summary type="text"/>
    <updated>2009-05-12T12:13:44.471-04:00</updated>
    <link type="application/atom+xml" href="/frevvo/web/api/app/_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>
    <link rel="self" type="application/atom+xml" href="/frevvo/web/api/app/_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>
    <link rel="edit" type="application/atom+xml" href="/frevvo/web/api/app/_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>
    <link rel="formtypes" type="application/atom+xml" href="/frevvo/web/api/formtypes?ownerId=_nv8uAT8KEd6yc_ZDP21S1Q!johndoe" title="Expense Reports's Form Types"/>
    <link rel="schemas" type="application/atom+xml" href="/frevvo/web/api/schemas?ownerId=_nv8uAT8KEd6yc_ZDP21S1Q!johndoe" title="Expense Reports's Schemas"/>
    <link rel="forms" type="application/atom+xml" href="/frevvo/web/api/forms?ownerId=_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>
    <fd:owner id="johndoe"/>
    <content type="application/zip" src="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/file/content.zip"/>
</entry>

...

Updating an ApplicationEntry

...

Updating application properties using the Data API is not supported at this point in time.=====

Deleting an ApplicationEntry

...

Deleting an application can be done by sending an HTTP DELETE request to the application entry url.<pre>

Code Block
DELETE /frevvo/web/tn/{tenantId}/api/app/{id}

...

And the server will respond with:<pre>

Code Block
200 OK

...

FormTypeFeed

...

The formtype feed contains a list of all forms across all applications owned by the currently logged-in user.=====

Getting the FormTypeFeed

...

In order to get a list of all forms owned by the current user, send the following request to the frevvo server:<pre>

Code Block
GET /frevvo/web/tn/{tenantId}/api/formtypes

</pre>The server will respond with:<pre>

Code Block
200 OK

...



<pre>

...


<feed xmlns="http://www.w3.org/2005/Atom" xml:base="http://localhost:8082"

...


        xml:lang="en">

...


    <title>Form Types</title>

...


    <updated>2009-05-12T12:20:19.986-04:00</updated>

...


    <link rel="self" type="application/atom+xml" href="/frevvo/web/api/formtypes"/>

...


    <entry xmlns:fd="http://schemas.frevvo.com/fdata/2008" xml:lang="en">

...


        <id>_0vNZwD8KEd6yc_ZDP21S1Q!_nv8uAT8KEd6yc_ZDP21S1Q!johndoe</id>

...


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

...


        <summary type="text">Edit the form to change this description.<

...

/summary>
        <updated>2009-05-12T12:20:19.986-04:00</updated>

...


        <link type="application/atom+xml"

...

 href="/frevvo/web/api/formtype/_0vNZwD8KEd6yc_ZDP21S1Q!_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>

...


        <link rel="self" type="application/atom+xml"

...

 href="/frevvo/web/api/formtype/_0vNZwD8KEd6yc_ZDP21S1Q!_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>

...


        <link rel="edit" type="application/atom+xml"

...

 href="/frevvo/web/api/formtype/_0vNZwD8KEd6yc_ZDP21S1Q!_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>

...


        <link rel="formtype" type="text/html"

...

 href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q?embed=true&amp;_method=post&amp;apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Link to the FormType Expense Report HTML"/>

...


<link rel="formtype" type="text/javascript"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/embed?apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Link to Javascript code that can be used to embed this FormType in an HTML page"/>

...


<link rel="controltypes" type="application/atom+xml"

...


href="/frevvo/web/api/controltypes?ownerId=_0vNZwD8KEd6yc_ZDP21S1Q!_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"

...


title="Expense Report's Control Types"/>

...


<link rel="formtype-editor" type="text/html"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q?edit=true&amp;embed=true&amp;_method=post&amp;apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Link to the FormType Designer Expense Report HTML"/>

...


<link rel="formtype-editor" type="text/javascript"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/embed?edit=true&amp;apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Link to Javascript code that can be used to embed this FormType in an HTML page"/>

...


<link rel="submissions" type="text/html"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/submission?embed=true&amp;apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Use FormType Expense Report"/>

...


<link rel="submissions" type="text/javascript"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/embedsubs?apikey=1VeRclWJogwX2lUlGuLo9kglWN%252BUdNE9c9UGI6z7sJuRnYBOrCjoAdZ8kBVHKkZC9j5Ss%252BQYVwv%252BsIxsxTIAqg%253D%253D"

...


title="Link to Javascript code that can be used to embed this FormType's submissions in an HTML page"/>

...


<link rel="schema" type="application/xml"

...


href="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/schema"/>

...


<fd:owner id="_nv8uAT8KEd6yc_ZDP21S1Q!johndoe"/>

...


<fd:visibility value="public"/>

...


<content type="application/zip"

...


src="/frevvo/web/user/johndoe/app/_nv8uAT8KEd6yc_ZDP21S1Q/formtype/_0vNZwD8KEd6yc_ZDP21S1Q/file/content.zip"/>

...


</entry>

...


</feed>

 

</pre>

The feed returned above shows one form entry '''Expense Report''' that is owned by the current user.

...