POST api/admin/masters/SaveAndUpdateDocType

Request Information

URI Parameters

None.

Body Parameters

utblMstDocumentType
NameDescriptionTypeAdditional information
DocTypeID

integer

None.

DocTypeName

string

None.

IsRequired

boolean

None.

AllowedDocuments

string

None.

IsOfflineDoc

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DocTypeID": 1,
  "DocTypeName": "sample string 2",
  "IsRequired": true,
  "AllowedDocuments": "sample string 4",
  "IsOfflineDoc": true
}

application/xml, text/xml

Sample:
<utblMstDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LAW.Entities.models">
  <AllowedDocuments>sample string 4</AllowedDocuments>
  <DocTypeID>1</DocTypeID>
  <DocTypeName>sample string 2</DocTypeName>
  <IsOfflineDoc>true</IsOfflineDoc>
  <IsRequired>true</IsRequired>
</utblMstDocumentType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>