Patch Program - Add Treaty Attributes
PATCH https://{{HOST}}/platform/riskdata/v1/programs/{{program_id}}
Request Body
{"treaties"=>[{"treatyUuid"=>"d46f08b0-5d82-4e05-884c-5b5bb99b4cfc", "treatyName"=>"Treaty 1", "status"=>"New", "termCurrencyCode"=>"USD", "templateCode"=>"Occurrence XoL", "riskStartDate"=>"2023-04-01", "riskEndDate"=>"2024-03-31", "isin"=>"", "totalAmount"=>1.0, "canParticipate"=>true, "signedLine"=>1, "subjects"=>[{"sourceUuid"=>"{{risksource_uuid}}", "subjectOfLossType"=>"RISK_SOURCE", "lossSourceType"=>"PLT", "subjectType"=>"PLT", "perspective"=>"payout", "weight"=>1, "perilIds"=>[], "regions"=>[], "lobIds"=>[], "rmLossSourceType"=>nil}]}, {"treatyUuid"=>"8778ac56-d252-43fb-8666-6e9eefae4e45", "treatyName"=>"Treaty 2", "status"=>"New", "termCurrencyCode"=>"USD", "templateCode"=>"Aggregate XoL", "riskStartDate"=>"2024-01-01", "riskEndDate"=>"2024-12-31", "isin"=>"", "totalAmount"=>1.0, "canParticipate"=>true, "signedLine"=>1, "treatyAttributes"=>{"quote"=>true, "treatyType"=>"CatXL", "inceptionStatus"=>"NotSigned", "occurrenceAttachmentAmount"=>0, "occurrenceFranchise"=>false, "aggregateAttachmentAmount"=>0, "aggregateFranchise"=>false, "share"=>1, "customCdl"=>"", "placement"=>1, "underwriter"=>"", "reinstatements"=>[], "subs"=>[], "layers"=>[], "exclusions"=>[], "clauses"=>[], "aggregateLimitAmount"=>nil, "occurrenceLimitAmount"=>nil}}, {"treatyUuid"=>"57aa3c75-b519-4b8c-aeb3-ab82c5ccf50a", "treatyName"=>"Treaty 3", "status"=>"New", "termCurrencyCode"=>"USD", "templateCode"=>"Quota Share", "riskStartDate"=>"2024-01-01", "riskEndDate"=>"2024-12-31", "isin"=>"", "totalAmount"=>1.0, "canParticipate"=>true, "signedLine"=>1}]}