GET api/PurchReqPricePhotos?purchReqPriceId={purchReqPriceId}
Возвращает список прикрепленных файлов
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchReqPriceId |
ИД PurchReqPriceId |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PurchReqPricePhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchReqPricePhotoId | integer |
None. |
|
| PurchReqPriceId | integer |
None. |
|
| FileName |
Имя файла |
string |
None. |
| FileType |
Тип и расширение файла |
string |
None. |
| FileSrc |
Путь к файлу |
string |
None. |
| FileSize |
Размер файла |
integer |
None. |
| FileUrl |
URL к файлу |
string |
None. |
| CreationTime |
Дата и время файла |
date |
None. |
| Photo | Collection of byte |
None. |
|
| PhotoDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PurchReqPricePhotoId": 1,
"PurchReqPriceId": 1,
"FileName": "sample string 2",
"FileType": "sample string 3",
"FileSrc": "sample string 4",
"FileSize": 1,
"FileUrl": "sample string 5",
"CreationTime": "2025-12-12T04:29:17.8322763+01:00",
"Photo": "QEA=",
"PhotoDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<PurchReqPricePhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <CreationTime>2025-12-12T04:29:17.8322763+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> <Photo>QEA=</Photo> <PhotoDesc>sample string 6</PhotoDesc> <PurchReqPriceId>1</PurchReqPriceId> <PurchReqPricePhotoId>1</PurchReqPricePhotoId> </PurchReqPricePhoto>