XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
87 stars 64 forks source link

deleteCreditNoteAllocations has incorrect return type Allocation instead of Allocations #341

Open MasonD opened 5 months ago

MasonD commented 5 months ago

SDK you're using (please complete the following information):

Describe the bug deleteCreditNoteAllocations returns an (empty) Allocation object, but the DELETE /CreditNotes/{CreditNoteID}/Allocations/{AllocationID} endpoint actually returns an Allocation**s** collection.

To Reproduce Steps to reproduce the behavior: Call deleteCreditNoteAllocations. Observe that the return value is a null-filled Allocation object.

Expected behavior The return value of deleteCreditNoteAllocations is an Allocations collection.

github-actions[bot] commented 5 months ago

PETOSS-383

github-actions[bot] commented 5 months ago

Thanks for raising an issue, a ticket has been created to track your request