Product Documentation articleGet place statistics: lq851
Added by IBM contributorRui BJ Yang | Edited by IBM contributorRui BJ Yang on April 27, 2011 | Version 3
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.

Overview



Retrieve the latest place statistics data.

URL endpoint



Perform a GET operation on the following URL:

URL
Description
/myqcs/rest/place/{place-id]/entryGet place statistics data


Authentication



This method requires authentication. Only administrator and place owner can get the statistics.

Error Codes



Error Code
Description
Unknown
Returned when the cause of an error is unknown
AccessDenied
Returned when the cause of an error is due to a permission restriction
ItemNotFound
Returned when the cause of an error is related to a resource not being found
UnsupportedOperation
Returned when the operation is not supported


The example is to get place statistic data for the latest available date.

Example Request



GET /myqcs/rest/place/_Pplace20_RMain.nsf/entry HTTP/1.1


Example Response



<entry xml:base="http://yr.cn.ibm.com/" xmlns="http://www.w3.org/2005/Atom" xmlns:td="urn:ibm.com/td" xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
  <id>_Pplace20_RMain</id>
  <link href="myqcs/rest/place/_Pplace20_RMain/entry" rel="self" />
  <link href="http://yr.cn.ibm.com//place20" rel="alternate"/>
  <link href="myqcs/rest/place/_Pplace20_RMain/entry" rel="current"/>
  <link href="myqcs/rest/place/_Pplace20_RMain/entry" rel="edit"/>
  <link href="dm%2Fatom%2Flibrary%2F_Pplace20_RMain%2Fdocument%2F_Pplace20_RMain/members?action=roles&amp;includeVirtualPrincipal=true" rel="roles"/>
  <link href="dm%2Fatom%2Flibrary%2F_Pplace20_RMain%2Fdocument%2F_Pplace20_RMain/members?action=members&amp;includeVirtualPrincipal=true" rel="members"/>
  <updated>2011-04-11T20:01:19Z</updated>
  <author>
    <name>Testuser7; yr</name>
    <email>Testuser7@us.ibm.com; unknown</email>
  </author>
  <td:loginuser>
    <name>qp</name>
    <email></email>
  </td:loginuser>
  <title>place20</title>
  <td:placename>place20</td:placename>
  <td:logincounts>0</td:logincounts>
  <td:placesize>7231</td:placesize>
  <td:lastaccessed>2011-02-28T05:21:44Z</td:lastaccessed>
  <td:numdocs>1</td:numdocs>
  <td:numdrafts>0</td:numdrafts>
  <td:numattachs>0</td:numattachs>
  <td:numcustomforms>0</td:numcustomforms>
  <td:numofflineinstalls>0</td:numofflineinstalls>
  <td:nummanagers>2</td:nummanagers>
  <td:numeditors>0</td:numeditors>
  <td:numauthors>0</td:numauthors>
  <td:numreaders>0</td:numreaders>
  <td:lastweekuses>177</td:lastweekuses>
  <td:lastweekreads>3633</td:lastweekreads>
  <td:lastweekwrites>186</td:lastweekwrites>
  <td:lastmonthuses>711</td:lastmonthuses>
  <td:lastmonthreads>15556</td:lastmonthreads>
  <td:lastmonthwrites>1322</td:lastmonthwrites>
  <td:servername>yr.cn.ibm.com</td:servername>
  <td:locked>0</td:locked>
  <td:sizePolicyStatus>ok</td:sizePolicyStatus>
  <td:sizePolicyAction>unlock</td:sizePolicyAction>
  <td:agePolicyStatus>ok</td:agePolicyStatus>
  <td:agePolicyAction>unlock</td:agePolicyAction>
  <td:policy>
    <td:policyName>!Default Policy</td:policyName>
    <td:policyID>4C2A9BB078BC4BEF4825783F00136F4B</td:policyID>
    <td:policySize>
      <td:max>0</td:max>
      <td:warn>0</td:warn>
    </td:policySize>
    <td:policyAge>
      <td:max>0</td:max>
      <td:warn>0</td:warn>
    </td:policyAge>
  </td:policy>
</entry>