POST Sync/OnInvoicePaymentsCreated
This method is used to "Populate" several invoices in a separate queue than the main Sales workflows queue. Example: AutoPay invoices will use this workflow so to not disrupt/slow down the regular sale population workflow.
Request Information
URI Parameters
None.
Body Parameters
A list of InvoiceIdentifier objects (SubscriberID, LocationTaxIdentificationNumber, InvoiceNumber
OnInvoicesCreatedEventName | Description | Type | Additional information |
---|---|---|---|
InvoiceIdentifiers | Collection of InvoiceIdentifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceIdentifiers": [ { "SubscriberId": 1, "OrderId": 1, "TaxIdentificationNumber": "sample string 2", "InvoiceNumber": 1 }, { "SubscriberId": 1, "OrderId": 1, "TaxIdentificationNumber": "sample string 2", "InvoiceNumber": 1 } ] }
application/xml, text/xml
Sample:
<OnInvoicesCreatedEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Events.Invoices"> <InvoiceIdentifiers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Invoices"> <d2p1:InvoiceIdentifier> <d2p1:InvoiceNumber>1</d2p1:InvoiceNumber> <d2p1:OrderId>1</d2p1:OrderId> <d2p1:SubscriberId>1</d2p1:SubscriberId> <d2p1:TaxIdentificationNumber>sample string 2</d2p1:TaxIdentificationNumber> </d2p1:InvoiceIdentifier> <d2p1:InvoiceIdentifier> <d2p1:InvoiceNumber>1</d2p1:InvoiceNumber> <d2p1:OrderId>1</d2p1:OrderId> <d2p1:SubscriberId>1</d2p1:SubscriberId> <d2p1:TaxIdentificationNumber>sample string 2</d2p1:TaxIdentificationNumber> </d2p1:InvoiceIdentifier> </InvoiceIdentifiers> </OnInvoicesCreatedEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.