GET api/file/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
FileModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Identifier | string |
None. |
|
| Code | string |
None. |
|
| FileName | string |
None. |
|
| Size | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Identifier": "sample string 2",
"Code": "sample string 3",
"FileName": "sample string 4",
"Size": 5
}
text/html
Sample:
{"ID":1,"Identifier":"sample string 2","Code":"sample string 3","FileName":"sample string 4","Size":5}
application/xml, text/xml
Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Metib.Common.Models"> <Code>sample string 3</Code> <FileName>sample string 4</FileName> <ID>1</ID> <Identifier>sample string 2</Identifier> <Size>5</Size> </FileModel>