POST api/Employee/GetPhoto

Request Information

URI Parameters

None.

Body Parameters

EmployeeImageVM
NameDescriptionTypeAdditional information
EmployeeId

integer

Required

PhotoPath

string

Required

String length: inclusive between 0 and 1000

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "PhotoPath": "sample string 2"
}

application/xml, text/xml

Sample:
<EmployeeImageVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <EmployeeId>1</EmployeeId>
  <PhotoPath>sample string 2</PhotoPath>
</EmployeeImageVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.