Conversation Create and Update
Create Conversation
Usage: POST /data/conversation
POST Data
{
"name"
:
"Store 42"
,
"departmentID"
:
212
,
}
Returns the new Conversation object.
Example JSON Response Data
{
"id"
:
1040
,
"name"
:
"Store 42"
,
"customerCount"
:
"Uncalculated"
,
"departmentID"
:
212
,
"senderID"
:
0
,
"signingEnabled"
:
false
,
"mailFarmID"
:
1
,
"receiverDomain"
:
1
,
"referFriendDefaultText"
:
""
,
"unsubscribeDefaultText"
:
""
}
Update Conversation By ID
Usage: PUT /data/conversation/id/{conversation id}
PUT Data
{
"id"
:
1040
,
"name"
:
"Store 42 Updated"
,
"customerCount"
:
"Uncalculated"
,
"departmentID"
:
212
,
"senderID"
:
0
,
"signingEnabled"
:
true
,
"mailFarmID"
:
1
,
"receiverDomain"
:
1
,
"referFriendDefaultText"
:
""
,
"unsubscribeDefaultText"
:
""
}
Saves the Conversation object to the database and returns the updated object.
Example JSON Response Data
{
"id"
:
1040
,
"name"
:
"Store 42 Updated"
,
"customerCount"
:
"Uncalculated"
,
"departmentID"
:
212
,
"senderID"
:
0
,
"signingEnabled"
:
true
,
"mailFarmID"
:
1
,
"receiverDomain"
:
1
,
"referFriendDefaultText"
:
""
,
"unsubscribeDefaultText"
:
""
}