POST api/AcceptSubstituteJob
Request Information
URI Parameters
None.
Body Parameters
AcceptSubstituteJobRequestName | Description | Type | Additional information |
---|---|---|---|
districtId | string |
None. |
|
personId | integer |
None. |
|
transactionID | integer |
None. |
|
currDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "districtId": "sample string 1", "personId": 2, "transactionID": 3, "currDate": "2022-07-05T04:44:53.6124181-04:00" }
application/xml, text/xml
Sample:
<AcceptSubstituteJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.SubManagement"> <currDate>2022-07-05T04:44:53.6124181-04:00</currDate> <districtId>sample string 1</districtId> <personId>2</personId> <transactionID>3</transactionID> </AcceptSubstituteJobRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AcceptSubstituteJobResponseName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
multiDayAbsence | MultiDayAbsence |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "multiDayAbsence": { "message": "sample string 1", "multiDayAbsenceID": 1, "personID": 1 } }
application/xml, text/xml
Sample:
<AcceptSubstituteJobResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.SubManagement"> <message>sample string 2</message> <multiDayAbsence> <message>sample string 1</message> <multiDayAbsenceID>1</multiDayAbsenceID> <personID>1</personID> </multiDayAbsence> <status>sample string 1</status> </AcceptSubstituteJobResponse>