Creates trades or adds lines to existing documents.
Use this method if you want to сreate trades or add trade lines to existing documents. Id of a new object can be omitted. Permissions: All users.
Query Parameters
- Type: stringapi
-version
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body
Mandatory 'body' parameter, used to describe objects.
- Type:Properties: 9
Responses
Request Example for post/Trades
curl /Trades \ --request POST \ --header 'Content-Type: application/json-patch+json' \ --header 'DCKey: YOUR_SECRET_TOKEN' \ --data '[ { "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD", "TradeNumber": null, "TradeDate": "2019-01-03", "TradingStore": {{ "Data": [ { "ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD", "TradeNumber": null, "TradeDate": "2019-01-03", "Type": null, "TradingStore": { "ID": null, "Description": null,