GET PlanCare2Api/Timesheets/DOTLocations?contractId={contractId}&productId={productId}&referenceDate={referenceDate}
Fetch possible locations for DBC GRZ contract
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contractId |
Identifier of GRZ contract |
integer |
Required |
| productId |
Identifier of GRZ product |
integer |
Required |
| referenceDate |
reference date |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DOTLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of GRZ contract DOTlocation |
integer |
None. |
| Name |
Name of GRZ contract DOTlocation |
string |
None. |
| Description |
Description of GRZ contract DOTlocation |
string |
None. |
| IsDefault |
Indicates whether this location is the default DOTlocation |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"IsDefault": true
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfDOTLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.TimeSheet">
<DOTLocation>
<Description>sample string 3</Description>
<Id>1</Id>
<IsDefault>true</IsDefault>
<Name>sample string 2</Name>
</DOTLocation>
<DOTLocation>
<Description>sample string 3</Description>
<Id>1</Id>
<IsDefault>true</IsDefault>
<Name>sample string 2</Name>
</DOTLocation>
</ArrayOfDOTLocation>