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

-

Name

Name of GRZ contract DOTlocation

string

-

Description

Description of GRZ contract DOTlocation

string

-

IsDefault

Indicates whether this location is the default DOTlocation

boolean

-

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>