forked from Yara724/api
dynamic locations
This commit is contained in:
@@ -39,7 +39,7 @@ Common optional properties are `branchId`, `phone`, `mobile`, `email`, `city`, `
|
||||
|
||||
| Role | Additional optional fields |
|
||||
| --- | --- |
|
||||
| Blame, claim and field expert | All four Fanavaran codes below |
|
||||
| Blame, claim and field expert | All four Fanavaran codes below, plus `locations` |
|
||||
| FileMaker | `ThirdPartyClaimExpertId`, `CarBodyClaimExpertId`, `locations` |
|
||||
| FileReviewer | `ThirdPartyExpertiseClaim`, `CarBodyExpertiseClaim`, `locations` |
|
||||
| Call-center agent | None of the four product/stage codes |
|
||||
@@ -53,7 +53,7 @@ Common optional properties are `branchId`, `phone`, `mobile`, `email`, `city`, `
|
||||
|
||||
All four codes are optional, editable and clearable for blame, claim and field experts. FileMaker accounts accept only the first two, FileReviewer accounts accept only the last two, and call-center accounts reject all four through the API. The panel presents these four named fields rather than the legacy generic `expertCode` input; existing `expertCode` values are preserved.
|
||||
|
||||
`locations` is an editable array of `{id, name}`. Both properties must be nonempty, and IDs must be unique within the array. These are Fanavaran location IDs, rather than branch codes. Shared locations participate in the existing FileMaker/FileReviewer matching; management does not alter that matching logic.
|
||||
`locations` is an editable array of `{id, name}`. Both properties must be nonempty, and IDs must be unique within the array. These are Fanavaran OpBUId / HTTP `Location` values, rather than branch codes. On every Fanavaran business call for a claim, the integration prefers the assigned staff member's primary `locations[].id` (file-maker, file-reviewer, field, blame, or damage expert) for all tenants; the tenant auth `location` is only a fallback. Shared locations still participate in Parsian FileMaker/FileReviewer matching; management does not alter that matching logic.
|
||||
|
||||
Branches require `code`, `name`, `city`, `state`, and `address`. `fullName`, `phoneNumber`, `isActive` (default true) and `activityStartDate` are optional and editable. Branch codes remain unique within an insurer. Insurer login accounts support name, email, password and optional contact/address fields; their role and tenant are assigned by the server.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user