GET v1/DocumentTypes/Article
Get a list of document types that are valid for articles
Roles Allowed
admin, editor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DocumentTypeName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
DocumentTypeName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DocumentTypeId": 1, "DocumentTypeName": "sample string 2" }, { "DocumentTypeId": 1, "DocumentTypeName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <DocumentType> <DocumentTypeId>1</DocumentTypeId> <DocumentTypeName>sample string 2</DocumentTypeName> </DocumentType> <DocumentType> <DocumentTypeId>1</DocumentTypeId> <DocumentTypeName>sample string 2</DocumentTypeName> </DocumentType> </ArrayOfDocumentType>