{"service":"HALOWERK finopswerk","endpoint":"/v1/treasury-share-equity-reissue-ledger","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"opening_shares":{"type":"integer","minimum":0,"maximum":100},"opening_treasury_cost":{"type":"integer","minimum":0,"maximum":1000000},"events":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["kind","quantity","price","fee"],"properties":{"kind":{"type":"integer","minimum":0,"maximum":1},"quantity":{"type":"integer","minimum":1,"maximum":100},"price":{"type":"integer","minimum":1,"maximum":10000},"fee":{"type":"integer","minimum":0,"maximum":10000}}}},"capture_index":{"type":"integer","minimum":0,"maximum":3},"captured_price_domain":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"integer","minimum":1,"maximum":10000}},"report":{"type":"object","minProperties":13,"maxProperties":13,"propertyNames":{"enum":["quantity","treasury_cost","average_cost","cash_delta","cumulative_cash","cost_removed","direct_equity_difference","fee_equity","cumulative_other_equity","treasury_equity","total_equity_change","profit_loss","equity_cash_gap"]},"additionalProperties":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["n","d"],"properties":{"n":{"type":["string","null"],"minLength":1,"maxLength":64},"d":{"type":["string","null"],"minLength":1,"maxLength":64}}}}}},"required":["opening_shares","opening_treasury_cost","events","capture_index","captured_price_domain","report"],"additionalProperties":false},"requestExample":{"opening_shares":3,"opening_treasury_cost":1,"events":[{"kind":1,"quantity":1,"price":1,"fee":0},{"kind":0,"quantity":1,"price":1,"fee":0},{"kind":1,"quantity":1,"price":1,"fee":0},{"kind":1,"quantity":2,"price":1,"fee":0}],"capture_index":0,"captured_price_domain":[1],"report":{"quantity":[{"n":"2","d":"1"},{"n":"3","d":"1"},{"n":"2","d":"1"},{"n":"0","d":"1"}],"treasury_cost":[{"n":"2","d":"3"},{"n":"5","d":"3"},{"n":"10","d":"9"},{"n":"0","d":"1"}],"average_cost":[{"n":"1","d":"3"},{"n":"5","d":"9"},{"n":"5","d":"9"},{"n":"0","d":"1"}],"cash_delta":[{"n":"1","d":"1"},{"n":"-1","d":"1"},{"n":"1","d":"1"},{"n":"2","d":"1"}],"cumulative_cash":[{"n":"1","d":"1"},{"n":"0","d":"1"},{"n":"1","d":"1"},{"n":"3","d":"1"}],"cost_removed":[{"n":"1","d":"3"},{"n":"0","d":"1"},{"n":"5","d":"9"},{"n":"10","d":"9"}],"direct_equity_difference":[{"n":"2","d":"3"},{"n":"0","d":"1"},{"n":"4","d":"9"},{"n":"8","d":"9"}],"fee_equity":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}],"cumulative_other_equity":[{"n":"2","d":"3"},{"n":"2","d":"3"},{"n":"10","d":"9"},{"n":"2","d":"1"}],"treasury_equity":[{"n":"-2","d":"3"},{"n":"-5","d":"3"},{"n":"-10","d":"9"},{"n":"0","d":"1"}],"total_equity_change":[{"n":"1","d":"1"},{"n":"0","d":"1"},{"n":"1","d":"1"},{"n":"3","d":"1"}],"profit_loss":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}],"equity_cash_gap":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}]}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"opening_shares":{"type":"integer","minimum":0,"maximum":100},"opening_treasury_cost":{"type":"integer","minimum":0,"maximum":1000000},"events":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["kind","quantity","price","fee"],"properties":{"kind":{"type":"integer","minimum":0,"maximum":1},"quantity":{"type":"integer","minimum":1,"maximum":100},"price":{"type":"integer","minimum":1,"maximum":10000},"fee":{"type":"integer","minimum":0,"maximum":10000}}}},"capture_index":{"type":"integer","minimum":0,"maximum":3},"captured_price_domain":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"integer","minimum":1,"maximum":10000}},"report":{"type":"object","minProperties":13,"maxProperties":13,"propertyNames":{"enum":["quantity","treasury_cost","average_cost","cash_delta","cumulative_cash","cost_removed","direct_equity_difference","fee_equity","cumulative_other_equity","treasury_equity","total_equity_change","profit_loss","equity_cash_gap"]},"additionalProperties":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["n","d"],"properties":{"n":{"type":["string","null"],"minLength":1,"maxLength":64},"d":{"type":["string","null"],"minLength":1,"maxLength":64}}}}}},"required":["opening_shares","opening_treasury_cost","events","capture_index","captured_price_domain","report"],"additionalProperties":false},"requestExample":{"opening_shares":3,"opening_treasury_cost":1,"events":[{"kind":1,"quantity":1,"price":1,"fee":0},{"kind":0,"quantity":1,"price":1,"fee":0},{"kind":1,"quantity":1,"price":1,"fee":0},{"kind":1,"quantity":2,"price":1,"fee":0}],"capture_index":0,"captured_price_domain":[1],"report":{"quantity":[{"n":"2","d":"1"},{"n":"3","d":"1"},{"n":"2","d":"1"},{"n":"0","d":"1"}],"treasury_cost":[{"n":"2","d":"3"},{"n":"5","d":"3"},{"n":"10","d":"9"},{"n":"0","d":"1"}],"average_cost":[{"n":"1","d":"3"},{"n":"5","d":"9"},{"n":"5","d":"9"},{"n":"0","d":"1"}],"cash_delta":[{"n":"1","d":"1"},{"n":"-1","d":"1"},{"n":"1","d":"1"},{"n":"2","d":"1"}],"cumulative_cash":[{"n":"1","d":"1"},{"n":"0","d":"1"},{"n":"1","d":"1"},{"n":"3","d":"1"}],"cost_removed":[{"n":"1","d":"3"},{"n":"0","d":"1"},{"n":"5","d":"9"},{"n":"10","d":"9"}],"direct_equity_difference":[{"n":"2","d":"3"},{"n":"0","d":"1"},{"n":"4","d":"9"},{"n":"8","d":"9"}],"fee_equity":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}],"cumulative_other_equity":[{"n":"2","d":"3"},{"n":"2","d":"3"},{"n":"10","d":"9"},{"n":"2","d":"1"}],"treasury_equity":[{"n":"-2","d":"3"},{"n":"-5","d":"3"},{"n":"-10","d":"9"},{"n":"0","d":"1"}],"total_equity_change":[{"n":"1","d":"1"},{"n":"0","d":"1"},{"n":"1","d":"1"},{"n":"3","d":"1"}],"profit_loss":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}],"equity_cash_gap":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"}]}}}]}