POST api/dmsdocumenttype2mimetype/update
Request Information
URI Parameters
None.
Body Parameters
DmsDocumentType2MimeType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| DocumentTypeId | integer |
Required |
|
| MimeTypeId | integer |
Required |
|
| Active | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "7fc1cce2-66ef-4a78-8b6d-8fbad92f5384",
"DocumentTypeId": 3,
"MimeTypeId": 4,
"Active": true
}
application/xml, text/xml
Sample:
<DmsDocumentType2MimeType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Dms.Models"> <Active>true</Active> <DocumentTypeId>3</DocumentTypeId> <Id>1</Id> <MimeTypeId>4</MimeTypeId> <RowGuid>7fc1cce2-66ef-4a78-8b6d-8fbad92f5384</RowGuid> </DmsDocumentType2MimeType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DmsDocumentType2MimeTypeDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| MimeTypeIdDisplay | string |
None. |
|
| DocumentTypeIdDisplay | string |
None. |
|
| DisplayField | string |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| DocumentTypeId | integer |
Required |
|
| MimeTypeId | integer |
Required |
|
| Active | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"MimeTypeIdDisplay": "sample string 1",
"DocumentTypeIdDisplay": "sample string 2",
"DisplayField": "sample string 3",
"Id": 4,
"RowGuid": "3d66d913-3f11-4e89-ab4d-5a7d28d6271f",
"DocumentTypeId": 6,
"MimeTypeId": 7,
"Active": true
}
application/xml, text/xml
Sample:
<DmsDocumentType2MimeTypeDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Dms.Models"> <Active>true</Active> <DocumentTypeId>6</DocumentTypeId> <Id>4</Id> <MimeTypeId>7</MimeTypeId> <RowGuid>3d66d913-3f11-4e89-ab4d-5a7d28d6271f</RowGuid> <DisplayField>sample string 3</DisplayField> <DocumentTypeIdDisplay>sample string 2</DocumentTypeIdDisplay> <MimeTypeIdDisplay>sample string 1</MimeTypeIdDisplay> </DmsDocumentType2MimeTypeDisplay>