GET api/CustomerContact/Detail?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerContactModel
NameDescriptionTypeAdditional information
Id

decimal number

None.

ProductDemandId

integer

None.

ProductDemandCode

string

None.

FullName

string

None.

Phone

string

None.

Email

string

None.

Message

string

None.

DateCreate

date

None.

DateContact

date

None.

Price

decimal number

None.

IsRead

boolean

None.

IsReadName

string

None.

LastComment

string

None.

TypeId

byte

None.

TypeName

string

None.

CustomerId

integer

None.

EmployeeName

string

None.

EmployeeEmail

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1.0,
  "productDemandId": 2,
  "productDemandCode": "sample string 3",
  "fullName": "sample string 4",
  "phone": "sample string 5",
  "email": "sample string 6",
  "message": "sample string 7",
  "dateCreate": "2025-12-06T12:27:59.5115914+07:00",
  "dateContact": "2025-12-06T12:27:59.5115914+07:00",
  "price": 8.0,
  "isRead": true,
  "isReadName": "sample string 10",
  "lastComment": "sample string 11",
  "typeId": 64,
  "typeName": "sample string 13",
  "customerId": 1,
  "employeeName": "sample string 14",
  "employeeEmail": "sample string 15"
}

application/xml, text/xml

Sample:
<CustomerContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.CustomerContact">
  <CustomerId>1</CustomerId>
  <DateContact>2025-12-06T12:27:59.5115914+07:00</DateContact>
  <DateCreate>2025-12-06T12:27:59.5115914+07:00</DateCreate>
  <Email>sample string 6</Email>
  <EmployeeEmail>sample string 15</EmployeeEmail>
  <EmployeeName>sample string 14</EmployeeName>
  <FullName>sample string 4</FullName>
  <Id>1</Id>
  <IsRead>true</IsRead>
  <IsReadName>sample string 10</IsReadName>
  <LastComment>sample string 11</LastComment>
  <Message>sample string 7</Message>
  <Phone>sample string 5</Phone>
  <Price>8</Price>
  <ProductDemandCode>sample string 3</ProductDemandCode>
  <ProductDemandId>2</ProductDemandId>
  <TypeId>64</TypeId>
  <TypeName>sample string 13</TypeName>
</CustomerContactModel>