TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

POST api/2.0/project/report/create This function requires authentication

Description

Checks the report data by the URI specified in the request.

Parameters
Name Description Type Example
uri
sent in body
Report URI string some text
Example
POST api/2.0/project/report/create
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "uri": "some text"
}
Returns

Report status

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "wd2",
    "FileName": "FileName",
    "FileId": 1,
    "ReportType": 1,
    "Exception": "Exception",
    "Status": 1,
    "Origin": 1,
    "Obj": null
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>wd2</Id>
    <FileName>FileName</FileName>
    <FileId>1</FileId>
    <ReportType>1</ReportType>
    <Exception>Exception</Exception>
    <Status>1</Status>
    <Origin>1</Origin>
    <Obj />
  </response>
</result>