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

« Previous Version 2 Current »

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

Parameter

Description

Parameter Type

id

service request id

path

Returns

200 OK - Invoice

Example

const int serviceRequestId = 123;
var invoice = await invoiceManager.GetByServiceRequest(serviceRequstId);
  • No labels