0
是否有任何步驟/過程來計算給定的odata服務的有效負載? 我現在有一個白名單的OData服務 Process Purchase OrdersOdata服務的有效負載
我無法找出有效載荷將如何看待像。
無論載荷我繼續努力,我總是得到無法解析XML流。
是否有任何步驟/過程來計算給定的odata服務的有效負載? 我現在有一個白名單的OData服務 Process Purchase OrdersOdata服務的有效負載
我無法找出有效載荷將如何看待像。
無論載荷我繼續努力,我總是得到無法解析XML流。
您可以點擊該請求,並看到it.For A_PurchaseOrder
{
"PurchaseOrder": "string",
"CashDiscount1Days": 999,
"CashDiscount2Days": 999,
"NetPaymentDays": 999,
"CashDiscount1Percent": 99.999,
"CashDiscount2Percent": 99.999,
"PurchaseOrderDate": "/Date(1492041600000)/",
"ValidityStartDate": "/Date(1492041600000)/",
"ValidityEndDate": "/Date(1492041600000)/",
"CreationDate": "/Date(1492041600000)/",
"to_PurchaseOrderItem":[{
"PurchaseOrder": "string",
"OrderQuantity": 9999999999.999,
"OrderPriceUnitToOrderUnitNmrtr": 99999,
"OrdPriceUnitToOrderUnitDnmntr": 99999,
"NetPriceAmount": 999999999.999,
"NetPriceQuantity": 99999,
"PurchaseOrderItem": "string",
"OverdelivTolrtdLmtRatioInPct": 99.9,
"UnderdelivTolrtdLmtRatioInPct": 99.9,
"ItemNetWeight": 9999999999.999,
"ItemVolume": 9999999999.999,
"to_AccountAssignment":[{
"PurchaseOrder": "string",
"PurchaseOrderItem": "string",
"AccountAssignmentNumber": "string",
"SettlementReferenceDate": "/Date(1492041600000)/",
"Quantity": 9999999999.999,
"MultipleAcctAssgmtDistrPercent": 99.9,
"PurgDocNetAmount": 99999999999.999
}],
"to_PurchaseOrderPricingElement": [{
"PurchaseOrder": "string",
"ConditionQuantity": 99999,
"ConditionToBaseQtyNmrtr": 9999999999,
"ConditionToBaseQtyDnmntr": 9999999999,
"PurchaseOrderItem": "string",
"PricingDocument": "string",
"FactorForConditionBasisValue": 3.14,
"PricingDocumentItem": "string",
"PricingProcedureStep": "string",
"PricingProcedureCounter": "string"
}],
"to_ScheduleLine":[{
"PurchasingDocument": "string",
"ScheduleLineCommittedQuantity": 9999999999.999,
"PurchasingDocumentItem": "string",
"ScheduleLine": "string",
"ScheduleLineDeliveryDate": "/Date(1492041600000)/",
"ScheduleLineOrderQuantity": 9999999999.999,
"ScheduleLineDeliveryTime": "PT15H51M04S",
"SchedLineStscDeliveryDate": "/Date(1492041600000)/"
}]
}
]
}
試試這個有效載荷。
{
"PurchaseOrder": "0120",
"CashDiscount1Days": 999,
"CashDiscount2Days": 999,
"NetPaymentDays": 999,
"CashDiscount1Percent": 99.999,
"CashDiscount2Percent": 99.999,
"PurchaseOrderDate": "/Date(1492041600000)/",
"ValidityStartDate": "/Date(1492041600000)/",
"ValidityEndDate": "/Date(1492041600000)/",
"CreationDate": "/Date(1492041600000)/",
"to_PurchaseOrderItem":[{
"PurchaseOrder": "0120",
"OrderQuantity": 9999999999.999,
"OrderPriceUnitToOrderUnitNmrtr": 99999,
"OrdPriceUnitToOrderUnitDnmntr": 99999,
"NetPriceAmount": 999999999.999,
"NetPriceQuantity": 99999,
"PurchaseOrderItem": "string",
"OverdelivTolrtdLmtRatioInPct": 99.9,
"UnderdelivTolrtdLmtRatioInPct": 99.9,
"ItemNetWeight": 9999999999.999,
"ItemVolume": 9999999999.999,
"to_AccountAssignment":[],
"to_PurchaseOrderPricingElement": [],
"to_ScheduleLine":[]
}
]
}
我已經試過了。仍然無濟於事。總是發佈的有效載荷生成我一個500個狀態碼,與消息「請求的服務不是由實體支持〜A_PURCHASEORDER」 據我知道我們得到這個錯誤,如果CREATE_ENTITY未實現。但是,由於這是一項白名單服務,它必須明確執行嗎? –
而你的答案其實就是迴應。而不是要求。在回答之前請清楚。 –
@DibyaRanjan我已經編輯我的answer.It應該工作。 –