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 one order line REST API not working for ATO Model

Received Response
22
Views
5
Comments

Hi,

Can someone help to get sample payload to create order line for ATO Model. I tried below jason format, but its not working.

{

                "SourceTransactionLineId": "1",

                "SourceTransactionLineNumber": "1",

                "SourceScheduleNumber": "1",

                "SourceTransactionScheduleId": "1",

                "OrderedUOMCode": "zzu",

                "OrderedQuantity": 1,

                "ProductNumber": "Test ATO Model",

                "FOBPoint": "Destination",

                "FreightTerms": "Add freight",

                "PaymentTerms": "30 Net",

                "ShipmentPriority": "High",

                        },

        {

                "SourceTransactionLineId": "2",

                "SourceTransactionLineNumber": "2",

                "SourceScheduleNumber": "1",

                "SourceTransactionScheduleId": "1",

                "OrderedUOMCode": "zzu",

                "OrderedQuantity": 1,

                "ProductNumber": "Item1",

                "FOBPoint": "Destination",

                "FreightTerms": "Add freight",

                "PaymentTerms": "30 Net",

                "ShipmentPriority": "High",

                                "ParentSourceTransactionLineId": "1"

        }

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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