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": "73df18af-ec15-4576-9049-6a3a5b8559e8",
"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>73df18af-ec15-4576-9049-6a3a5b8559e8</RowGuid> </DmsDocumentType2MimeType>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "9ef55b4d-983f-436f-acc8-e487168e0dd5",
"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>9ef55b4d-983f-436f-acc8-e487168e0dd5</RowGuid> <DisplayField>sample string 3</DisplayField> <DocumentTypeIdDisplay>sample string 2</DocumentTypeIdDisplay> <MimeTypeIdDisplay>sample string 1</MimeTypeIdDisplay> </DmsDocumentType2MimeTypeDisplay>