POST Babelway/TMW/PostApSettlements

Request Information

URI Parameters

None.

Body Parameters

SettlementApInvoiceRequest
NameDescriptionTypeAdditional information
Invoices

Collection of SettlementApInvoice

None.

Details

Collection of SettlementApDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "Invoices": [
    {
      "InvoiceNumber": "sample string 1",
      "VendorId": "sample string 2",
      "InvoiceDate": "2025-06-18T10:12:35.1017972-05:00",
      "Amount": 4.0
    },
    {
      "InvoiceNumber": "sample string 1",
      "VendorId": "sample string 2",
      "InvoiceDate": "2025-06-18T10:12:35.1017972-05:00",
      "Amount": 4.0
    }
  ],
  "Details": [
    {
      "IdNo": 1,
      "InvoiceNumber": "sample string 2",
      "GlAccountId": "sample string 3",
      "Description": "sample string 4",
      "Amount": 5.0
    },
    {
      "IdNo": 1,
      "InvoiceNumber": "sample string 2",
      "GlAccountId": "sample string 3",
      "Description": "sample string 4",
      "Amount": 5.0
    }
  ]
}

text/html

Sample:
{"Invoices":[{"InvoiceNumber":"sample string 1","VendorId":"sample string 2","InvoiceDate":"2025-06-18T10:12:35.1017972-05:00","Amount":4.0},{"InvoiceNumber":"sample string 1","VendorId":"sample string 2","InvoiceDate":"2025-06-18T10:12:35.1017972-05:00","Amount":4.0}],"Details":[{"IdNo":1,"InvoiceNumber":"sample string 2","GlAccountId":"sample string 3","Description":"sample string 4","Amount":5.0},{"IdNo":1,"InvoiceNumber":"sample string 2","GlAccountId":"sample string 3","Description":"sample string 4","Amount":5.0}]}

Response Information

Resource Description

Collection of GenericTransactionResponse
NameDescriptionTypeAdditional information
ReturnedObject

Object

None.

IsSuccessful

Indicates if the transaction was successful or not.

boolean

None.

ReturnedMessages

Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction.

Collection of ReturnedMessage

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ReturnedObject": {},
    "IsSuccessful": true,
    "ReturnedMessages": null
  },
  {
    "ReturnedObject": {},
    "IsSuccessful": true,
    "ReturnedMessages": null
  }
]

text/html

Sample:
[{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null},{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}]