POST Invoices/Batch/InvoiceBatchProcess

Request Information

URI Parameters

None.

Body Parameters

GenerateRootBatchCriteria
NameDescriptionTypeAdditional information
WeekEndingDate

date

None.

GenerationType

InvoiceGenerationType

None.

BatchType

InvoiceBatchType

None.

BusinessUnits

Collection of integer

None.

DepartureStopDate

date

None.

ClientOrderIDs

Collection of integer

None.

RootInvoiceBatchID

integer

None.

InvoiceBatchIdentifier

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "weekEndingDate": "2024-12-04T08:05:55.3665356+00:00",
  "generationType": 1,
  "batchType": 1,
  "businessUnits": [
    1,
    2
  ],
  "departureStopDate": "2024-12-04T08:05:55.3665356+00:00",
  "clientOrderIDs": [
    1,
    2
  ],
  "rootInvoiceBatchID": 1,
  "invoiceBatchIdentifier": "717d7f99-628b-433a-a706-e94ae3a4d68b"
}

application/xml, text/xml

Sample:
<GenerateRootBatchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Billings.Models.Criteria">
  <BatchType>Root</BatchType>
  <BusinessUnits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BusinessUnits>
  <ClientOrderIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ClientOrderIDs>
  <DepartureStopDate>2024-12-04T08:05:55.3665356+00:00</DepartureStopDate>
  <GenerationType>GenerateBatch</GenerationType>
  <InvoiceBatchIdentifier>717d7f99-628b-433a-a706-e94ae3a4d68b</InvoiceBatchIdentifier>
  <RootInvoiceBatchID>1</RootInvoiceBatchID>
  <WeekEndingDate>2024-12-04T08:05:55.3665356+00:00</WeekEndingDate>
</GenerateRootBatchCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��ͽN�0�w�kct�$�0db�L���o۫";r\�x2�W ����������D��8z_H�Z�R��a��8cn��F�At�P��"e_8��ۼ��
F_��5���,���S�f��9�}I�?��)��(��.�T���x��>�6���:�=S^��nB��:ae;
���A+�Ӟ����#�wm
�

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/x-compressed-json

Sample:

Sample not available.