GET api/admin/masters/DocumetTypes?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| SearchTerm | string |
Required |
Body Parameters
None.
Response Information
Resource Description
MstDocumentTypeCustomModel| Name | Description | Type | Additional information |
|---|---|---|---|
| allDocumentTypes | Collection of utblMstDocumentType |
None. |
|
| totalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"allDocumentTypes": [
{
"DocTypeID": 1,
"DocTypeName": "sample string 2",
"IsRequired": true,
"AllowedDocuments": "sample string 4",
"IsOfflineDoc": true
},
{
"DocTypeID": 1,
"DocTypeName": "sample string 2",
"IsRequired": true,
"AllowedDocuments": "sample string 4",
"IsOfflineDoc": true
}
],
"totalRecords": 1
}
application/xml, text/xml
Sample:
<MstDocumentTypeCustomModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LAW.Entities.CustomModels">
<allDocumentTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/LAW.Entities.models">
<d2p1:utblMstDocumentType>
<d2p1:AllowedDocuments>sample string 4</d2p1:AllowedDocuments>
<d2p1:DocTypeID>1</d2p1:DocTypeID>
<d2p1:DocTypeName>sample string 2</d2p1:DocTypeName>
<d2p1:IsOfflineDoc>true</d2p1:IsOfflineDoc>
<d2p1:IsRequired>true</d2p1:IsRequired>
</d2p1:utblMstDocumentType>
<d2p1:utblMstDocumentType>
<d2p1:AllowedDocuments>sample string 4</d2p1:AllowedDocuments>
<d2p1:DocTypeID>1</d2p1:DocTypeID>
<d2p1:DocTypeName>sample string 2</d2p1:DocTypeName>
<d2p1:IsOfflineDoc>true</d2p1:IsOfflineDoc>
<d2p1:IsRequired>true</d2p1:IsRequired>
</d2p1:utblMstDocumentType>
</allDocumentTypes>
<totalRecords>1</totalRecords>
</MstDocumentTypeCustomModel>