POST api/Public/CustomerContact
Request Information
URI Parameters
None.
Body Parameters
CustomerContactBinddingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductDemandId | integer |
None. |
|
| ProductDemandCode | string |
None. |
|
| EmployeeId | integer |
None. |
|
| Domain | string |
Required |
|
| FullName | string |
None. |
|
| Phone | string |
Required |
|
| string |
Required |
||
| Message | string |
None. |
|
| TypeId | byte |
None. |
|
| DateContact | date |
None. |
|
| Price | decimal number |
None. |
|
| CustomerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"productDemandId": 1,
"productDemandCode": "sample string 2",
"employeeId": 1,
"domain": "sample string 3",
"fullName": "sample string 4",
"phone": "sample string 5",
"email": "sample string 6",
"message": "sample string 7",
"typeId": 64,
"dateContact": "2025-12-06T12:26:54.1516293+07:00",
"price": 9.0,
"customerId": 1
}
application/xml, text/xml
Sample:
<CustomerContactBinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Public"> <CustomerId>1</CustomerId> <DateContact>2025-12-06T12:26:54.1516293+07:00</DateContact> <Domain>sample string 3</Domain> <Email>sample string 6</Email> <EmployeeId>1</EmployeeId> <FullName>sample string 4</FullName> <Message>sample string 7</Message> <Phone>sample string 5</Phone> <Price>9</Price> <ProductDemandCode>sample string 2</ProductDemandCode> <ProductDemandId>1</ProductDemandId> <TypeId>64</TypeId> </CustomerContactBinddingModel>
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.