Discussions
Creating a Party with their own Address
over 1 year ago by Nicholas Khirfan
Hello,
Have been trying to create a party with their own address and only partial values like phone, email, and notes decide to stick (none of the city/state/address lines)
Below are the attempted payloads, worth noting that the response from the secondary "Update" attempt SHOWS the attempted address, so we know iMIS is both receiving and attempting to process the address at some level...
Process: Create Party API (address doesn't stick) -> Update Party API (address returns but doesn't stick) -> Update address via staff site (only thing to make it stick)
Payloads:
{
"$type": "Asi.Soa.Membership.DataContracts.ComboPartyData, Asi.Contracts",
"OrganizationName": "Kelly's Test Company",
"PersonName": {
"$type": "Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts",
"FirstName": "Test",
"InformalName": "Test",
"LastName": "Bun",
"FullName": "Test Bun"
},
"PrimaryOrganization": {
"$type": "Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts",
"OrganizationPartyId": "602645",
"Name": "Kelly's Test Company"
},
"Name": "Kelly's Test Company",
"SortIsOverridden": true,
"Sort": "Kelly's Test Company",
"AdditionalAttributes": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": []
},
"Addresses": {
"$type": "Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts",
"AdditionalLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": []
},
"Address": {
"$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts",
"AddressLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": [
"P.O. Box 4564"
]
},
"CityName": "Newark",
"CountryCode": "US",
"CountryName": "United States",
"CountrySubEntityCode": "NJ",
"CountrySubEntityName": "New Jersey",
"FullAddress": "P.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"PostalCode": "07107-2564",
"VerificationStatus": 0
},
"AddresseeText": "Prodigy Makers International\r\nP.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"AddressPurpose": "Main Address",
"CommunicationPreferences": {
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "default"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "mail"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "bill"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "ship"
}
]
},
"Email": "[email protected]",
"Fax": "(201) 898-4255",
"Note": "P.S.I. Code 9450",
"Phone": "(201) 898-9000",
"Salutation": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts",
"SalutationMethod": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationMethodSummaryData, Asi.Contracts",
"PartySalutationMethodId": "main"
},
"Text": "Prodigy Makers International"
},
"DisplayName": "Doug",
"DisplayOrganizationTitle": "President",
"DisplayOrganizationName": "Prodigy Makers International"
}
]
},
"AlternateIds": {
"$type": "Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts",
"$values": []
},
"Emails": {
"$type": "Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
"Address": "[email protected]",
"EmailType": "Address"
}
]
},
"FinancialInformation": {
"$type": "Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts",
"GiftAidInformation": {
"$type": "Asi.Soa.Membership.DataContracts.GiftAidDeclarationDataCollection, Asi.Contracts",
"$values": []
}
},
"Phones": {
"$type": "Asi.Soa.Membership.DataContracts.PhoneDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "1234567890",
"PhoneType": "Work"
}
]
},
"Salutations": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationDataCollection, Asi.Contracts",
"$values": []
},
"SocialNetworks": {
"$type": "Asi.Soa.Membership.DataContracts.PartySocialNetworkDataCollection, Asi.Contracts",
"$values": []
},
"CommunicationTypePreferences": {
"$type": "Asi.Soa.Membership.DataContracts.PartyCommunicationTypePreferenceDataCollection, Asi.Contracts",
"$values": []
},
"UpdateInformation": {
"$type": "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts",
"CreatedBy": "SSOADMIN",
"CreatedOn": "2023-05-15T09:30:17.9011061-04:00",
"UpdatedBy": "SSOADMIN",
"UpdatedOn": "2023-05-15T09:30:17.902106-04:00"
},
"Status": {
"$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
"PartyStatusId": "A",
"Name": "Active",
"Description": "Active"
}
}
{
"$type": "Asi.Soa.Membership.DataContracts.ComboPartyData, Asi.Contracts",
"OrganizationName": "Kelly's Test Company",
"PersonName": {
"$type": "Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts",
"FirstName": "Test",
"InformalName": "Test",
"LastName": "Bun",
"FullName": "Test Bun"
},
"PrimaryOrganization": {
"$type": "Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts",
"OrganizationPartyId": "602645",
"Name": "Kelly's Test Company"
},
"Name": "Kelly's Test Company",
"SortIsOverridden": true,
"Sort": "bun, test",
"AdditionalAttributes": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "CustomerTypeDescription",
"Value": "IN-NonMember"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsMemberRecord",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "CustomerTypeCode",
"Value": "IN"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsMember",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsInactiveMember",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AllowAdvanceRenewal",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "JoinDate",
"Value": "0001-01-01T00:00:00"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "ParentPartyId",
"Value": "602645"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "PaidThruDate",
"Value": "0001-01-01T00:00:00"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "RenewedThruDate",
"Value": "0001-01-01T00:00:00"
}
]
},
"Addresses": {
"$type": "Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts",
"AdditionalLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": []
},
"Address": {
"$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts",
"AddressLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": [
"P.O. Box 4564"
]
},
"AddressId": "777725",
"CityName": "Newark",
"CountryCode": "US",
"CountryName": "United States",
"CountrySubEntityCode": "NJ",
"CountrySubEntityName": "New Jersey",
"FullAddress": "P.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"PostalCode": "07107-2564"
},
"AddresseeText": "Prodigy Makers International\r\nP.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"AddressPurpose": "Main Address",
"CommunicationPreferences": {
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "default"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "mail"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "bill"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "ship"
}
]
},
"Email": "[email protected]",
"Fax": "(201) 898-4255",
"FullAddressId": "777725",
"Note": "P.S.I. Code 9450",
"Phone": "44 1453 826 661",
"Salutation": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts",
"SalutationMethod": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationMethodSummaryData, Asi.Contracts",
"PartySalutationMethodId": "main"
},
"Text": "Kelly's Test Company"
},
"DisplayName": "Doug",
"DisplayOrganizationTitle": "President",
"DisplayOrganizationName": "Prodigy Makers International"
}
]
},
"AlternateIds": {
"$type": "Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.AlternateIdData, Asi.Contracts",
"Id": "602737",
"IdType": "Id"
}
]
},
"Emails": {
"$type": "Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
"Address": "[email protected]",
"EmailType": "_Primary",
"IsPrimary": true
},
{
"$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
"Address": "[email protected]",
"EmailType": "Main Address"
}
]
},
"FinancialInformation": {
"$type": "Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts"
},
"Phones": {
"$type": "Asi.Soa.Membership.DataContracts.PhoneDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "44 1453 826 661",
"PhoneType": "_Work Phone"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "(201) 898-4255",
"PhoneType": "_Fax"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "44 1453 826 661",
"PhoneType": "Main Address"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "(201) 898-4255",
"PhoneType": "Main Address Fax"
}
]
},
"Salutations": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationDataCollection, Asi.Contracts",
"$values": []
},
"SocialNetworks": {
"$type": "Asi.Soa.Membership.DataContracts.PartySocialNetworkDataCollection, Asi.Contracts",
"$values": []
},
"CommunicationTypePreferences": {
"$type": "Asi.Soa.Membership.DataContracts.PartyCommunicationTypePreferenceDataCollection, Asi.Contracts",
"$values": []
},
"UpdateInformation": {
"$type": "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts",
"CreatedBy": "SSOADMIN",
"CreatedOn": "2023-05-15T00:00:00",
"UpdatedBy": "SSOADMIN",
"UpdatedOn": "2023-05-15T09:45:39.26"
},
"PartyId": "602737",
"Id": "602737",
"UniformId": "cfc9ba53-98cf-4eb4-ac3f-b4593c77e7f0",
"Status": {
"$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
"PartyStatusId": "A",
"Name": "Active",
"Description": "Active"
}
}
{
"$type": "Asi.Soa.Membership.DataContracts.ComboPartyData, Asi.Contracts",
"OrganizationName": "Kelly's Test Company",
"PersonName": {
"$type": "Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts",
"FirstName": "Test",
"InformalName": "Test",
"LastName": "Bun",
"FullName": "Test Bun"
},
"PrimaryOrganization": {
"$type": "Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts",
"OrganizationPartyId": "602645",
"Name": "Kelly's Test Company"
},
"Name": "Kelly's Test Company",
"SortIsOverridden": true,
"Sort": "bun, test",
"AdditionalAttributes": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "CustomerTypeDescription",
"Value": "IN-NonMember"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsMemberRecord",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "CustomerTypeCode",
"Value": "IN"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsMember",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "IsInactiveMember",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AllowAdvanceRenewal",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "JoinDate",
"Value": "0001-01-01T00:00:00"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "ParentPartyId",
"Value": "602645"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "PaidThruDate",
"Value": "0001-01-01T00:00:00"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "RenewedThruDate",
"Value": "0001-01-01T00:00:00"
}
]
},
"Addresses": {
"$type": "Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts",
"AdditionalLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": []
},
"Address": {
"$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts",
"AddressId": "777725",
"AddressLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": [
"P.O. Box 4564"
]
},
"CityName": "Newark",
"CountryCode": "US",
"CountryName": "United States",
"CountrySubEntityCode": "NJ",
"CountrySubEntityName": "New Jersey",
"FullAddress": "P.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"PostalCode": "07107-2564"
},
"AddresseeText": "Prodigy Makers International\r\nP.O. Box 4564\rNewark, NJ 07107-2564\rUNITED STATES",
"AddressPurpose": "Main Address",
"CommunicationPreferences": {
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "default"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "mail"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "bill"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "ship"
}
]
},
"Email": "[email protected]",
"Fax": "(201) 898-4255",
"FullAddressId": "777725",
"Note": "P.S.I. Code 9450",
"Phone": "44 1453 826 661",
"Salutation": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts",
"SalutationMethod": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationMethodSummaryData, Asi.Contracts",
"PartySalutationMethodId": "main"
},
"Text": "Kelly's Test Company"
},
"DisplayName": "Doug",
"DisplayOrganizationTitle": "President",
"DisplayOrganizationName": "Prodigy Makers International"
}
]
},
"AlternateIds": {
"$type": "Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.AlternateIdData, Asi.Contracts",
"Id": "602737",
"IdType": "Id"
}
]
},
"Emails": {
"$type": "Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
"Address": "[email protected]",
"EmailType": "_Primary",
"IsPrimary": true
},
{
"$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
"Address": "[email protected]",
"EmailType": "Main Address"
}
]
},
"FinancialInformation": {
"$type": "Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts",
"GiftAidInformation": {
"$type": "Asi.Soa.Membership.DataContracts.GiftAidDeclarationDataCollection, Asi.Contracts",
"$values": []
}
},
"Phones": {
"$type": "Asi.Soa.Membership.DataContracts.PhoneDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "44 1453 826 661",
"PhoneType": "_Work Phone"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "(201) 898-4255",
"PhoneType": "_Fax"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "44 1453 826 661",
"PhoneType": "Main Address"
},
{
"$type": "Asi.Soa.Membership.DataContracts.PhoneData, Asi.Contracts",
"Number": "(201) 898-4255",
"PhoneType": "Main Address Fax"
}
]
},
"Salutations": {
"$type": "Asi.Soa.Membership.DataContracts.PartySalutationDataCollection, Asi.Contracts",
"$values": []
},
"SocialNetworks": {
"$type": "Asi.Soa.Membership.DataContracts.PartySocialNetworkDataCollection, Asi.Contracts",
"$values": []
},
"CommunicationTypePreferences": {
"$type": "Asi.Soa.Membership.DataContracts.PartyCommunicationTypePreferenceDataCollection, Asi.Contracts",
"$values": []
},
"UpdateInformation": {
"$type": "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts",
"CreatedBy": "SSOADMIN",
"CreatedOn": "2023-05-15T00:00:00",
"UpdatedBy": "SSOADMIN",
"UpdatedOn": "2023-05-15T09:45:39.26"
},
"PartyId": "602737",
"Id": "602737",
"UniformId": "cfc9ba53-98cf-4eb4-ac3f-b4593c77e7f0",
"Status": {
"$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
"PartyStatusId": "A",
"Name": "Active",
"Description": "Active"
}
}
So my question is what all am I missing in order to get the address to stick and show under their profile as well as fully commit to the Name_Address table?
Thanks,
Nick