POST api/DocumentTypes/CRUD
Add/Update/Delete DocumentTypes
Request Information
URI Parameters
None.
Body Parameters
String Array of DocumentTypes Names And Information(Mandatory)
Collection of DocumentTypeInfoName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
DocumentTypeName | string |
None. |
|
IsActive | boolean |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "DocumentTypeId": 1, "DocumentTypeName": "sample string 2", "IsActive": true, "Deleted": 1 }, { "DocumentTypeId": 1, "DocumentTypeName": "sample string 2", "IsActive": true, "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfDocumentTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <DocumentTypeInfo> <Deleted>1</Deleted> <DocumentTypeId>1</DocumentTypeId> <DocumentTypeName>sample string 2</DocumentTypeName> <IsActive>true</IsActive> </DocumentTypeInfo> <DocumentTypeInfo> <Deleted>1</Deleted> <DocumentTypeId>1</DocumentTypeId> <DocumentTypeName>sample string 2</DocumentTypeName> <IsActive>true</IsActive> </DocumentTypeInfo> </ArrayOfDocumentTypeInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>