POST api/FileSharing/SearchForFile?sid={sid}&pid={pid}&name={name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sid

integer

Required

pid

integer

Required

name

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FileShareFileLocation
NameDescriptionTypeAdditional 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": "2024-09-19T20:30:06.5497598+02:00"
  },
  {
    "id": 1,
    "survey_id": 1,
    "project_id": 1,
    "path": "sample string 2",
    "date": "2024-09-19T20:30:06.5497598+02:00"
  }
]

text/plain

Sample:
[{"id":1,"survey_id":1,"project_id":1,"path":"sample string 2","date":"2024-09-19T20:30:06.5497598+02:00"},{"id":1,"survey_id":1,"project_id":1,"path":"sample string 2","date":"2024-09-19T20:30:06.5497598+02: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>2024-09-19T20:30:06.5497598+02:00</date>
    <id>1</id>
    <path>sample string 2</path>
    <project_id>1</project_id>
    <survey_id>1</survey_id>
  </FileShareFileLocation>
  <FileShareFileLocation>
    <date>2024-09-19T20:30:06.5497598+02:00</date>
    <id>1</id>
    <path>sample string 2</path>
    <project_id>1</project_id>
    <survey_id>1</survey_id>
  </FileShareFileLocation>
</ArrayOfFileShareFileLocation>