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": "aeccc6a1-6f72-40d4-8414-fe78d216d75a",
"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>aeccc6a1-6f72-40d4-8414-fe78d216d75a</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": "933041d7-df47-4e43-91e9-bbbbba8302c1",
"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>933041d7-df47-4e43-91e9-bbbbba8302c1</RowGuid> <DisplayField>sample string 3</DisplayField> <DocumentTypeIdDisplay>sample string 2</DocumentTypeIdDisplay> <MimeTypeIdDisplay>sample string 1</MimeTypeIdDisplay> </DmsDocumentType2MimeTypeDisplay>