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

Available Services for WS/Order:

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

Request to WS/Order (POST):

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

Fields of <Order>:

FieldName C# DataType Description
ClientGroupID int
Company_VAT string
ConditionsAccepted bool
CountryTo string
Currency string
CustomerML_PersonID int
CustomerPersonEmail string
CustomerPersonID int
CustomerPersonName string
CustomerPersonTelephone string
CY_CompanyID int
DeliveryAddressID int
DeliveryDate DateTime?
DeliveryTypeID int
Description string
FI_FidelityCardItemSelectionTypeID int
FI_InvoiceHeadID int
FI_PaymentTermID int
FI_TransactionID int
FI_VATCalculationTypeID int
FI_VoucherID int
FixedOrderValue bool
FreeTextField1 string
FreeTextField2 string
FreeTextField3 string
FreeTextField4 string
FreeTextField5 string
Frozen bool
Head_FI_CostCentreID int
Head_Ledger string
Head_VAT double?
HeadAdvance double
HeadDiscount_ExcVAT double
HeadDiscount_IncVAT double
HeadDiscount_Percentage double
HeadDiscount_VAT double
HeadValue_ExcVAT double?
HeadValue_IncVAT double?
HeadWeight double
InvoiceAddressID int
InvoiceNumber string
InvoicePL_AddressID int
InvoiceRequested bool
LastMailType string
LastPaymentDate DateTime?
LastPaymentScheduleReminderDate DateTime?
LastPaymentScheduleReminderTypeID int
ModuleID string
NextPaymentScheduleReminderTypeID int
NONonEventItems int
OR_EventGroupID int
OR_VisitID int?
OrderAddressID int
OrderHeadUID Guid
OrderID int
OrderLanguage string
PaidDate DateTime?
PaymentDate DateTime?
PaymentScheduleAdvance double
PaymentScheduleID int
PaymentScheduleItemID int
PaymentStatusID int
PaymentUnitID int
PR_ProjectID int
Reference string
Remarks string
SessionID int?
SMS_Order string
SMS_OrderID int
StatusID int
SUB_PersonSubscriptionID int
SubscriptionRequested bool
TD_ToDoID int
TotalValueLeftToPay double
Version int
VoucherRequested bool
WSClientID int

Response of WS/Order (POST):

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

Fields of <Order>:

FieldName C# DataType Description
OrderID int
SMS_Order string
SMS_OrderID int
Errors List<ValidationError>