Topics on this page

BriteClaims event:`bc.claims.claim_party_relation_added`

BriteClaims emits events using BriteEvents in response to changes that occurred to claims in the system.

Event name

bc.claims.claim_party_relation_added

Description

This event emits when a new party is added to the claim.

Example payload

View code
{
   'party_assignment':{
      'party':{
         'id':'fe2df876-f218-4c42-9ff8-039291fee65f',
         'contact':{
            'id':'7acc9325-a1d1-4787-9a0c-1d5150551321',
            'name':'Test Agency',
            'type':'organization',
            'dob':None,
            'gender':None,
            'dba':None,
            'ssn':None,
            'fein_tax':None,
            'position':None,
            'is_approved_vendor':False,
            'addresses':[
               {
                  'id':'f48ce9aa-489c-4b7c-9ba0-392fbd4ec73b',
                  'type':'Mailing/Billing',
                  'line1':'123 Main',
                  'line2':'',
                  'city':'Boston',
                  'state':'MA',
                  'zip':'02111',
                  'county':'Suffolk',
                  'country':'USA',
                  'full_address':''
               }
            ],
            'phones':[
               
            ],
            'emails':[
               {
                  'id':'3976d04c-aabd-4054-bdbb-c6f33340aa0f',
                  'type':'',
                  'email':'test@agency.com'
               }
            ]
         },
         'contact_id':'7acc9325-a1d1-4787-9a0c-1d5150551321',
         'display_number':None,
         'fields':{
            
         },
         'injury':None,
         'injury_id':None,
         'is_involved':False,
         'number':None,
         'party_type':{
            'type':'party-type',
            'id':'54b5d466-8eaa-48e8-9c32-1161bd60c0c8'
         },
         'policy_contact':False,
         'preferred_address':{
            'id':'f48ce9aa-489c-4b7c-9ba0-392fbd4ec73b',
            'type':'Mailing/Billing',
            'line1':'123 Main',
            'line2':'',
            'city':'Boston',
            'state':'MA',
            'zip':'02111',
            'county':'Suffolk',
            'country':'USA',
            'full_address':''
         },
         'preferred_phone':None,
         'preferred_email':{
            'id':'3976d04c-aabd-4054-bdbb-c6f33340aa0f',
            'type':'',
            'email':'test@agency.com'
         },
         'preferred_phone_id':None,
         'preferred_email_id':'3976d04c-aabd-4054-bdbb-c6f33340aa0f',
         'preferred_address_id':'f48ce9aa-489c-4b7c-9ba0-392fbd4ec73b',
         'refused_to_provide_dob':False,
         'refused_to_provide_ssn':False,
         'refused_to_provide_gender':False,
         'related_party_roles':[
            
         ],
         'related_parties':[
            
         ],
         'risk_roles':[
            
         ],
         'roles':[
            {
               'type':'claim-party-role',
               'id':'0dbdb2cb-23b4-4456-a68d-1b686fbf96a0'
            }
         ],
         'related_roles':[
            {
               'type':'claim-party',
               'id':'7a49ba3c-3325-4e3b-8b3b-0443c05543ea'
            }
         ]
      },
      'role':{
         'id':'0dbdb2cb-23b4-4456-a68d-1b686fbf96a0',
         'name':'agency',
         'label':'Agency',
         'can_have_injury':False,
         'system_only':True,
         'single_party':True,
         'enable_add_party':True,
         'metadata':{
            'pages':'all',
            'first_page':'search'
         },
         'deletable':False,
         'party_types':[
            {
               'type':'party-type',
               'id':'54b5d466-8eaa-48e8-9c32-1161bd60c0c8'
            }
         ]
      }
   },
   'claim':{
      'id':'5aab537d-382a-4f65-ae0b-5f62da6cb23a',
      'number':'40-2021-01'
   },
   'user':{
      'id':'test@test.com',
      'email':'test@test.com'
   }
}