Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Get an invoice by service request

Description

Retrieves an invoice by it's service request id.

Package Details

Interface

IInvoiceManager

Syntax

await invoiceManager.GetByServiceRequest(int serviceRequestId);

Returns

Task<Invoice>

API

GET
/api/v1/servicerequests/{id}/invoices

Parameters

Path
reference (integer): the service request id.

Returns

200 OK - Invoice

Example

//get the invoice by service request id.
const int serviceRequestId = 123;
var invoice = await invoiceManager.GetByServiceRequest(serviceRequstId);

  • No labels