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应该工作。 –