GET api/OfferSpecFiles?purchReqSpecServId={purchReqSpecServId}
Возвращает список документов
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchReqSpecServId |
ИД Предложения |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OfferSpecFile| Name | Description | Type | Additional information |
|---|---|---|---|
| OfferSpecFileId |
ИД |
integer |
None. |
| PurchReqSpecServId |
Внешний ключ, связан с таблицей PurchReqSpecServices |
integer |
None. |
| FileName |
Имя файла |
string |
Max length: 255 |
| FileType |
Тип и расширение файла |
string |
None. |
| FileSrc |
Путь к файлу |
string |
Max length: 512 |
| FileDesc |
Описание файла |
string |
Max length: 255 |
| FileSize |
Размер файла |
integer |
None. |
| FileUrl |
URL к файлу |
string |
Max length: 255 |
Response Formats
application/json, text/json
Sample:
{
"OfferSpecFileId": 1,
"PurchReqSpecServId": 1,
"FileName": "sample string 2",
"FileType": "sample string 3",
"FileSrc": "sample string 4",
"FileDesc": "sample string 5",
"FileSize": 1,
"FileUrl": "sample string 6"
}
application/xml, text/xml
Sample:
<OfferSpecFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <FileDesc>sample string 5</FileDesc> <FileName>sample string 2</FileName> <FileSize>1</FileSize> <FileSrc>sample string 4</FileSrc> <FileType>sample string 3</FileType> <FileUrl>sample string 6</FileUrl> <OfferSpecFileId>1</OfferSpecFileId> <PurchReqSpecServId>1</PurchReqSpecServId> </OfferSpecFile>