GET api/Resource/GetResourceTimeFence?resourceId={resourceId}

Get Resource Time Fence

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResourceTimeFence
NameDescriptionTypeAdditional information
ResourceId

integer

None.

MaxRecur

integer

None.

FixedDate

date

None.

DateRangeFrom

date

None.

DateRangeTo

date

None.

AllowScheduleLimit

boolean

None.

LimitType

integer

None.

AllowRecur

boolean

None.

MaxRecurType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ResourceId": 1,
  "MaxRecur": 2,
  "FixedDate": "2026-04-04T07:55:07.4676531-04:00",
  "DateRangeFrom": "2026-04-04T07:55:07.4676531-04:00",
  "DateRangeTo": "2026-04-04T07:55:07.4676531-04:00",
  "AllowScheduleLimit": true,
  "LimitType": 7,
  "AllowRecur": true,
  "MaxRecurType": 9
}

application/xml, text/xml

Sample:
<ResourceTimeFence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RSMCP.Entities">
  <AllowRecur>true</AllowRecur>
  <AllowScheduleLimit>true</AllowScheduleLimit>
  <DateRangeFrom>2026-04-04T07:55:07.4676531-04:00</DateRangeFrom>
  <DateRangeTo>2026-04-04T07:55:07.4676531-04:00</DateRangeTo>
  <FixedDate>2026-04-04T07:55:07.4676531-04:00</FixedDate>
  <LimitType>7</LimitType>
  <MaxRecur>2</MaxRecur>
  <MaxRecurType>9</MaxRecurType>
  <ResourceId>1</ResourceId>
</ResourceTimeFence>