POST api/Shared/GetCompaniesByTherapeuticIds
Request Information
URI Parameters
None.
Body Parameters
CompanyAndCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| loginId | globally unique identifier |
None. |
|
| therapeuticIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"loginId": "7c0e9e38-407d-4687-93a6-8853919945e5",
"therapeuticIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<CompanyAndCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LookBook_Api.Models.Dto">
<loginId>7c0e9e38-407d-4687-93a6-8853919945e5</loginId>
<therapeuticIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</therapeuticIds>
</CompanyAndCategoryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Company| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| IsSCA | integer |
None. |
|
| Logo | string |
None. |
|
| UnselectedLogo | string |
None. |
|
| Active | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"IsSCA": 1,
"Logo": "sample string 3",
"UnselectedLogo": "sample string 4",
"Active": 1
},
{
"Id": 1,
"Name": "sample string 2",
"IsSCA": 1,
"Logo": "sample string 3",
"UnselectedLogo": "sample string 4",
"Active": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LookBookCoreAPI.Models.Dto">
<Company>
<Active>1</Active>
<Id>1</Id>
<IsSCA>1</IsSCA>
<Logo>sample string 3</Logo>
<Name>sample string 2</Name>
<UnselectedLogo>sample string 4</UnselectedLogo>
</Company>
<Company>
<Active>1</Active>
<Id>1</Id>
<IsSCA>1</IsSCA>
<Logo>sample string 3</Logo>
<Name>sample string 2</Name>
<UnselectedLogo>sample string 4</UnselectedLogo>
</Company>
</ArrayOfCompany>