PUT 3dCartWebAPI/v1/CRM/savedreply/{id}


This method is used to update a single CRM SavedReply record in the database. The {id} parameter specifies which CRM SavedReply record to update.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

SavedReply ID

integer

Required

Body Parameters

A Json or XML object containing the new SavedReply

CrmSavedReply
NameDescriptionTypeAdditional information
Id

Primary key. Auto-incremented. database reference = crm_saved_replies.id

integer

None.

Title

database reference = crm_saved_replies.title

string

String length: inclusive between 0 and 100

Message

database reference = crm_saved_replies.message

string

String length: inclusive between 0 and 65535

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CrmSavedReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3dCartWebAPI.Models">
  <Id>1</Id>
  <Message>sample string 2</Message>
  <Title>sample string 1</Title>
</CrmSavedReply>

Sample Request



Response Information

application/json, text/json

Sample:
[
  {
    "Key":"SavedReplyID",
    "Value":"1234",
    "Status":"200",
    "Message":"Updated successfully",
  }
]
							

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.