GET api/ProductGallery/DocumentList?ProductId={ProductId}&CurrentPage={CurrentPage}&RowPerPage={RowPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductId

integer

Required

CurrentPage

integer

Required

RowPerPage

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DocumentModel
NameDescriptionTypeAdditional information
Id

integer

None.

FileUrl

string

None.

Description

string

None.

EmployeeName

string

None.

DateCreate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "fileUrl": "sample string 2",
    "description": "sample string 3",
    "employeeName": "sample string 4",
    "dateCreate": "2025-12-06T12:27:58.0271943+07:00"
  },
  {
    "id": 1,
    "fileUrl": "sample string 2",
    "description": "sample string 3",
    "employeeName": "sample string 4",
    "dateCreate": "2025-12-06T12:27:58.0271943+07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <DocumentModel>
    <DateCreate>2025-12-06T12:27:58.0271943+07:00</DateCreate>
    <Description>sample string 3</Description>
    <EmployeeName>sample string 4</EmployeeName>
    <FileUrl>sample string 2</FileUrl>
    <Id>1</Id>
  </DocumentModel>
  <DocumentModel>
    <DateCreate>2025-12-06T12:27:58.0271943+07:00</DateCreate>
    <Description>sample string 3</Description>
    <EmployeeName>sample string 4</EmployeeName>
    <FileUrl>sample string 2</FileUrl>
    <Id>1</Id>
  </DocumentModel>
</ArrayOfDocumentModel>