GET api/v1/consultants/{consultantUid}/photo
Gets the consultant photo for the specified consultant UID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| consultantUid |
The consultant UID. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the consultant photo.
AttachmentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Binary |
The binary. |
Collection of byte |
None. |
| FileName |
The name of the file. |
string |
None. |
| ContentType |
The type of the content. |
string |
None. |
| Uid |
The GUID. |
globally unique identifier |
None. |
| Links |
The links. |
Collection of Link |
None. |
| DateUpdated |
Last time the record was updated |
date |
None. |
| UpdatedBy |
Who updated the record last |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Binary": "QEA=",
"FileName": "sample string 1",
"ContentType": "sample string 2",
"Uid": "5c87e30b-0246-49b2-8a9a-b26d43b00875",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-10-27T14:05:59.3820329+00:00",
"UpdatedBy": "sample string 4"
}
application/xml, text/xml
Sample:
<AttachmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
<DateUpdated>2025-10-27T14:05:59.3820329+00:00</DateUpdated>
<Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
</Links>
<Uid>5c87e30b-0246-49b2-8a9a-b26d43b00875</Uid>
<UpdatedBy>sample string 4</UpdatedBy>
<Binary>QEA=</Binary>
<ContentType>sample string 2</ContentType>
<FileName>sample string 1</FileName>
</AttachmentViewModel>