Loading
Verzekering
InsClaimItemService:getPartyContacts

InsClaimItemService:getPartyContacts

Gebruik deze service voor een lijst van alle contactgegevens van alle betrokken partijen bij een opgegeven claim.

Klasse: InsClaimItemService

Methode: getPartyContacts

De manier waarop het werkt...

  1. Neemt de claimId en haalt de claimrecord op.

  2. Retourneert een lijst van alle contactgegevens van alle betrokken partijen bij deze claim.

Externe opties

Optie

Beschrijving

claimId

Verplicht.

De ID van de claim waarvoor deze service contactpersoonsgegevens van betrokken partijen krijgt.

Invoer-JSON

Deze service gebruikt geen invoer-JSON.

Uitvoer-JSON

De service retourneert een lijst met contactgegevens in JSON-indeling voor alle betrokken partijen voor de opgegeven claim.

"partyContacts": [
    {
      "Address": {
        "city": "San Francisco",
        "country": USA,
        "geocodeAccuracy": null,
        "latitude": null,
        "longitude": null,
        "postalCode": "94103",
        "state": "CA",
        "street": "50 Fremont"
      },
      "Phone": "555 123 4567",
      "Email": marysue@mailinator.com,
      "Name": "Mary Sue Smith",
      "RelationshipType": "Payee",
      "Id": "a461U00000064BEQAY"
    },
    {
      "Address": null,
      "Phone": 555 765 1212,
      "Email": john.doe@mailinator.com,
      "Name": "John Doe",
      "RelationshipType": "Witness",
      "Id": "a461U00000065RWQAY"
    },
    {
      "Address": {
        "city": "Mountain View",
        "country": USA,
        "geocodeAccuracy": null,
        "latitude": null,
        "longitude": null,
        "postalCode": 94043,
        "state": "CA",
        "street": 1000 Castro St
      },
      "Phone": "123 456 7890",
      "Email": "joansmith42@mailinator.com",
      "Name": "Joan Smith",
      "RelationshipType": "Payee",
      "Id": "a461U0000005xS0QAI"
    }
  ],    
 
Wordt geladen
Salesforce Help | Article