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": "2589eab4-ba9d-4646-8345-74a2e96439ed",
"Detail": "sample string 4",
"IsActive": true,
"CreatedBy": "04964752-65ae-4bc0-93fd-4bb84edcb91e",
"CreatedDate": "2026-09-04T01:16:46.7160253-07:00",
"ModifiedBy": "963564e1-e6bc-4985-b252-8791c62588bf",
"ModifiedDate": "2026-09-04T01:16:46.7160253-07:00",
"DeletedBy": "bda9b096-4f51-4cef-ab73-01a42ff31d6a",
"DeletedDate": "2026-09-04T01:16:46.7160253-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">04964752-65ae-4bc0-93fd-4bb84edcb91e</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-04T01:16:46.7160253-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bda9b096-4f51-4cef-ab73-01a42ff31d6a</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-04T01:16:46.7160253-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">2589eab4-ba9d-4646-8345-74a2e96439ed</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">963564e1-e6bc-4985-b252-8791c62588bf</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-04T01:16:46.7160253-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. |