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 SUB/SubscriptionTransaction:

The SubscriptionTransaction entities describe the movement of credits to and from a PersonSubscription.
The total value of all SubscriptionTransactions for any PersonSubscription is the amount of credits left on that PersonSubscription.
Do not confuse with FI/Transaction, which are payments with money.

Available Services for SUB/SubscriptionTransaction:

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

Request to SUB/SubscriptionTransaction (POST):

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

Fields of <SubscriptionTransaction>:

Documentation on fields is not yet available.

Response of SUB/SubscriptionTransaction (POST):

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

Fields of <SubscriptionTransaction>:

Documentation on fields is not yet available.