Assigns New Status to Drafts

Belgelere toplu olarak yeni durum atar.

Belgelere toplu olarak yeni durum atamak için bu uç kullanılabilir.

put

/eproducer/Draft/Operation/{operationType}

Authorizations
Path parameters
operationTypestring · enumrequired

Yazdırılmadı, Yazdırıldı

Options: UnPrint, Print
Body
string · uuid[]
Responses
curl -L \
  --request PUT \
  --url '/eproducer/Draft/Operation/{operationType}' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: application/json-patch+json' \
  --data '[
    "123e4567-e89b-12d3-a456-426614174000"
  ]'
[
  "text"
]
var client = new RestClient("https://apitest.nilvera.com/eproducer/Draft/Operation/Print");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["3fa85f64-5717-4562-b3fc-2c963f66afa6""]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated