POST api/ProductCategoryCategory/Create

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": "b254602e-85c2-4e28-952e-e18c4342dfaf",
  "Detail": "sample string 4",
  "IsActive": true,
  "CreatedBy": "67d6a278-53fc-4550-bb39-f9526887c17d",
  "CreatedDate": "2024-12-29T10:01:20.1013656-08:00",
  "ModifiedBy": "dc6c4ab3-d5a5-4f52-b1c1-dcdb81151fc1",
  "ModifiedDate": "2024-12-29T10:01:20.1013656-08:00",
  "DeletedBy": "9c7cc95a-9582-49bb-8468-695dfab82cae",
  "DeletedDate": "2024-12-29T10:01:20.1013656-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">67d6a278-53fc-4550-bb39-f9526887c17d</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:01:20.1013656-08:00</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">9c7cc95a-9582-49bb-8468-695dfab82cae</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:01:20.1013656-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">b254602e-85c2-4e28-952e-e18c4342dfaf</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">dc6c4ab3-d5a5-4f52-b1c1-dcdb81151fc1</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:01:20.1013656-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.