POST api/ProductCategoryCategory/Create
Request Information
URI Parameters
None.
Body Parameters
ProductCategoryModel| Name | Description | Type | Additional 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": "95d3a0e3-fa56-413f-b625-030b59747feb",
"Detail": "sample string 4",
"IsActive": true,
"CreatedBy": "cdf2898c-6eaf-4877-bcc7-ad1b703c15ed",
"CreatedDate": "2026-10-29T13:23:49.5652757-07:00",
"ModifiedBy": "43f4b237-bdd3-46a1-8bf7-b5d3e7b3a3f4",
"ModifiedDate": "2026-10-29T13:23:49.5652757-07:00",
"DeletedBy": "702b006b-288d-4b55-93a7-1b0b725ec9c9",
"DeletedDate": "2026-10-29T13:23:49.5652757-07: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">cdf2898c-6eaf-4877-bcc7-ad1b703c15ed</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.5652757-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">702b006b-288d-4b55-93a7-1b0b725ec9c9</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.5652757-07: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">95d3a0e3-fa56-413f-b625-030b59747feb</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">43f4b237-bdd3-46a1-8bf7-b5d3e7b3a3f4</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.5652757-07: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| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |