POST api/LiveChat/getPersonalExpert

Request Information

URI Parameters

None.

Body Parameters

LiveChatReceivedDataModel
NameDescriptionTypeAdditional information
handphone

string

None.

mobile_token

string

None.

Type

string

None.

Expert_Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "handphone": "sample string 1",
  "mobile_token": "sample string 2",
  "Type": "sample string 3",
  "Expert_Id": 4
}

application/xml, text/xml

Sample:
<LiveChatReceivedDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LiveChatIntegrator.ReceivedDataModels">
  <Expert_Id>4</Expert_Id>
  <Type>sample string 3</Type>
  <handphone>sample string 1</handphone>
  <mobile_token>sample string 2</mobile_token>
</LiveChatReceivedDataModel>

multipart/form-data

Sample:
<LiveChatReceivedDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LiveChatIntegrator.ReceivedDataModels"><Expert_Id>4</Expert_Id><Type>sample string 3</Type><handphone>sample string 1</handphone><mobile_token>sample string 2</mobile_token></LiveChatReceivedDataModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LiveChatBaseTreeModels
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "data": {}
}

application/xml, text/xml

Sample:
<LiveChatBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LiveChatIntegrator.BaseTreeModels">
  <data />
  <message>sample string 1</message>
  <success>true</success>
</LiveChatBaseTreeModels>

multipart/form-data

Sample:
<LiveChatBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LiveChatIntegrator.BaseTreeModels"><data /><message>sample string 1</message><success>true</success></LiveChatBaseTreeModels>