PUT api/ProductCategories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

productcategory
NameDescriptionTypeAdditional information
productcategoryid

integer

None.

lastupdatedate

date

None.

lastupdateid

integer

None.

isactive

boolean

None.

name

string

None.

description

string

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "productcategoryid": 1,
  "lastupdatedate": "2024-09-30T11:34:38.5458433+02:00",
  "lastupdateid": 3,
  "isactive": true,
  "name": "sample string 4",
  "description": "sample string 5",
  "comment": "sample string 6"
}

application/xml, text/xml

Sample:
<productcategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agribkWebAPI.Models">
  <comment>sample string 6</comment>
  <description>sample string 5</description>
  <isactive>true</isactive>
  <lastupdatedate>2024-09-30T11:34:38.5458433+02:00</lastupdatedate>
  <lastupdateid>3</lastupdateid>
  <name>sample string 4</name>
  <productcategoryid>1</productcategoryid>
</productcategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.