GET api/DocumentType
Returns all Document Types from SY_Document_Types table in the SedonaDocuments database
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DocumentType| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentTypeId |
Sedona internal autonumber for the Document Type record |
integer |
None. |
| Extension |
Document Extension |
string |
String length: inclusive between 0 and 25 |
| Description | string |
String length: inclusive between 0 and 50 |
Response Formats
application/json, text/json
Sample:
[
{
"DocumentTypeId": 1,
"Extension": "sample string 2",
"Description": "sample string 3"
},
{
"DocumentTypeId": 1,
"Extension": "sample string 2",
"Description": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<DocumentType>
<Description>sample string 3</Description>
<DocumentTypeId>1</DocumentTypeId>
<Extension>sample string 2</Extension>
</DocumentType>
<DocumentType>
<Description>sample string 3</Description>
<DocumentTypeId>1</DocumentTypeId>
<Extension>sample string 2</Extension>
</DocumentType>
</ArrayOfDocumentType>