{"service":"HALOWERK finopswerk","endpoint":"/v1/obligation-price-recognition-ledger","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"contract_price":{"type":"integer","minimum":0,"maximum":1000000},"discount_scope":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"minItems":1,"maxItems":6,"uniqueItems":true},"obligations":{"type":"array","items":{"type":"object","properties":{"ssp_domain":{"type":"array","items":{"type":"integer","minimum":1,"maximum":1000000},"minItems":1,"maxItems":2},"satisfied_period":{"type":"integer","minimum":1,"maximum":6}},"required":["ssp_domain","satisfied_period"],"additionalProperties":false},"minItems":1,"maxItems":6},"report":{"type":"object","properties":{"allocated_discount":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":6},"allocated_price":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":6},"recognized_by_period":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6},"cumulative_recognized":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6},"remaining_price":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6}},"required":["allocated_discount","allocated_price","recognized_by_period","cumulative_recognized","remaining_price","standalone_total","discount_total","allocated_total","recognized_total","allocation_gap"],"additionalProperties":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"propertyNames":{"enum":["allocated_discount","allocated_price","recognized_by_period","cumulative_recognized","remaining_price","standalone_total","discount_total","allocated_total","recognized_total","allocation_gap"]}}},"required":["contract_price","discount_scope","obligations","report"],"additionalProperties":false},"requestExample":{"contract_price":10,"discount_scope":[0],"obligations":[{"ssp_domain":[15],"satisfied_period":6}],"report":{"allocated_discount":[{"n":"5","d":"1"}],"allocated_price":[{"n":"10","d":"1"}],"recognized_by_period":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"10","d":"1"}],"cumulative_recognized":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"10","d":"1"}],"remaining_price":[{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"0","d":"1"}],"standalone_total":{"n":"15","d":"1"},"discount_total":{"n":"5","d":"1"},"allocated_total":{"n":"10","d":"1"},"recognized_total":{"n":"10","d":"1"},"allocation_gap":{"n":"0","d":"1"}}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"contract_price":{"type":"integer","minimum":0,"maximum":1000000},"discount_scope":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"minItems":1,"maxItems":6,"uniqueItems":true},"obligations":{"type":"array","items":{"type":"object","properties":{"ssp_domain":{"type":"array","items":{"type":"integer","minimum":1,"maximum":1000000},"minItems":1,"maxItems":2},"satisfied_period":{"type":"integer","minimum":1,"maximum":6}},"required":["ssp_domain","satisfied_period"],"additionalProperties":false},"minItems":1,"maxItems":6},"report":{"type":"object","properties":{"allocated_discount":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":6},"allocated_price":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":6},"recognized_by_period":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6},"cumulative_recognized":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6},"remaining_price":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":6,"maxItems":6}},"required":["allocated_discount","allocated_price","recognized_by_period","cumulative_recognized","remaining_price","standalone_total","discount_total","allocated_total","recognized_total","allocation_gap"],"additionalProperties":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"propertyNames":{"enum":["allocated_discount","allocated_price","recognized_by_period","cumulative_recognized","remaining_price","standalone_total","discount_total","allocated_total","recognized_total","allocation_gap"]}}},"required":["contract_price","discount_scope","obligations","report"],"additionalProperties":false},"requestExample":{"contract_price":10,"discount_scope":[0],"obligations":[{"ssp_domain":[15],"satisfied_period":6}],"report":{"allocated_discount":[{"n":"5","d":"1"}],"allocated_price":[{"n":"10","d":"1"}],"recognized_by_period":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"10","d":"1"}],"cumulative_recognized":[{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"0","d":"1"},{"n":"10","d":"1"}],"remaining_price":[{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"10","d":"1"},{"n":"0","d":"1"}],"standalone_total":{"n":"15","d":"1"},"discount_total":{"n":"5","d":"1"},"allocated_total":{"n":"10","d":"1"},"recognized_total":{"n":"10","d":"1"},"allocation_gap":{"n":"0","d":"1"}}}}]}