You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Create Internal Requisition using REST API or Webservice

edited Jun 15, 2021 3:04PM in Self Service Procurement 3 comments

Summary

We are trying to create an Internal Requisition using REST API but getting an error

Content

We are trying to create Internal Requisition using - fscmRestApi/resources/11.13.18.05/purchaseRequisitions

Request Payload -

{

    "RequisitioningBUId": ,
    "PreparerId": ,
    "ExternallyManagedFlag"false,
    "Description""POST-ing a Requisition Header from REST",
    "ApprovedById""",
    "InterfaceSourceCode""TestSS2",
    "lines": [
        {
            "LineNumber"1,
            "LineTypeId"1,
            "Item""21002739",
            "Quantity"1,
            "UOMCode""PCS",
            "CurrencyCode""EUR",
            "DestinationOrganizationCode""BTD",
            "DeliverToLocationCode""FTN - RAFFAELE MALAFRONTE (BTD)",
            "DestinationTypeCode""INVENTORY",
            "RequestedDeliveryDate""2021-06-15",
            "SourceType""Inventory",
            "SourceOrganization""Field force"
        }
    ]
}
Error -
Attribute SourceType in view object PurchaseRequisitionHeaderEO_PurchaseRequisitionLine_PurchaseRequisitionHeaderVOToPurchaseRequisitionLineVO_PurchaseRequisitionLineVO cannot be set.
 
Is there any other service that can be used to do the same?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!