POST api/Employee/AddDeriverAndEmployeeHelp
Request Information
URI Parameters
None.
Body Parameters
HelpRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | integer |
None. |
|
| PhoneNumber | string |
None. |
|
| Reason | string |
None. |
|
| IsDriver | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonId": 1,
"PhoneNumber": "sample string 1",
"Reason": "sample string 2",
"IsDriver": true
}
application/xml, text/xml
Sample:
<HelpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VardaanCab.Domain.DTOAPI"> <IsDriver>true</IsDriver> <PersonId>1</PersonId> <PhoneNumber>sample string 1</PhoneNumber> <Reason>sample string 2</Reason> </HelpRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.