Resengo Web API ~ documentation

General Info:

Security
Xml or Json ?
C# example: a HTTP GET request
Validation Errors

Available Entities:

Module Entity
FI Transaction
PL Person
RES PartnerReservation
RES PartnerReservationContacts
RES PartnerReservations
SUB PersonSubscription
SUB Subscription
SUB SubscriptionTransaction
WS Order
WS OrderItem

Description for FI/Transaction:

The Transaction entities are debts and payments.
When an order is created, a "debt" transaction is also made for the value of that order.
Payments done by or expected from the customer become "payment" transactions which can have a status of paid or unpaid.
An order is paid when the total value of all payment transactions equals the total value of all debt transactions for that order.
Do not confuse with SUB/SubscriptionTransaction, which are payments with credits.

Available Services for FI/Transaction:

DELETE
GET
POST
You can Add and Update Transactions in your network by issuing a POST request to http://api.resengo.com/FI/Transaction.
The TransactionIDs returned in the response should be saved in your database.
If possible, always use a TransactionID when updating a Transaction in the network.
If you do not have a TransactionID yet (because you are uploading the Transaction for the first time) and you are sending multiple Transactions at once, you can differentiate between the results by specifying a SMS_TransactionID or SMS_Transaction for each posted Transaction. These should correspond to the primary key of your local database.

Request to FI/Transaction (POST):

<?xml version="1.0" encoding="utf-8"?>
<Request>
  <Transactions>
    <Transaction>(fields)</Transaction>
    <Transaction>(fields)</Transaction>
    ...
  </Transactions>
</Request>
						

Fields of <Transaction>:

FieldName C# DataType Description
Bank string
CardType string
CodaItemID int?
CounterTransactionID int
CreditCardNR string
Currency string
Description string
EndTime DateTime?
ePayID string
ePayLogID int?
FreeIntegerField1 int?
FreeIntegerField2 int?
FreeIntegerField3 int?
FreeIntegerField4 int?
FreeIntegerField5 int?
FreeTextField1 string
FreeTextField2 string
FreeTextField3 string
FreeTextField4 string
FreeTextField5 string
Index int
InvoiceDate DateTime?
InvoiceNumber string
LastPaymentDate DateTime?
ML_PersonID int
ModuleID string
OR_EventID int
Paid bool
PaymentTypeID int
PaymentUnitID int
PercentageOfTotalValue double?
PersonID int
PR_ProjectID int
ReferenceID1 int
ReferenceID2 int
ReferenceID3 int
ReferenceID4 int
ReferenceID5 int
RefTransactionID int?
RemarkLine1 string
RemarkLine2 string
Remarks string
SMS_TransactionID int?
SourceTransactionID int
StartTime DateTime?
StructuredRemark string
SUB_PersonSubscriptionID int
SUB_SubscriptionID int
TransactionDate DateTime?
TransactionID int
TransactionStatusID int
TransactionTypeID int
TransactionUID Guid
Value double?
ValueExcVAT double?
ValueIncVAT double?
VAT double?
VATPercentage double?
VoucherID int
WS_CashRegisterID int
WS_CashReportID int
WS_OrderHeadID int

Response of FI/Transaction (POST):

<?xml version="1.0" encoding="utf-8"?>
<Response>
  <Transactions>
    <Transaction>(fields)</Transaction>
    <Transaction>(fields)</Transaction>
    ...
  </Transactions>
</Response>
                    

Fields of <Transaction>:

FieldName C# DataType Description
SMS_TransactionID int?
TransactionID int
Errors List<ValidationError>