GET api/v1/contracts?time={time}

Get contracts that the current account has access. Returns service number Demo if account is not found or account is not premium.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
time

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of VuoronetRestService.Models.Contract
NameDescriptionTypeAdditional information
ServiceNumber

string

None.

StartTime

date

None.

EndTime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServiceNumber": "Demo",
    "StartTime": "2010-01-01T00:00:00",
    "EndTime": "2050-01-01T00:00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VuoronetRestService.Models.Receipts">
  <Contract>
    <EndTime>2050-01-01T00:00:00</EndTime>
    <ServiceNumber>Demo</ServiceNumber>
    <StartTime>2010-01-01T00:00:00</StartTime>
  </Contract>
</ArrayOfContract>