POST api/ProductCategoryCategory/Create
Request Information
URI Parameters
None.
Body Parameters
ProductCategoryModelName | 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": "9c62fb57-bb6a-4f65-919e-2eaf66e7e71b", "Detail": "sample string 4", "IsActive": true, "CreatedBy": "cfe4eb29-a0c4-46f7-b0ff-5b7092958a56", "CreatedDate": "2025-04-03T23:59:49.9912515-07:00", "ModifiedBy": "20ce63dd-1a3d-4a58-92d6-464aebc0cb9b", "ModifiedDate": "2025-04-03T23:59:49.9912515-07:00", "DeletedBy": "7c74cba2-d0e3-45ee-a345-3ef33d6df105", "DeletedDate": "2025-04-03T23:59:49.9912515-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">cfe4eb29-a0c4-46f7-b0ff-5b7092958a56</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:59:49.9912515-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7c74cba2-d0e3-45ee-a345-3ef33d6df105</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:59:49.9912515-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">9c62fb57-bb6a-4f65-919e-2eaf66e7e71b</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">20ce63dd-1a3d-4a58-92d6-464aebc0cb9b</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:59:49.9912515-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
HttpResponseMessageName | 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. |