POST DocumentType/UpdateDocumentTypes
Update all document types
Request Information
URI Parameters
None.
Body Parameters
Collection of DocumentTypeName | Description | Type | Additional information |
---|---|---|---|
id |
Id |
integer |
None. |
title |
Title of the document type. |
string |
None. |
filename |
The name of the file to be used when saving a document. |
string |
None. |
extension |
File extension to be used when saving a document. |
string |
None. |
colorMode |
Color mode to be used when scanning a document. |
string |
None. |
resolution |
The resolution at which the docucment should be scanned. |
integer |
None. |
is_ShowSettings |
Whether to show the scanner settings. |
string |
None. |
is_Adf |
Whether to Automatic Document Feed. |
string |
None. |
is_Duplex |
Whether to scan both sides of the document. |
string |
None. |
is_MultiPage |
Allow mulitple pages to be scanned. |
string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "id": 1, "title": "sample string 2", "filename": "sample string 3", "extension": "sample string 4", "colorMode": "sample string 5", "resolution": 6, "is_ShowSettings": "sample string 7", "is_Adf": "sample string 8", "is_Duplex": "sample string 9", "is_MultiPage": "sample string 10" }, { "id": 1, "title": "sample string 2", "filename": "sample string 3", "extension": "sample string 4", "colorMode": "sample string 5", "resolution": 6, "is_ShowSettings": "sample string 7", "is_Adf": "sample string 8", "is_Duplex": "sample string 9", "is_MultiPage": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fujifilm.Synapse.Workflow.Engine.Models.DocumentType"> <DocumentType> <colorMode>sample string 5</colorMode> <extension>sample string 4</extension> <filename>sample string 3</filename> <id>1</id> <is_Adf>sample string 8</is_Adf> <is_Duplex>sample string 9</is_Duplex> <is_MultiPage>sample string 10</is_MultiPage> <is_ShowSettings>sample string 7</is_ShowSettings> <resolution>6</resolution> <title>sample string 2</title> </DocumentType> <DocumentType> <colorMode>sample string 5</colorMode> <extension>sample string 4</extension> <filename>sample string 3</filename> <id>1</id> <is_Adf>sample string 8</is_Adf> <is_Duplex>sample string 9</is_Duplex> <is_MultiPage>sample string 10</is_MultiPage> <is_ShowSettings>sample string 7</is_ShowSettings> <resolution>6</resolution> <title>sample string 2</title> </DocumentType> </ArrayOfDocumentType>
Response Information
Resource Description
True if successful
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>