POST api/Shared/GetCategoriesByTherapeuticIdAndCompanyId
Request Information
URI Parameters
None.
Body Parameters
TherapiesAndCategoriesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| loginId | globally unique identifier |
None. |
|
| therapeuticIds | Collection of integer |
None. |
|
| companyIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"loginId": "19ae1754-0da6-4b6a-9ae8-a731b0daba38",
"therapeuticIds": [
1,
2
],
"companyIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<TherapiesAndCategoriesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LookBook_Api.Models.Dto">
<companyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</companyIds>
<loginId>19ae1754-0da6-4b6a-9ae8-a731b0daba38</loginId>
<therapeuticIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</therapeuticIds>
</TherapiesAndCategoriesDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Active | integer |
None. |
|
| ParentCategory | integer |
None. |
|
| Logo | string |
None. |
|
| Children | Collection of Category |
None. |
|
| Path | Collection of integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.