POST api/FileSharing/SearchForFile?sid={sid}&pid={pid}&name={name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sid | integer |
Required |
|
| pid | integer |
Required |
|
| name | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FileShareFileLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| survey_id | integer |
None. |
|
| project_id | integer |
None. |
|
| path | string |
None. |
|
| date | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"survey_id": 1,
"project_id": 1,
"path": "sample string 2",
"date": "2025-11-18T02:13:12.3953897+01:00"
},
{
"id": 1,
"survey_id": 1,
"project_id": 1,
"path": "sample string 2",
"date": "2025-11-18T02:13:12.3953897+01:00"
}
]
text/plain
Sample:
[{"id":1,"survey_id":1,"project_id":1,"path":"sample string 2","date":"2025-11-18T02:13:12.3953897+01:00"},{"id":1,"survey_id":1,"project_id":1,"path":"sample string 2","date":"2025-11-18T02:13:12.3953897+01:00"}]
application/xml, text/xml
Sample:
<ArrayOfFileShareFileLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Api.Domain">
<FileShareFileLocation>
<date>2025-11-18T02:13:12.3953897+01:00</date>
<id>1</id>
<path>sample string 2</path>
<project_id>1</project_id>
<survey_id>1</survey_id>
</FileShareFileLocation>
<FileShareFileLocation>
<date>2025-11-18T02:13:12.3953897+01:00</date>
<id>1</id>
<path>sample string 2</path>
<project_id>1</project_id>
<survey_id>1</survey_id>
</FileShareFileLocation>
</ArrayOfFileShareFileLocation>