PUT api/ProductCategoryCategory/Update

Request Information

URI Parameters

None.

Body Parameters

ProductCategoryModel
NameDescriptionTypeAdditional information
Name

string

None.

ImageURL

string

None.

Id

globally unique identifier

None.

Detail

string

None.

IsActive

boolean

None.

CreatedBy

globally unique identifier

None.

CreatedDate

date

None.

ModifiedBy

globally unique identifier

None.

ModifiedDate

date

None.

DeletedBy

globally unique identifier

None.

DeletedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "ImageURL": "sample string 2",
  "Id": "f3e277c7-7ec6-49ab-9f78-b177d26605f0",
  "Detail": "sample string 4",
  "IsActive": true,
  "CreatedBy": "fc77e127-41e4-4e59-8ebb-38cb80498552",
  "CreatedDate": "2024-12-29T09:35:39.9801291-08:00",
  "ModifiedBy": "5b5d5829-236b-434d-a75a-06b0414a5086",
  "ModifiedDate": "2024-12-29T09:35:39.9801291-08:00",
  "DeletedBy": "a0d517c2-85e8-4590-8dc1-ec05461670ac",
  "DeletedDate": "2024-12-29T09:35:39.9801291-08:00"
}

application/xml, text/xml

Sample:
<ProductCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Inventory">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">fc77e127-41e4-4e59-8ebb-38cb80498552</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:35:39.9801291-08:00</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">a0d517c2-85e8-4590-8dc1-ec05461670ac</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:35:39.9801291-08:00</DeletedDate>
  <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 4</Detail>
  <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f3e277c7-7ec6-49ab-9f78-b177d26605f0</Id>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">5b5d5829-236b-434d-a75a-06b0414a5086</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:35:39.9801291-08:00</ModifiedDate>
  <ImageURL>sample string 2</ImageURL>
  <Name>sample string 1</Name>
</ProductCategoryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.