For the complete documentation index, see llms.txt. This page is also available as Markdown.

Taslaklara Yüklenen İrsaliyeyi Günceller

Taslaklara yüklenen irsaliyeyi günceller.

put
Authorizations
HTTPRequired

API anahtar� giriniz

Path parameters
UUIDstring · uuidRequired
Body
filestring · binaryOptional
Responses
200

Taslaklara yüklenen irsaliyeyi günceller.

application/json
UUIDstring · nullableOptional
DespatchNumberstring · nullableOptional
put/Upload/{UUID}
PUT /edespatch/Upload/{UUID} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{
  "UUID": "ba6726cc-fe7d-40c1-ae4c-5ab8809fb53b",
  "DespatchNumber": "IRS2026000000001"
}
var client = new RestClient("https://apitest.nilvera.com/edespatch/Upload/3fa85f64-5717-4562-b3fc-2c963f66afa6");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AlwaysMultipartFormData = true;
request.AddFile("file", "/path/to/file");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://apitest.nilvera.com/edespatch/Upload/3fa85f64-5717-4562-b3fc-2c963f66afa6',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'PUT',
  CURLOPT_POSTFIELDS => array('file'=> new CURLFILE('/path/to/file')),
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer <API KEY>'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Last updated