Table of Contents |
---|
...
Argument/Attribute | Mandatory | Description |
---|---|---|
datasetname | yes | The name of the dataset |
schemafile | yes | The path reference to the dataset schema |
datasetSchemaType | no | An alternative name used to provide the name of the ProDataSet schema generated as properties of the components.schemas object in the generated Swagger document. If not provided, a combination of the Business Entity or Business Task class name and the dataset name is used, in the format <entityname>-<datasetname> . |
The @ParameterSchema annotation is optional.
...
GET http://localhost:8820/web/Entities/GetCustomerAndInvoices/1
POST http://localhost:8820/web/Entities/GetCustomerAndInvoices with a JSON payload like:
Code Block | ||
---|---|---|
| ||
"poParameter": { "Value": 1 }, "dsCustomer": { "eCustomer": [ { "CustNum": 1, "Country": "USA", "Name": "Lift Line Skiing", "Address": "Unter Käster 1", "Address2": null, "City": "Chicago", "State": "MA", "PostalCode": "01730", "Contact": "Gloria Shepley", "Phone": "(617) 450-0086", "SalesRep": "HXM", "CreditLimit": 0, "Balance": 50000, "Terms": "PREPAID ONLY", "Discount": 35, "Comments": "Put on hold: 25.06.2019 07:46:59\ntest", "Fax": "", "EmailAddress": "info@lift-tours.com", "Flags": "C", "SmartRecordKey": "000000001", "SmartAttachments": true, "SmartComments": false, "SmartCopiedFrom": "" } ] }, "dsInvoice": { "eInvoice": [ { "Invoicenum": 6, "CustNum": 1, "InvoiceDate": "2009-02-09", "Amount": 1829.5, "TotalPaid": 1829.5, "Adjustment": 0, "OrderNum": 6, "ShipCharge": 0 }, { "Invoicenum": 79, "CustNum": 1, "InvoiceDate": "2008-11-19", "Amount": 34707.84, "TotalPaid": 34707.84, "Adjustment": 0, "OrderNum": 79, "ShipCharge": 0 }, { "Invoicenum": 146, "CustNum": 1, "InvoiceDate": "2009-02-28", "Amount": 4605.91, "TotalPaid": 0, "Adjustment": 0, "OrderNum": 177, "ShipCharge": 0 } ] } |
...