GET api/Document/GetAllUploadedDocumentByType/{type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Document
NameDescriptionTypeAdditional information
Document_ID

integer

None.

Document_Type_ID

integer

None.

Document_Name

string

None.

Document_Extension

string

None.

Document_Content

Collection of byte

None.

Document_Content_Type

string

None.

Created_By

string

None.

Created_Date

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Document_ID": 1,
    "Document_Type_ID": 2,
    "Document_Name": "sample string 3",
    "Document_Extension": "sample string 4",
    "Document_Content": "QEA=",
    "Document_Content_Type": "sample string 5",
    "Created_By": "sample string 6",
    "Created_Date": "2019-08-17T16:02:11.3566869+05:30"
  },
  {
    "Document_ID": 1,
    "Document_Type_ID": 2,
    "Document_Name": "sample string 3",
    "Document_Extension": "sample string 4",
    "Document_Content": "QEA=",
    "Document_Content_Type": "sample string 5",
    "Created_By": "sample string 6",
    "Created_Date": "2019-08-17T16:02:11.3566869+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Document>
    <Created_By>sample string 6</Created_By>
    <Created_Date>2019-08-17T16:02:11.3566869+05:30</Created_Date>
    <Document_Content>QEA=</Document_Content>
    <Document_Content_Type>sample string 5</Document_Content_Type>
    <Document_Extension>sample string 4</Document_Extension>
    <Document_ID>1</Document_ID>
    <Document_Name>sample string 3</Document_Name>
    <Document_Type_ID>2</Document_Type_ID>
  </Document>
  <Document>
    <Created_By>sample string 6</Created_By>
    <Created_Date>2019-08-17T16:02:11.3566869+05:30</Created_Date>
    <Document_Content>QEA=</Document_Content>
    <Document_Content_Type>sample string 5</Document_Content_Type>
    <Document_Extension>sample string 4</Document_Extension>
    <Document_ID>1</Document_ID>
    <Document_Name>sample string 3</Document_Name>
    <Document_Type_ID>2</Document_Type_ID>
  </Document>
</ArrayOfDocument>