Global Change Ticket Status
using RestSharp;
var options = new RestClientOptions("http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);const options = {method: 'GET'};
fetch('http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "49843",
CURLOPT_URL => "http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Global Change Ticket Status
This method will change all references from one ticket status to another.
Typically used in conjuction with delete
Global Change Ticket Status
using RestSharp;
var options = new RestClientOptions("http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);const options = {method: 'GET'};
fetch('http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "49843",
CURLOPT_URL => "http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:49843/api/v1/List/TicketStatus/{fromTicketStatusId}/ChangeTo/{toTicketStatusId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Headers
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Path Parameters
The id of the ticket status to change from
The id of the ticket status to change to
Response
204
No Content
Was this page helpful?