POST api/DocumentUpload/Add/DocumentSubCategory

Request Information

URI Parameters

None.

Body Parameters

DocumentSubCategory
NameDescriptionTypeAdditional information
Id

integer

None.

SubCategory

string

None.

UploadType

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SubCategory": "sample string 2",
  "UploadType": "sample string 3",
  "CreatedOn": "2019-08-20T23:39:27.7756705+05:30"
}

application/xml, text/xml

Sample:
<DocumentSubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <CreatedOn>2019-08-20T23:39:27.7756705+05:30</CreatedOn>
  <Id>1</Id>
  <SubCategory>sample string 2</SubCategory>
  <UploadType>sample string 3</UploadType>
</DocumentSubCategory>

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

Response Information

Resource Description

None.