GET api/Documents/Detail?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DocumentListModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

FileUrl

string

None.

TypeId

byte

None.

LinkId

integer

None.

IsImg

boolean

None.

Description

string

None.

TypeDocId

byte

None.

DateCreate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "fileUrl": "sample string 3",
  "typeId": 64,
  "linkId": 5,
  "isImg": true,
  "description": "sample string 7",
  "typeDocId": 64,
  "dateCreate": "2025-12-06T12:26:53.4328825+07:00"
}

application/xml, text/xml

Sample:
<DocumentListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Document">
  <DateCreate>2025-12-06T12:26:53.4328825+07:00</DateCreate>
  <Description>sample string 7</Description>
  <FileUrl>sample string 3</FileUrl>
  <Id>1</Id>
  <IsImg>true</IsImg>
  <LinkId>5</LinkId>
  <Name>sample string 2</Name>
  <TypeDocId>64</TypeDocId>
  <TypeId>64</TypeId>
</DocumentListModel>