Xml Olarak Yükler

Xml olarak Adisyon yükler.

post
Authorizations
Body
filestring · binaryoptional
Responses
curl -L \
  --request POST \
  --url '/ebill/Upload' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=binary'
{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "BillNumber": "text"
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Upload", Method.Post);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AlwaysMultipartFormData = true;
request.AddFile("file", "/path/to/file");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);