GET api/customers/{customerId}/invoices/{invoiceNo}/pdf?userName={userName}&password={password}&area={area}

Get a customer's invoice as a PDF with username and password in the query string, e.g. .../pdf?username={userName} &password={password}&area={area}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer ID

integer

Required

invoiceNo

Invoice number

string

Required

userName

User name

string

Required

password

Password

string

Required

area

Area (1 for Net, 2 for Power). Optional. Default value is 2.

string

Default value is 2

Body Parameters

None.

Response Information

Resource Description

The invoice in PDF-format as a byte array.

Collection of byte

Response Formats

application/json, text/json, text/html

Sample:
"QEA="