POST api/DocumentType

Request Information

URI Parameters

None.

Body Parameters

DocumentTypeData
NameDescriptionTypeAdditional information
DocumentTypeId

integer

None.

Description

string

None.

IsForUpload

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentTypeId": 1,
  "Description": "sample string 2",
  "IsForUpload": true
}

application/xml, text/xml

Sample:
<DocumentTypeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.MPI.Business.Entities">
  <Description>sample string 2</Description>
  <DocumentTypeId>1</DocumentTypeId>
  <IsForUpload>true</IsForUpload>
</DocumentTypeData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.