$updatejoburl = 'https://' . $subdomain . '.catsone.nl/api/update_joborder?transaction_code=' . (string)$api_key;
$data = array(
'id' => (string)$result->id,
'extra_field15395' => (string)$joburl,
);
//Het versturen
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $updatejoburl);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($ch);
curl_close($ch);