POST New/SendContactInfo

Gửi thông tin liên hệ khách hàng

Request Information

URI Parameters

None.

Body Parameters

PSendContactInfoReq
NameDescriptionTypeAdditional information
CustomerInfo

CCustomerInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerInfo": {
    "ID": 1,
    "Name": "sample string 2",
    "Phone": "sample string 3",
    "Email": "sample string 4",
    "Message": "sample string 5",
    "Time": "sample string 6",
    "Status": 7
  }
}

application/xml, text/xml

Sample:
<PSendContactInfoReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cpc1hn.vn/Export/Message/v1">
  <CustomerInfo>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Phone>sample string 3</Phone>
    <Email>sample string 4</Email>
    <Message>sample string 5</Message>
    <Time>sample string 6</Time>
    <Status>7</Status>
  </CustomerInfo>
</PSendContactInfoReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PSendContactInfoRes
NameDescriptionTypeAdditional information
RespCode

integer

None.

RespText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RespCode": 1,
  "RespText": "sample string 2"
}

application/xml, text/xml

Sample:
<PSendContactInfoRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cpc1hn.vn/Export/Message/v1">
  <RespCode>1</RespCode>
  <RespText>sample string 2</RespText>
</PSendContactInfoRes>