GET api/getSubstituteRequestsRecords?date={date}&districtId={districtId}&personId={personId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
date | date |
Required |
|
districtId | string |
Required |
|
personId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SubRequestRecordsSetName | Description | Type | Additional information |
---|---|---|---|
available | Collection of SubRequestRecords |
None. |
|
scheduled | Collection of SubRequestRecords |
None. |
|
declined | Collection of SubRequestRecords |
None. |
|
deleted | Collection of SubRequestRecords |
None. |
Response Formats
application/json, text/json
Sample:
{ "available": [ { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true }, { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true } ], "scheduled": [ { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true }, { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true } ], "declined": [ { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true }, { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true } ], "deleted": [ { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true }, { "TransactionID": 1, "TransactionDate": "2022-07-05T06:20:25.7101354-04:00", "PersonFirstName": "sample string 3", "PersonLastName": "sample string 4", "RoleID": 1, "SchoolID": 1, "ReasonTypeName": "sample string 5", "LengthTypeName": "sample string 6", "ArrivalDeparture": "sample string 7", "PositionTypeName": "sample string 8", "SchoolName": "sample string 9", "HideDecline": true } ] }
application/xml, text/xml
Sample:
<SubRequestRecordsSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.SubManagement"> <available> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> </available> <declined> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> </declined> <deleted> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> </deleted> <scheduled> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> <SubRequestRecords> <ArrivalDeparture>sample string 7</ArrivalDeparture> <HideDecline>true</HideDecline> <LengthTypeName>sample string 6</LengthTypeName> <PersonFirstName>sample string 3</PersonFirstName> <PersonLastName>sample string 4</PersonLastName> <PositionTypeName>sample string 8</PositionTypeName> <ReasonTypeName>sample string 5</ReasonTypeName> <RoleID>1</RoleID> <SchoolID>1</SchoolID> <SchoolName>sample string 9</SchoolName> <TransactionDate>2022-07-05T06:20:25.7101354-04:00</TransactionDate> <TransactionID>1</TransactionID> </SubRequestRecords> </scheduled> </SubRequestRecordsSet>