POST Category/GetCategoryListById

Request Information

URI Parameters

None.

Body Parameters

CategoryModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Description

string

None.

CatPic

string

None.

CreatedDate

date

None.

main_catId1

globally unique identifier

None.

main_catId2

globally unique identifier

None.

main_catId3

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "57283f14-3ab5-4c49-b311-b64fcefa315c",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CatPic": "sample string 4",
  "CreatedDate": "2024-12-23T04:34:07.9376586+05:30",
  "main_catId1": "e194809c-b017-4f28-990c-5cd3e4eab433",
  "main_catId2": "c79f3c5e-27ec-43c7-b376-db22fec0962f",
  "main_catId3": "384a5db0-2e9f-4587-aafb-2beb5a9f96ad"
}

application/xml, text/xml

Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <CatPic>sample string 4</CatPic>
  <CreatedDate>2024-12-23T04:34:07.9376586+05:30</CreatedDate>
  <Description>sample string 3</Description>
  <Id>57283f14-3ab5-4c49-b311-b64fcefa315c</Id>
  <Name>sample string 2</Name>
  <main_catId1>e194809c-b017-4f28-990c-5cd3e4eab433</main_catId1>
  <main_catId2>c79f3c5e-27ec-43c7-b376-db22fec0962f</main_catId2>
  <main_catId3>384a5db0-2e9f-4587-aafb-2beb5a9f96ad</main_catId3>
</CategoryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.