GET api/DocumentTypes/GetDocumentTypes

Get list of documents

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Return the list of active document

Collection of VDocumentTypes
NameDescriptionTypeAdditional information
DocumentTypeCode

Document Type Code

string

None.

DocumentTypeName

Document Type

string

None.

IsIdentityDocument

Is Identity Document

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "DocumentTypeCode": "sample string 1",
    "DocumentTypeName": "sample string 2",
    "IsIdentityDocument": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVDocumentTypes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <VDocumentTypes>
    <DocumentTypeCode>sample string 1</DocumentTypeCode>
    <DocumentTypeName>sample string 2</DocumentTypeName>
    <IsIdentityDocument>true</IsIdentityDocument>
  </VDocumentTypes>
  <VDocumentTypes>
    <DocumentTypeCode>sample string 1</DocumentTypeCode>
    <DocumentTypeName>sample string 2</DocumentTypeName>
    <IsIdentityDocument>true</IsIdentityDocument>
  </VDocumentTypes>
</ArrayOfVDocumentTypes>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].DocumentTypeCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].DocumentTypeName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].IsIdentityDocument"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].DocumentTypeCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].DocumentTypeName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].IsIdentityDocument"

True
--MultipartDataMediaFormatterBoundary1q2w3e--