Skip to main content

Ingest Customer, Contact, and Concern: Case Creation and Update Guidelines

Ingest Customer

Field Sent as EmptyCreate CaseUpdate Case
customerTypeThe value is determined by verifying the type of customer based on the trading name or a combination of trading name and identifier value.The value present in the database is retained.
customerGroupTypeSet to null.Made null.
customerExternalSystemIdentifierCannot be null (as per Swagger validation). A default SCV customerExternalSystemIdentifier is created.The values present in the database are retained. For instance, if the database contains three external identifiers—A, B, and C—and the update request includes updates for A and B, along with a new identifier D, then C remains untouched, while A and B are updated, and D is created.
customerStatusSet to Active by default.The value present in the database is retained.
urlSet to null.Set to null.
communicationNumberSet as empty.Set as empty (if any value exists in the database, it will be deleted).
invoiceISOLanguageCodePreferenceThe default language for the country is fetched and set.The value present in the database is retained.
customerAddressCannot be empty.If any subfield within the customer address is empty, that value will be deleted from the database.
customerIdentifiersNo action taken.The values present in the database are retained. For example, if the database has three identifiers—A, B, and C—and the update request includes updates for A and B, along with a new identifier D, then C remains untouched, while A and B are updated, and D is created.
customerWebBillLadingsWebBills are created for default brands.The value present in the database is retained.
customerBrandsNo action taken.The value present in the database is retained.
isSoleProprietorif not passed, considered as false by default.If not passed in payload, then it will be considered as false value.

INGEST CONTACT

Field Sent as NullCreate CaseUpdate Case
isTeamContactDefaults to false.The value in the database is retained.
isMasterContactChanges to true if the customer does not already have a master contact (a primary email is mandatory for all contacts).The value in the database is retained.
roleSet to CUST_CONT.The value in the database is retained.
statusCodeSet to A.The value in the database is retained.
isoLanguageCodePreferenceRemains null (support for the default language based on the country is needed).Deleted (needs to be updated).
communicationNumbersRemains null.Existing numbers are deleted if not provided in the payload.
contactBrandsRemains null.The value in the database is retained unless the isDeletedFlag is set to true.
contactTypesRemains null.The value in the database is retained unless the isDeletedFlag is set to true.
documentPreferencesNot applicable for the create scenario.The value in the database is retained unless the isDeletedFlag is set to true.

Ingest Concern

Here’s a refined table template that enhances clarity and organization:

Ingest Customer

FieldCreate CaseUpdate Case
customerTypeThe value is determined by verifying the type of customer based on the trading name or a combination of trading name and identifier value.The value present in the database is retained.
customerGroupTypeSet to null.Made null.
customerExternalSystemIdentifierCannot be null (as per Swagger validation). A default SCV customerExternalSystemIdentifier is created.The values present in the database are retained. For instance, if the database contains three external identifiers—A, B, and C—and the update request includes updates for A and B, along with a new identifier D, then C remains untouched, while A and B are updated, and D is created.
customerStatusSet to Active by default.The value present in the database is retained.
urlSet to null.Set to null.
communicationNumberSet as empty.Set as empty (if any value exists in the database, it will be deleted).
invoiceISOLanguageCodePreferenceThe default language for the country is fetched and set.The value present in the database is retained.
customerAddressCannot be empty.If any subfield within the customer address is empty, that value will be deleted from the database.
customerIdentifiersNo action taken.The values present in the database are retained. For example, if the database has three identifiers—A, B, and C—and the update request includes updates for A and B, along with a new identifier D, then C remains untouched, while A and B are updated, and D is created.
customerWebBillLadingsWebBills are created for default brands.The value present in the database is retained.
customerBrandsNo action taken.The value present in the database is retained.

Ingest Contact

FieldCreate CaseUpdate Case
isTeamContactDefaults to false.The value in the database is retained.
isMasterContactChanges to true if the customer does not already have a master contact (a primary email is mandatory for all contacts).The value in the database is retained.
roleSet to CUST_CONT.The value in the database is retained.
statusCodeSet to A.The value in the database is retained.
isoLanguageCodePreferenceRemains null (support for the default language based on the country is needed).Deleted (needs to be updated).
communicationNumbersRemains null.Existing numbers are deleted if not provided in the payload.
contactBrandsRemains null.The value in the database is retained unless the isDeletedFlag is set to true.
contactTypesRemains null.The value in the database is retained unless the isDeletedFlag is set to true.
documentPreferencesNot applicable for the create scenario.The value in the database is retained unless the isDeletedFlag is set to true.

Ingest Concern

FieldCreate ScenarioUpdate Scenario
ConcernNameCannot be null or empty; an error is thrown.Cannot be null or empty; an error is thrown.
isoLanguageCodePreferenceRemains null.The value in the database will be retained.
isConcernActiveCannot be null or empty; an error is thrown.Cannot be null or empty; an error is thrown.
customerRelationshipsThe IS_CONCRN relationship is mandatory; hence, it cannot be null or empty; an error is thrown.Remains null. No updates are made to relationships.
concernAuditDataCannot be null or empty; an error is thrown.Cannot be null or empty; an error is thrown.
Was this page helpful?