POST api/DocSubCategoryAddMapping/Edit/DocumentSubCategory

Request Information

URI Parameters

None.

Body Parameters

DocumentSubCategoryAddMapping
NameDescriptionTypeAdditional information
Id

integer

None.

Category

string

None.

SubCategory

string

None.

Type

string

None.

UploadType

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Category": "sample string 2",
  "SubCategory": "sample string 3",
  "Type": "sample string 4",
  "UploadType": "sample string 5",
  "CreatedOn": "2019-10-22T01:48:08.517199+05:30"
}

application/xml, text/xml

Sample:
<DocumentSubCategoryAddMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Category>sample string 2</Category>
  <CreatedOn>2019-10-22T01:48:08.517199+05:30</CreatedOn>
  <Id>1</Id>
  <SubCategory>sample string 3</SubCategory>
  <Type>sample string 4</Type>
  <UploadType>sample string 5</UploadType>
</DocumentSubCategoryAddMapping>

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

Response Information

Resource Description

None.