GET sources
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| client_ids | Collection of integer |
None. |
|
| client_id | integer |
None. |
|
| module_id | LabCare.Data.Enums.Module |
None. |
|
| default_st_only | boolean |
None. |
|
| view | string |
None. |
|
| source_id | integer |
None. |
|
| source_ids | Collection of integer |
None. |
|
| source_types | Collection of LabCare.Data.Enums.SourceType |
None. |
|
| is_archived_required | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
LabCareWebApiResultOfListOfLabCare.Data.Configuration.PublicViewModels.SourcePublicViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| msg | string |
None. |
|
| data | Collection of LabCare.Data.Configuration.PublicViewModels.SourcePublicViewModel |
None. |
|
| rc | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"msg": "sample string 2",
"data": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
],
"rc": 3
}
application/xml, text/xml
Sample:
<LabCareWebApiResultOfArrayOfSourcePublicViewModelD_PDVQz25 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.WebApi">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LabCare.Data.Configuration.PublicViewModels">
<d2p1:SourcePublicViewModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:SourcePublicViewModel>
<d2p1:SourcePublicViewModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:SourcePublicViewModel>
</Data>
<Message>sample string 2</Message>
<ResponseCode>3</ResponseCode>
<Success>true</Success>
</LabCareWebApiResultOfArrayOfSourcePublicViewModelD_PDVQz25>