GET api/v1/Schedules?ScheduleId={ScheduleId}
Returns a single ScheduleViewModel that the API token has rights to view based on a parameterized PK.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ScheduleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ScheduleViewModelName | Description | Type | Additional information |
---|---|---|---|
ScheduleId |
Represents the PK of the Schedule |
integer |
None. |
Name |
Represents the name of the Schedule |
string |
None. |
Type |
Represents the Type of the Schedule |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ScheduleId": 1, "Name": "sample string 2", "Type": "sample string 3" }
application/xml, text/xml
Sample:
<ScheduleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <Name>sample string 2</Name> <ScheduleId>1</ScheduleId> <Type>sample string 3</Type> </ScheduleViewModel>