GET api/Gadget/GetDocumentTypes
Get all document types avialable for the country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DocumentTypeName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
Code | string |
None. |
|
Description | string |
None. |
|
Class | byte |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DocumentTypeId": 1, "Code": "sample string 2", "Description": "sample string 3", "Class": 64 }, { "DocumentTypeId": 1, "Code": "sample string 2", "Description": "sample string 3", "Class": 64 } ]
application/xml, text/xml
Sample:
<ArrayOfDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain"> <DocumentType> <_x003C_Class_x003E_k__BackingField>64</_x003C_Class_x003E_k__BackingField> <_x003C_Code_x003E_k__BackingField>sample string 2</_x003C_Code_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 3</_x003C_Description_x003E_k__BackingField> <_x003C_DocumentTypeId_x003E_k__BackingField>1</_x003C_DocumentTypeId_x003E_k__BackingField> </DocumentType> <DocumentType> <_x003C_Class_x003E_k__BackingField>64</_x003C_Class_x003E_k__BackingField> <_x003C_Code_x003E_k__BackingField>sample string 2</_x003C_Code_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 3</_x003C_Description_x003E_k__BackingField> <_x003C_DocumentTypeId_x003E_k__BackingField>1</_x003C_DocumentTypeId_x003E_k__BackingField> </DocumentType> </ArrayOfDocumentType>