GET api/PurchReqTablePhotos?purchReqId={purchReqId}&purchReqLineId={purchReqLineId}

Возвращает список изображений

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchReqId

ИД Тендера PurchReqId

integer

Required

purchReqLineId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PurchReqTablePhoto
NameDescriptionTypeAdditional information
PurchReqTableFotoId

ИД

integer

None.

PurchReqId

Внешний ключ, связан с таблицей PurchReqTables

integer

None.

PurchReqLineId

integer

None.

FileName

Имя файла

string

None.

FileType

Тип и расширение файла

string

None.

FileSrc

Путь к файлу

string

None.

FileSize

Размер файла

integer

None.

FileUrl

URL к файлу

string

None.

CreationTime

Дата и время файла

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PurchReqTableFotoId": 1,
    "PurchReqId": 1,
    "PurchReqLineId": 1,
    "FileName": "sample string 2",
    "FileType": "sample string 3",
    "FileSrc": "sample string 4",
    "FileSize": 1,
    "FileUrl": "sample string 5",
    "CreationTime": "2025-12-12T04:29:07.8165161+01:00"
  },
  {
    "PurchReqTableFotoId": 1,
    "PurchReqId": 1,
    "PurchReqLineId": 1,
    "FileName": "sample string 2",
    "FileType": "sample string 3",
    "FileSrc": "sample string 4",
    "FileSize": 1,
    "FileUrl": "sample string 5",
    "CreationTime": "2025-12-12T04:29:07.8165161+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchReqTablePhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models">
  <PurchReqTablePhoto>
    <CreationTime>2025-12-12T04:29:07.8165161+01:00</CreationTime>
    <FileName>sample string 2</FileName>
    <FileSize>1</FileSize>
    <FileSrc>sample string 4</FileSrc>
    <FileType>sample string 3</FileType>
    <FileUrl>sample string 5</FileUrl>
    <PurchReqId>1</PurchReqId>
    <PurchReqLineId>1</PurchReqLineId>
    <PurchReqTableFotoId>1</PurchReqTableFotoId>
  </PurchReqTablePhoto>
  <PurchReqTablePhoto>
    <CreationTime>2025-12-12T04:29:07.8165161+01:00</CreationTime>
    <FileName>sample string 2</FileName>
    <FileSize>1</FileSize>
    <FileSrc>sample string 4</FileSrc>
    <FileType>sample string 3</FileType>
    <FileUrl>sample string 5</FileUrl>
    <PurchReqId>1</PurchReqId>
    <PurchReqLineId>1</PurchReqLineId>
    <PurchReqTableFotoId>1</PurchReqTableFotoId>
  </PurchReqTablePhoto>
</ArrayOfPurchReqTablePhoto>