PUT api/VoucherOperations/UseVoucher

Request Information

URI Parameters

None.

Body Parameters

Collection of VoucherUseObject
NameDescriptionTypeAdditional information
Id

string

None.

CompanyId

integer

None.

VoucherAmount

decimal number

None.

VoucherExpiry

date

None.

UsedDevice

string

None.

PrivateIPv4

string

None.

PublicIPv4

string

None.

UsedAt

date

None.

UsedCompanyId

integer

None.

UsedBranch

integer

None.

UsedBy

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "CompanyId": 2,
    "VoucherAmount": 3.0,
    "VoucherExpiry": "2026-01-10T18:29:28.6596629-06:00",
    "UsedDevice": "sample string 5",
    "PrivateIPv4": "sample string 6",
    "PublicIPv4": "sample string 7",
    "UsedAt": "2026-01-10T18:29:28.6596629-06:00",
    "UsedCompanyId": 9,
    "UsedBranch": 10,
    "UsedBy": 11
  },
  {
    "Id": "sample string 1",
    "CompanyId": 2,
    "VoucherAmount": 3.0,
    "VoucherExpiry": "2026-01-10T18:29:28.6596629-06:00",
    "UsedDevice": "sample string 5",
    "PrivateIPv4": "sample string 6",
    "PublicIPv4": "sample string 7",
    "UsedAt": "2026-01-10T18:29:28.6596629-06:00",
    "UsedCompanyId": 9,
    "UsedBranch": 10,
    "UsedBy": 11
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.