POST api/dmsdocumenttype/delete

Request Information

URI Parameters

None.

Body Parameters

DmsDocumentType
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

Number

integer

Required

Name

string

None.

Description

string

None.

DocumentLibraryId

integer

Required

DocumentReference

integer

Required

Visibility

integer

Required

Active

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "67aa6aa7-6eda-40f6-a549-a102fd6fccef",
  "Number": 3,
  "Name": "sample string 4",
  "Description": "sample string 5",
  "DocumentLibraryId": 6,
  "DocumentReference": 7,
  "Visibility": 8,
  "Active": true
}

application/xml, text/xml

Sample:
<DmsDocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Dms.Models">
  <Active>true</Active>
  <Description>sample string 5</Description>
  <DocumentLibraryId>6</DocumentLibraryId>
  <DocumentReference>7</DocumentReference>
  <Id>1</Id>
  <Name>sample string 4</Name>
  <Number>3</Number>
  <RowGuid>67aa6aa7-6eda-40f6-a549-a102fd6fccef</RowGuid>
  <Visibility>8</Visibility>
</DmsDocumentType>

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 'DmsDocumentType'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>