PUT api/Categories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Category
NameDescriptionTypeAdditional information
Id

string

None.

NumId

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "NumId": 2,
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models">
  <Id>sample string 1</Id>
  <Name>sample string 3</Name>
  <NumId>2</NumId>
</Category>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.