PUT 1.0/{InstanceId}/DocumentTypes/{DocumentTypeId}

Updates a specific Document Type

Request Information

URI Parameters

API Parameter Details
NameDescriptionTypeAdditional information
InstanceId

The instance ID relating to a specific ADM database

string

Required

DocumentTypeId

The ID of the document type to be updated

integer

Required

Body Parameters

Contains details of the document type to be updated

CreateUpdateDocumentTypeRequest
API Parameter Details
NameDescriptionTypeAdditional information
Name

The name for the this document type

string

None.

Description

The description for the this document type

string

None.

Active

A booleaan active flag for the this document type

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Active": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateUpdateDocumentTypeRequest'.

Response Information

Resource Description

Appropriate HTTP headers with no content are returned only