For the type, "OM" stand for the namespace prefix "Winbooks.TORM.OM"
Decimal separator is a point
Date are given in Unix Timestamp. Example: "/Date(1520491871000)/" = GMT: Thursday, March 8, 2018 6:51:11 AM
Schema
The schema is this one:
- DocumentHeader
- → JournalLog
- → Customer
- → Supplier
- → Contact
- → Adressing
- → DeliveringAddress
- → DeliveringContact
- → InvoicingAddress
- → InvoicingContact
- → PostingAddress
- → PostingContact
- Details (List of OM.Logistics.DocumentDetail)
- → DocumentRow
- → Item
- ← StockTransaction (List of OM.Logistics.StockTransaction) (1 stock transaction references 1 DocumentDetail if it has an impact on the stock or the future stock)
- → DocumentRow
As the DocumentHeader does not have a code, to get one document, the only supported url is app/DocumentHeader/<id>/Folder/<foldercode>
To retrieve a DocumentHeader with its Journal and Number, you have to use app/DocumentHeaders/Folder/<foldercode>/ExecuteCriteria
OM
JournalLog
DocumentHeader
Type: OM.Logistics.DocumentHeader
Property | Type | Foreigner Id | Friendly code property | Comment |
---|---|---|---|---|
JournalLog | OM.Logistics.JournalLog | JournalLog_Id | JournalLogCode | Journal of logistics = Journal.JournalLog |
Journal | OM.Accounting.Journal | Journal_Id | JournalCode | Journal of accounting |
OM.Logistics.PayTerm | PayTerm_Id | PayTermCode | not used | |
PayMode | OM.Logistics.PayMode | PayMode_Id | PayModeCode | Ex: BANK, CASH, CHEQUE, ... |
DeliveryTerm | OM.Logistics.DeliveryTerm | DeliveryTerm_Id | DeliveryTermCode | Ex: CIF, FOB, ... |
OM.Logistics.DeliveryThird | DeliveryThird_Id | DeliveryThirdCode | not used | |
Supplier | OM.Supplier | Supplier_Id | SupplierCode | If it is a supplier document |
OM.Prospect | Prospect_Id | ProspectCode | not used | |
Customer | OM.Customer | Customer_Id | CustomerCode | If it is a customer document |
Contact | OM.Contact | Contact_Id | Contact person for this document | |
OM.Third | RelatedThird_Id | RelatedThirdCode | not used | |
Addressing | OM.Logistics.DocumentAddressing | DocumentAddressing_Id | Delivery, Invoicing and Posting Address & Contact | |
Currency | OM.Currency | Currency_Id | CurrencyCode | By default, the currency of the folder |
OM.Logistics.DocumentStatus | DocumentStatus_Id | not used | ||
BookPeriod | OM.Accounting.Period | BookPeriod_Id | If it is an invoice or a credit note, else it is null | |
PayCode | OM.Accounting.PayCode | PayCode_Id | PayCodeCode | Term of payment (Ex: 30 days) |
Agent | OM.Logistics.Agent | Agent_Id | AgentCode | If the agent management is activated |
CostSupplier | OM.Supplier | CostSupplier_Id | CostSupplierCode | not used in BE. Supplier who bill the cost (transport, custom) |
GLTransactionHeader | OM.Accounting.GLTransactionHeader | GLTransactionHeader_Id | Accounting document linked (if the invoice or credit note is booked) | |
GLTransactionHeader2 | OM.Accounting.GLTransactionHeader | GLTransactionHeader2_Id | not used in BE. Accounting document linked for the stock booking | |
Warehouse | OM.Logistics.Warehouse | Warehouse_Id | WarehouseFromCode | Used in the stock transfer document |
Warehouse2 | OM.Logistics.Warehouse | Warehouse2_Id | WarehouseToCode | Used in the stock transfer document |
Details | List of OM.Logistics.DocumentDetail | see here under | ||
CurrencyRate | decimal? | Currency rate at the time the document was created | ||
Number | long | Number of the document in the JournalLog | ||
int | not used | |||
Date | DateTime | Date of the document | ||
DueDate | DateTime? | Due date of the document (invoice) | ||
DeliveryDateFrom | DateTime? | Usually filled in the orders to specify to the client when the delivery will happen | ||
DeliveryDateTo | DateTime? | To specify a date range for the delivery | ||
IsVatIncluded | bool | true = the DocumentDetail.DocumentRow.UnitPrice is vat included By default = JournalLog.IsVatIncluded | ||
IsNextPartial | bool | true = the document was transformed into 1 or more next document(s) (ex: order → delivery → invoice), but all details were not transformed (backorders) | ||
IsNextTotal | bool | true = the document was totally transformed in 1 or more nex document(s) | ||
IsInitial | bool | true = the document was input by the user if a document is created by copy of another one, or by transformation, IsInitial = false | ||
IsClosed | bool | true = the document is closed (does not need any processing more) | ||
string | not used | |||
ThirdReference | string | Reference of the third party | ||
string | not used | |||
TotalBase | decimal? | total of the base amounts in the currency of the document see computing of the document here under | ||
TotalVat | decimal? | total of the vat amounts in the currency of the document see computing of the document here under | ||
TotalToPay | decimal? | total amount to pay in the currency of the document see computing of the document here under | ||
Cost | decimal? | Cost for the transport | ||
CostSplittingMethod | short | OnItems OnQUantities OnValues | ||
GlobalDiscountRate | decimal | in % | ||
TotalQuantity | decimal? | total of the DocumentDetail.Quantity | ||
IsOutput | bool | true = the PDF was already generated for this document | ||
bool | not used now | |||
IsSentByEmail | bool | true = the PDF was sent by email to the third party | ||
bool | not used | |||
IsPdfArchived | bool | true = there is already one or more PDF archived for this document | ||
IsGenerated | bool | true = the document was generated by the transformation of another document false = the document was input by the user or copied from another one | ||
IsMatched | bool | true = the linked invoice is matched in the accounting | ||
ComputingMethod | short | 0 = initial method | ||
bool | not used | |||
ThirdReference2 | string | not used in BE | ||
CurrencyRate2 | decimal? | Alternative currency rate (rarely used) | ||
Reference | string | not used in BE | ||
ConditionalDiscountRate | decimal? | in % | ||
ConditionalDiscountAmount | decimal? | in the currency of the folder | ||
ConditionalDiscountAmount2 | decimal? | in the alternative currency of the folder (rarely used) | ||
ConditionalDiscountDueDate | DateTime? | the discount apply if the client pay before this date, or if we pay the supplier before this date | ||
ConditionalDiscountCurrencyAmount | decimal? | in the currency of the document | ||
SubscriptionDateNext | DateTime? | For the subscription document. Date of the next generation. | ||
SubscriptionDateEnd | DateTime? | For the subscription document. Date after which the generation stops. | ||
SubscriptionIndexInitial | decimal? | For the subscription document. Index | ||
PaymentDiscountDays | decimal? | Delay of payment in days to get the conditional discount | ||
TotalGrossWeightKg | decimal? | total of DocumentDetail.Row.Item.GrossWeightKg | ||
IntrastatTransaction | short? | 1 = sales, ..., 9 = other | ||
IntrastatRegion | short? | 1 = flemish, 2 = walloon, 3 = Brussels | ||
IntrastatTransport | short? | 1 = sea, 2 = railway, 3 = road, 4 = air, ... | ||
CommentExternal | string | VCS payment identification number (12-digit VCS number) |
This is the JSON body that you receive when you GET {{url}}/app/DocumentHeaders/Folder/{{folder}}?MaxLevel=2
[ { "$type": "Winbooks.TORM.OM.Logistics.DocumentHeader, Winbooks.TORM.OM", "$isShowId": true, "TotalLevel": 2, "Version": 2, "Modified": "/Date(1521024792000)/", "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Created": "/Date(1521024792000)/", "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70", "JournalLog_Id": "1104bd81-fac3-498d-bdb1-a74d006d9096", "Journal_Id": "00000000-0000-0000-0000-000000000000", "PayTerm_Id": "00000000-0000-0000-0000-000000000000", "PayMode_Id": "00000000-0000-0000-0000-000000000000", "DeliveryTerm_Id": "00000000-0000-0000-0000-000000000000", "DeliveryThird_Id": "00000000-0000-0000-0000-000000000000", "Supplier_Id": "00000000-0000-0000-0000-000000000000", "Prospect_Id": "00000000-0000-0000-0000-000000000000", "Customer_Id": "f5e92880-31c0-43af-9348-a85d0117d78b", "Contact_Id": "00000000-0000-0000-0000-000000000000", "RelatedThird_Id": "00000000-0000-0000-0000-000000000000", "DocumentAddressing_Id": "d0fc164a-dc07-458f-aee7-a8a300c3e2b7", "Currency_Id": "8d70e1d6-57cf-4bc1-8402-a74d006cd472", "DocumentStatus_Id": "00000000-0000-0000-0000-000000000000", "BookPeriod_Id": "00000000-0000-0000-0000-000000000000", "PayCode_Id": "48a7b7ab-0f1b-4420-af2e-a74d006cd9a8", "Agent_Id": "00000000-0000-0000-0000-000000000000", "CostSupplier_Id": "00000000-0000-0000-0000-000000000000", "GLTransactionHeader_Id": "00000000-0000-0000-0000-000000000000", "GLTransactionHeader2_Id": "00000000-0000-0000-0000-000000000000", "Warehouse_Id": "00000000-0000-0000-0000-000000000000", "Warehouse2_Id": "00000000-0000-0000-0000-000000000000", "CurrencyRate": 1, "Number": 2018001, "Revision": 0, "Date": "/Date(1521028391000)/", "DueDate": "/Date(1521590400000)/", "DeliveryDateFrom": null, "DeliveryDateTo": null, "IsVatIncluded": false, "IsNextPartial": false, "IsNextTotal": false, "IsInitial": true, "IsClosed": false, "InternalComment": "", "ThirdReference": "", "ThirdPartyComment": "", "TotalBase": 500, "TotalVat": 102.38, "TotalToPay": 602.38, "Cost": 0, "CostSplittingMethod": 0, "GlobalDiscountRate": 0, "TotalQuantity": 3, "IsOutput": false, "IsSentByEDI": false, "IsSentByEmail": false, "IsSigned": false, "IsPdfArchived": false, "IsGenerated": false, "IsMatched": 0, "ComputingMethod": 1, "IsIgnoredEDI": false, "ThirdReference2": "", "CurrencyRate2": null, "Reference": "", "ConditionalDiscountRate": 2.5, "ConditionalDiscountAmount": 12.5, "ConditionalDiscountAmount2": 12.5, "ConditionalDiscountDueDate": "/Date(1521590400000)/", "ConditionalDiscountCurrencyAmount": 12.5, "SubscriptionDateNext": null, "SubscriptionDateEnd": null, "SubscriptionIndexInitial": null, "PaymentDiscountDays": 7, "TotalGrossWeightKg": null, "IntrastatTransaction": null, "IntrastatRegion": null, "IntrastatTransport": null, "CommentExternal": "", "Id": "7082e745-1ad5-46bb-8274-a8a300c3e2b6", "ResultState": 0, "ActionState": 0, "CachedCollection": {}, "IsBinding": false, "IsSpecifiedId": false, "IsDirty": false, "UpdatedEntities": {}, "Custom": {}, "UpdatedProperties": [], "UpdatedValues": [], "JournalLog":{...}, "Customer":{...}, "Adressing":{...}, "Currency":{...}, "PayCode":{...}, "Details":[ {...}, {...} ], "FolderCode": "JF_TEST_RESTAPI", "JournalLogCode": "ORDER", "JournalCode": "", "PayTermCode": "", "PayModeCode": "", "DeliveryTermCode": "", "DeliveryThirdCode": "", "SupplierCode": "", "ProspectCode": "", "CustomerCode": "BEBOP", "RelatedThirdCode": "", "CurrencyCode": "EUR", "PayCodeCode": "7", "AgentCode": "", "CostSupplierCode": "", "WarehouseFromCode": "", "WarehouseToCode": "" } ]
Computing of a document (ComputingMethod = 1 - VatOnSumOfBase)
- For document vat excluded:
- for each row, we compute the amount vat excluded = round(Quantity * UnitPrice * (1 - DiscountRate/100), 2)
- we sum this amount per vat code
- we compute the vat included = round(vat excluded * (1+rate/100)) per vat code
- For document vat included:
- for each row, we compute the amount vat included = round(Quantity * UnitPriceVatIncluded * (1 - DiscountRate/100), 2)
- we sum this amount per vat code
- we compute the vat excluded = round(vat included / (1+rate/100)) per vat code
DocumentDetail
Type: OM.Logistics.DocumentDetail
Property | Type | Foreigner Id | Friendly code property | Comment |
---|---|---|---|---|
DocumentHeader | OM.Logistics.DocumentHeader | DocumentHeader_Id | ||
Row | OM.Logistics.DocumentRow | DocumentRow_Id | Row mainly hold the item, price, description, vat. It is shared with the documents generated by transformation. An offer, order, delivery and invoice will share the same Row for the document details | |
StockTransaction | List of OM.Logistics.StockTransaction | Offer → 0 StockTransaction Order → 1 StockTransaction for the future stock Delivery → 1 StockTransaction for the stock and the future stock Invoice → 0 if transformed from delivery else 1 StockTransaction | ||
NextDetails | List of OM.Logitsics.DocumentDetailLink | Next transformation: Offer → Order → Delivery → Invoice → CN One document detail can be transformed several times (partial delivery for example) NextDetails gives access to all document details generated by transformation of the current one. | ||
PreviousDetails | List of OM.Logistics.DocumentDetailLink | It's memorizing the reverse allowing to go back from CN to Offer | ||
GLTrans | OM.Accounting.GLTrans | not use in BE. Used for the stock booking. | ||
GLTrans2 | OM.Accounting.GLTrans | not use in BE. Used for the stock booking. | ||
RowNumber | int | When adding rows, we increase the RowNumber by 1000. When we insert between 1000 and 2000 for example, the RowNumber of the inserted detail is 1500. | ||
Format | int? | not used | ||
Quantity | decimal | Quantity | ||
NextTotalQuantity | decimal | Total of NextDetails.Quantity | ||
Amount | decimal | Net amount taxes excluded in the currency of the folder | ||
CostAmount | decimal | Cost price for the specified quantity (purchase price * quantity) | ||
IsClosed | bool | true = the document detail is closed (need no more processing) | ||
IsFreeItem | bool | true = it's a item for free (see promotion system) | ||
IsGlobalDiscountItem | bool | true = it's the item used to register the global discount (added automatically) |
"Details": [ { "$type": "Winbooks.TORM.OM.Logistics.DocumentDetail, Winbooks.TORM.OM", "$isShowId": true, "Id": "700772aa-89a6-4c3e-9e82-a8a300c3e2bc", "Version": 1, "Modified": "/Date(1521024792000)/", "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Created": "/Date(1521024792000)/", "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70", "DocumentHeader_Id": "7082e745-1ad5-46bb-8274-a8a300c3e2b6", "DocumentRow_Id": "4549d035-85ce-470a-b789-a8a300c3e2bc", "RowNumber": 1000, "Format": 0, "Quantity": 2, "NextTotalQuantity": 0, "Amount": 200, "CostAmount": 0, "IsClosed": false, "IsFreeItem": false, "IsGlobalDiscountItem": false, "GLTrans_Id": "00000000-0000-0000-0000-000000000000", "GLTrans2_Id": "00000000-0000-0000-0000-000000000000", "ResultState": 0, "ActionState": 0, "CachedCollection": {}, "IsBinding": false, "IsSpecifiedId": false, "IsDirty": false, "UpdatedEntities": {}, "Custom": {}, "UpdatedProperties": [], "UpdatedValues": [], "DocumentHeader": {...}, "Row": {...}, "StockTransaction": [ {...} ], "FolderCode": "JF_TEST_RESTAPI", "Type_UpdatedValues": "[]" }, {...} ]
DocumentRow
Type: OM.Logistics.DocumentRow
Property | Type | Foreigner Id | Friendly code property | Comment |
---|---|---|---|---|
Vat | OM.Accounting.VatAccount | Vat_Id | VatCode | Vat for the row |
Item | OM.Logistics.Item | Item_Id | ItemCode | Item could be null |
DocumentDetails | List of OM.Logistics.DocumentDetail | |||
Name | string | Description | ||
Name2 | string | Second description (not use for BE legislation) | ||
UnitPrice | decimal | Unit price vat excluded | ||
UnitPriceVatIncluded | decimal? | Unit price vat inluded (if DocumentHeader.IsVatIncluded == true) | ||
DiscountRate | decimal | % of discount | ||
Comment | string | Note | ||
TaxRate | decimal? | % of the Vat |
"Row": { "$type": "Winbooks.TORM.OM.Logistics.DocumentRow, Winbooks.TORM.OM", "TotalLevel": 1, "Version": 1, "Modified": "/Date(1521024792000)/", "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Created": "/Date(1521024792000)/", "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70", "Vat_Id": "d939ccde-90ec-45bb-97fe-a74d006cd718", "Item_Id": "9976a7a9-f27b-4d5d-a414-a8a300c385ad", "Name": "Wheel", "Name2": "", "UnitPrice": 100, "UnitPriceVatIncluded": null, "DiscountRate": 0, "Comment": "", "TaxRate": null, "Id": "4549d035-85ce-470a-b789-a8a300c3e2bc", "ResultState": 0, "ActionState": 0, "CachedCollection": {}, "IsBinding": false, "IsSpecifiedId": false, "IsDirty": false, "UpdatedEntities": {}, "Custom": {}, "UpdatedProperties": [], "UpdatedValues": [], "Vat":{...}, "Item":{...}, "DocumentDetails":{...}, "FolderCode": "JF_TEST_RESTAPI", "VatCode": "21", "ItemCode": "WHEEL" }
StockTransaction
Type: OM.Logistics.StockTransaction
Property | Type | Foreigner Id | Friendly code property | Comment |
---|---|---|---|---|
DocumentDetail | OM.Logistics.DocumentDetail | DocumentDetail_Id | ||
Item | OM.Logistics.Item | Item_Id | ItemCode | |
JournalLog | OM.Logistics.JournalLog | JournalLog_Id | JournalLogCode | |
Warehouse | OM.Logistics.Warehouse | Warehouse_Id | WarehouseCode | |
ChildStockTransaction | OM.Logistics.StockTransaction | StockTransaction_Id | If the transaction generated an inventory transaction (child stock transaction), this field points to the transaction and this transaction is ignored for the recomputing of quantity in stock. | |
ItemBatchSerial | OM.Logistics.ItemBatchSerial | ItemBatchSerial_Id | ||
Order | int? | Chronological order of the transaction | ||
Type | short | 0 = None 1 = Input (delivery or invoice from supplier or workplace) 2 = Output (delivery or invoice to customer) 3 = InternalTransfer (movement from warehouse to warehouse) 4 = Consumed (for production) 5 = Inventory (document of inventory = new starting point) 6 = Ajustement (movement of correction in + or -) 7 = Reservation (order moving the QuantityReserved) | ||
Date | Date of the transaction (time is important for the chronology of transactions) | |||
Quantity | Quantity in the Item.StockUnit. >0 is an entry in stock <0 is an output from stock | |||
ValueAveragePurchasePrice | Value in the currency of the folder of the total in stock evaluated in average purchase price | |||
ValueFIFO | Value in the currency of the folder of the total in stock evaluated in FIFO | |||
ValueOther | Value in the currency of the folder of the total in stock evaluated with another way (plug-ins) | |||
Cost | Amount of cost to add to the value here over to get the total value | |||
CostOfGoods | ||||
Taxes | Amount of taxes to add to the total value here over to get the total cost of goods | |||
QuantityInStock | Total quantity in stock after the present transaction (Quantity) | |||
QuantityReserved | Total quantity reserved from the QuantityInStock. Free stock = QuantityInStock - QuantityReserved (>= 0). | |||
RecomputeNextTransactions | By default it's to false but if we modify an old transaction which needs to recompute all following transactions, it could be done in batch by the GS later. |
{ "$type": "Winbooks.TORM.OM.Logistics.StockTransaction, Winbooks.TORM.OM", "$isShowId": true, "TotalLevel": 2, "Id": "e80c6c24-cd70-48a1-a668-a8a300c3e2fa", "Version": 5, "Modified": "/Date(1521026510000)/", "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Created": "/Date(1521024792000)/", "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70", "DocumentDetail_Id": "700772aa-89a6-4c3e-9e82-a8a300c3e2bc", "Item_Id": "9976a7a9-f27b-4d5d-a414-a8a300c385ad", "JournalLog_Id": "1104bd81-fac3-498d-bdb1-a74d006d9096", "Warehouse_Id": "820f6dae-e603-4f18-9a08-a8a300c3a47a", "StockTransaction_Id": "00000000-0000-0000-0000-000000000000", "ItemBatchSerial_Id": "00000000-0000-0000-0000-000000000000", "Order": 1, "Type": 7, "Date": "/Date(1521028391000)/", "Quantity": 0, "ValueAveragePurchasePrice": 0, "ValueFIFO": 0, "ValueOther": 70, "Cost": 0, "CostOfGoods": 0, "Taxes": 0, "QuantityInStock": 0, "QuantityReserved": 0, "RecomputeNextTransactions": false, "ResultState": 0, "ActionState": 0, "CachedCollection": {}, "IsBinding": false, "IsSpecifiedId": false, "IsDirty": false, "UpdatedEntities": {}, "Custom": {}, "UpdatedProperties": [], "UpdatedValues": [], "DocumentDetail": {...}, "Item": {...}, "JournalLog": {...}, "Warehouse": {...}, "Folder": {...}, "ItemCode": "WHEEL", "JournalLogCode": "ORDER", "WarehouseCode": "A", "Type_UpdatedValues": "[]", "CheckingContinuePath": "Id" }
Example
JournalLog | Type | Warehouse | Date | Quantity | (UP EUR) | QtyStock | ValAverage | (UP Average) | ValFIFO | (UP FIFO) |
---|---|---|---|---|---|---|---|---|---|---|
SUPDLV | Input | A | 01/01/11 | 10 | 10 | 10 | 100 | 10 | 100 | 10 |
CUSDLV | Output | A | 02/01/11 | -3 |
| 7 | 70 | 10 | 70 | 10 |
CUSDLV | Output | A | 03/01/11 | -2 |
| 5 | 50 | 10 | 50 | 10 |
SUPDLV | Input | A | 04/01/11 | 10 | 12 | 15 | 170 | 11,33 | 170 | 11,33 |
CUSDLV | Output | A | 05/01/11 | -3 |
| 12 | 136 | 11,33 | 140 | 11,67 |
CUSDLV | Output | A | 06/01/11 | -3 |
| 9 | 102 | 11,33 | 108 | 12 |
DocumentDetailLink
Property | Type | Foreigner Id | Friendly code property | Comment |
---|---|---|---|---|
ParentDocumentDetail | OM.Logistics.DocumentDetail | ParentDocumentDetail_Id | Id of the previous document detail | |
DocumentDetail | OM.Logistics.DocumentDetail | DocumentDetail_Id | Id of the next document detail (offer → order → delivery → invoice → CN) | |
Type | short | = 0, not used at this time | ||
Quantity | decimal? | Quantity of the transformation. Usually = DocumentDetail.Quantity |
"Details": [ { "$type": "Winbooks.TORM.OM.Logistics.DocumentDetail, Winbooks.TORM.OM", "$isShowId": true, "Id": "ca7e5867-0a84-4235-8c4e-a8a300c86587", ... "Quantity": 2, "NextTotalQuantity": 2, ... "DocumentHeader": {...}, "Row": {...}, "NextDetails": [ { "$type": "Winbooks.TORM.OM.Logistics.DocumentDetailLink, Winbooks.TORM.OM", "TotalLevel": 1, "Version": 1, "Modified": "/Date(1521025795000)/", "ModifiedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Created": "/Date(1521025795000)/", "CreatedBy": "7507ea76-474b-4ccc-80d3-a35b0090b2b6", "Folder_Id": "3a6a9ea1-ce6e-45e7-889a-d8e325a43b70", "ParentDocumentDetail_Id": "ca7e5867-0a84-4235-8c4e-a8a300c86587", "DocumentDetail_Id": "69e65278-b099-4d34-9926-a8a300c87a19", "Type": 0, "Quantity": 2, "Id": "0cead30b-9e49-43b1-aacc-a8a300c87a1c", "ResultState": 0, "ActionState": 0, "CachedCollection": {}, "IsBinding": false, "IsSpecifiedId": false, "IsDirty": false, "UpdatedEntities": {}, "Custom": {}, "UpdatedProperties": [], "UpdatedValues": [], "FolderCode": "JF_TEST_RESTAPI" } ], "StockTransaction": [{...}], "FolderCode": "JF_TEST_RESTAPI", "Type_UpdatedValues": "[]" }, {...} ]