GET PlanCare2Api/OrganizationStructure/RegistrationOrganizationEntities?clientId={clientId}&employmentId={employmentId}&referenceDate={referenceDate}

Gets organization-entities valid for time registration.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Id of the client.

integer

Required

employmentId

Id of the employment.

integer

Required

referenceDate

The reference-date.

date

Required

Body Parameters

None.

Response Information

Resource Description

List of OrganizationEntities.

Collection of RegistrationOrganizationEntity
NameDescriptionTypeAdditional information
Id

Id of entity.

integer

None

Name

Name of entity.

string

None

CostHeading

CostHeading of the entity.

string

None

IsDefault

This entity is the default location.

boolean

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "CostHeading": "sample string 3",
    "IsDefault": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRegistrationOrganizationEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.OrganizationStructure">
  <RegistrationOrganizationEntity>
    <CostHeading>sample string 3</CostHeading>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <Name>sample string 2</Name>
  </RegistrationOrganizationEntity>
  <RegistrationOrganizationEntity>
    <CostHeading>sample string 3</CostHeading>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <Name>sample string 2</Name>
  </RegistrationOrganizationEntity>
</ArrayOfRegistrationOrganizationEntity>