GET Patient/GetPrograms?AccountId={AccountId}
Get Programs
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Program| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| Name |
Name |
string |
None. |
| AccountId |
Account for Program |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 1",
"AccountId": 1
},
{
"Id": 1,
"Name": "sample string 1",
"AccountId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfProgram xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avertest.Aversys.DataLayer.Patients">
<Program>
<AccountId>1</AccountId>
<Id>1</Id>
<Name>sample string 1</Name>
</Program>
<Program>
<AccountId>1</AccountId>
<Id>1</Id>
<Name>sample string 1</Name>
</Program>
</ArrayOfProgram>
