GET PlanCare2Api/Login/Employments
Gets all employments
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The list of all active employments
Collection of LoginEmployment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id for the employment |
integer |
- |
| IsDefault |
If this employment is the default |
boolean |
- |
| IsDefaultForLogin |
If this employment is the default for login purposes |
boolean |
- |
| OrganizationEntityName |
Name of the organization entity |
string |
- |
| DisciplineName |
Name of the discipline |
string |
- |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"IsDefault": true,
"IsDefaultForLogin": true,
"OrganizationEntityName": "sample string 4",
"DisciplineName": "sample string 5"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfLoginEmployment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<LoginEmployment>
<DisciplineName>sample string 5</DisciplineName>
<Id>1</Id>
<IsDefault>true</IsDefault>
<IsDefaultForLogin>true</IsDefaultForLogin>
<OrganizationEntityName>sample string 4</OrganizationEntityName>
</LoginEmployment>
<LoginEmployment>
<DisciplineName>sample string 5</DisciplineName>
<Id>1</Id>
<IsDefault>true</IsDefault>
<IsDefaultForLogin>true</IsDefaultForLogin>
<OrganizationEntityName>sample string 4</OrganizationEntityName>
</LoginEmployment>
</ArrayOfLoginEmployment>