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/OrderItem:

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

Request to WS/OrderItem (POST):

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

Fields of <OrderItem>:

FieldName C# DataType Description
AssetID int?
BaseUnitID int
BaseValue_ExcVAT double
BaseValue_IncVAT double
BaseValue_VAT double
CA_Reference_SubscriptionID int
CA_SubscriptionID int
CA_SubscriptionIDSubscriptionTypeID int
ClientGroupID int
CommissionSourceOrderItemID int
ComponentID int
CustomID int
Description string
DirectPayment_ProjectCommissionID int
Duration double
FI_CostCentreID int
FI_InvoiceItemID int
Frozen bool
Index int
IsFreePrice bool
ItemAdvance double
ItemDeliveryDate DateTime?
ItemPaymentDate DateTime?
ItemStatusID int
Ledger string
MainOrderItemID int
ML_PersonID int
ModuleID string
NOBaseUnits double
NOBaseUnitsOriginal double
NOPUCalculationValue1 double?
NOPUCalculationValue2 double?
NOPurchaseUnits double
NOPurchaseUnitsOriginal double
OptionListID int
OR_ActivityID int?
OR_EventGroupPersonID int?
OR_EventID int
OR_EventTypeID int
OR_Reference_EventGroupID int
OR_Reference_EventID int
OrderID int
OrderItemID int
OrderItemTypeID int
PaymentUnitID int
PriceHourDuration int
PriceID int
ProCost ProCost
ProCostID int
ProCostTypeID int
ProjectCommission_OrderItemID int
PromotionPercentage double
PromotionValue_ExcVAT double
PromotionValue_IncVAT double
PromotionValue_VAT double
PurchaseUnitID int
Remarks string
SessionID int
SMS_OrderItem string
SMS_OrderItemID int
SUB_PriceID int
SubClientID int
TD_ToDoID int
TotalItemValue_ExcVAT double
TotalItemValue_IncVAT double
TotalItemValue_VAT double
TotalItemWeight double
UnitPrice_ExcVAT double
UnitPrice_IncVAT double
UnitPrice_VAT double
UnitWeight double
VATPercentage double
VATTarriffID int
VATTarriffImportExportID int
WSClientID int

Response of WS/OrderItem (POST):

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

Fields of <OrderItem>:

FieldName C# DataType Description
OrderItemID int
SMS_OrderItem string
SMS_OrderItemID int
Errors List<ValidationError>