POST api/Shared/GetTherapeuticByProductId?productId={productId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TherapeuticAndCategoryDto
NameDescriptionTypeAdditional information
TherapeuticId

integer

None.

TherapeuticName

string

None.

CategoryId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TherapeuticId": 1,
    "TherapeuticName": "sample string 2",
    "CategoryId": 3
  },
  {
    "TherapeuticId": 1,
    "TherapeuticName": "sample string 2",
    "CategoryId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfTherapeuticAndCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LookBook_Api.Models.Dto">
  <TherapeuticAndCategoryDto>
    <CategoryId>3</CategoryId>
    <TherapeuticId>1</TherapeuticId>
    <TherapeuticName>sample string 2</TherapeuticName>
  </TherapeuticAndCategoryDto>
  <TherapeuticAndCategoryDto>
    <CategoryId>3</CategoryId>
    <TherapeuticId>1</TherapeuticId>
    <TherapeuticName>sample string 2</TherapeuticName>
  </TherapeuticAndCategoryDto>
</ArrayOfTherapeuticAndCategoryDto>