Edit a support log
1 min
PATCH
https://api.fictive.com/REST/api/accounts/{accountReference}/support-logs/{supportLogReference}
Path Parameters
- accountReferencestringrequired
- supportLogReferencestringrequired
Header Parameters
- X-TokenIdstringDescription
- X-SessionIdstringDescription
- X-VersionstringrequiredDescription
- OriginstringDescription
Body Parameters
- patchRequestMicrosoft.AspNet.JsonPatch.JsonPatchDocument[FictiveGlobal.Api.Rest.Dtos.v1.Patch.CustomerSupportLog.CustomerSupportLogEntryPatchModel]required
- valueSystem.Object
- pathstring
- opstring
- fromstring
Responses
204
curl
curl --request PATCH \
--url https://api.fictive.com/REST/api/accounts/{accountReference}/support-logs/{supportLogReference} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-version: string' \
--data '[
{}
]'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("x-version", "string");
var raw = JSON.stringify([
{}
]);
var requestOptions = {
method: 'PATCH',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.fictive.com/REST/api/accounts/{accountReference}/support-logs/{supportLogReference}", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.fictive.com/REST/api/accounts/{accountReference}/support-logs/{supportLogReference}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["x-version"] = "string"
request.body = JSON.dump([
{}
])
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.fictive.com/REST/api/accounts/{accountReference}/support-logs/{supportLogReference}"
payload = json.dumps([
{}
])
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'x-version': 'string'
}
response = requests.request("PATCH", url, headers=headers, data=payload)
print(response.text)
204
// No Content
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.