GET api/CustomerPhoto/GetByID?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerPhotoDto
NameDescriptionTypeAdditional information
CustomerID

integer

None.

FileByte

Collection of byte

Required

FileName

string

Required

FileType

string

Required

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "customerID": 1,
  "fileByte": "QEA=",
  "fileName": "sample string 2",
  "fileType": "sample string 3",
  "id": 1
}

text/html

Sample:
{"customerID":1,"fileByte":"QEA=","fileName":"sample string 2","fileType":"sample string 3","id":1}

application/xml, text/xml

Sample:
<CustomerPhotoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Ef">
  <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID>
  <CustomerID>1</CustomerID>
  <FileByte>QEA=</FileByte>
  <FileName>sample string 2</FileName>
  <FileType>sample string 3</FileType>
</CustomerPhotoDto>