POST api/DocSubCategoryAddMapping?operationType={operationType}&prevCategoryName={prevCategoryName}&prevSubCategoryName={prevSubCategoryName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
operationType

string

Required

prevCategoryName

string

Default value is

prevSubCategoryName

string

Default value is

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.