POST api/DocumentUpload/Add/DocumentCategoryDtls

Request Information

URI Parameters

None.

Body Parameters

DocumentCategoryDtls
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

integer

None.

SubCategoryId

integer

None.

TypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": 2,
  "SubCategoryId": 3,
  "TypeId": 4
}

application/xml, text/xml

Sample:
<DocumentCategoryDtls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <CategoryId>2</CategoryId>
  <Id>1</Id>
  <SubCategoryId>3</SubCategoryId>
  <TypeId>4</TypeId>
</DocumentCategoryDtls>

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

Response Information

Resource Description

None.