POST api/project/saveChat
Request Information
URI Parameters
None.
Body Parameters
ChatDataMobile| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| customer_id | integer |
None. |
|
| sender_id | integer |
None. |
|
| receiver_id | integer |
None. |
|
| message_content | string |
None. |
|
| milestone_id | integer |
None. |
|
| project_summary_id | integer |
None. |
|
| parent_project_communication_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"customer_id": 2,
"sender_id": 3,
"receiver_id": 4,
"message_content": "sample string 5",
"milestone_id": 6,
"project_summary_id": 7,
"parent_project_communication_id": 1
}
application/xml, text/xml
Sample:
<ChatDataMobile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models"> <customer_id>2</customer_id> <message_content>sample string 5</message_content> <milestone_id>6</milestone_id> <parent_project_communication_id>1</parent_project_communication_id> <project_summary_id>7</project_summary_id> <receiver_id>4</receiver_id> <sender_id>3</sender_id> <token>sample string 1</token> </ChatDataMobile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
save_chat_response| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<save_chat_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models"> <message>sample string 2</message> <success>true</success> </save_chat_response>