GET api/types?entity={entity}&id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| entity | string |
None. |
|
| id | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DocumentTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| FolderId | integer |
None. |
|
| FolderName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"FolderId": 3,
"FolderName": "sample string 4"
},
{
"Id": 1,
"Name": "sample string 2",
"FolderId": 3,
"FolderName": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfDocumentTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Matrix.DocumentUploadService.Plugin">
<DocumentTypeViewModel>
<FolderId>3</FolderId>
<FolderName>sample string 4</FolderName>
<Id>1</Id>
<Name>sample string 2</Name>
</DocumentTypeViewModel>
<DocumentTypeViewModel>
<FolderId>3</FolderId>
<FolderName>sample string 4</FolderName>
<Id>1</Id>
<Name>sample string 2</Name>
</DocumentTypeViewModel>
</ArrayOfDocumentTypeViewModel>