GET api/DocumentUpload/Get/DocumentType

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DocumentType
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Type": "sample string 2",
    "CreatedOn": "2019-08-25T14:22:38.8873665+05:30"
  },
  {
    "Id": 1,
    "Type": "sample string 2",
    "CreatedOn": "2019-08-25T14:22:38.8873665+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <DocumentType>
    <CreatedOn>2019-08-25T14:22:38.8873665+05:30</CreatedOn>
    <Id>1</Id>
    <Type>sample string 2</Type>
  </DocumentType>
  <DocumentType>
    <CreatedOn>2019-08-25T14:22:38.8873665+05:30</CreatedOn>
    <Id>1</Id>
    <Type>sample string 2</Type>
  </DocumentType>
</ArrayOfDocumentType>