POST api/Category/DeleteCategory

Request Information

URI Parameters

None.

Body Parameters

DeleteCategoryDto
NameDescriptionTypeAdditional information
Id

integer

None.

UserType

integer

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserType": 2,
  "UserId": "sample string 3"
}

application/xml, text/xml

Sample:
<DeleteCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models.Dto">
  <UserId xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models">sample string 3</UserId>
  <UserType xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models">2</UserType>
  <Id>1</Id>
</DeleteCategoryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AjaxResultEntity
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Msg

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Msg": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<AjaxResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 2</Msg>
</AjaxResultEntity>