DELETE api/PurchReqTablePhotos/{id}
Удалить запись
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ИД PurchReqTableFotoId |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PurchReqTablePhoto| Name | Description | Type | Additional 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:18.6604117+01:00"
}
application/xml, text/xml
Sample:
<PurchReqTablePhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <CreationTime>2025-12-12T04:29:18.6604117+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>