GET api/admin/master/GetCategoryByCatID?categoryId={categoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseOfCategoryDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

CategoryDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {
    "CategoryID": 1,
    "CategoryName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ApiResponseOfCategoryDTOr9wdJCEv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomModels">
    <d2p1:CategoryID>1</d2p1:CategoryID>
    <d2p1:CategoryName>sample string 2</d2p1:CategoryName>
  </Data>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ApiResponseOfCategoryDTOr9wdJCEv>