Discussions
How to generate renewal for cash based subscriptions in the API
Our client wants to update cash-based subscriptions with a new bill begin date, bill through date, and amount. This works fine so long as the subscription never had a payment against it, but if it did have a payment, then the payment sticks and the balance due doesn't reset to the billed amount. When we generate the renewal in iMIS the payment is erased; the payment amount is erased, the payment date is erased, the paid through is erased, etc. So how can we execute that holistic operation using the API?
Posted by Max over 1 year ago
Does iMIS have a self-service portal module?
Does iMIS have a self-service portal module where users can change their personal details by themselves. We are looking for something like a self-service portal, we would like to include a link to this portal in email communications so that people who receive the email can click on the link and update their personal details. Any tips, suggestion highly appreciated.
Posted by George over 1 year ago
Form Builder
Hi,
Are there API endpoints for creating/interacting with Form Builder forms? <https://help.imis.com/enterprise/features/rise/form_builder/forms.htm>
Thanks.
Posted by Lee over 1 year ago
REST API Party list by PrimaryOrganization.OrganizationPartyId
How would I get a party list by PrimaryOrganization.OrganizationPartyId via the REST API?
Thanks!
Posted by Glenn Gordon over 1 year ago
Angular iMIS API and Dependancy problems
(I posted this question as a followup to an older post but not sure if it was seen)
I'm wanting to use the iMIS API in an existing Angular iPart and referring to <https://developer.imis.com/docs/developing-a-client-based-ipart>.
npm install @advsol/core doesn't play well with my app versions, currently at angular 16.
To get around this, I tried npm install @advsol/core --legacy-peer-deps
This at least installed w/o errors and warnings,
"dependencies": {
"@advsol/core": "^0.0.11",
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"jest-editor-support": "\*",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.0.2"
}
however, attempting to build the app gives the following:
node_modules/@advsol/core/lib/asi-core.module.d.ts:1:22
1> 1 export declare class AsiCoreModule {
1> ~
1> This likely means that the library (@advsol/core) which declares AsiCoreModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
What do I need to use the ASI package?
Thanks!
Posted by Glenn Gordon over 1 year ago
REST API - adding ExpirationDate to Relationship - POST to /GroupMember
Hi - I'm trying to add an expiration to a relationship. So I'm doing GET /api/GroupMember?EntityId=RELATIONSHIP-473180:477346
```json
{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberData, Asi.Contracts",
"MembershipDetails": {
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailData, Asi.Contracts",
"GroupMemberDetailId": "RELATIONSHIP-473180:477346:95478",
"IsActive": true
...
}
]
},
"GroupMemberId": "RELATIONSHIP-473180:477346",
...
},
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
...
},
"IsActive": true
}
```
Then I add the expiration date and PUT to the same endpoint:
```json
{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberData, Asi.Contracts",
"MembershipDetails": {
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailData, Asi.Contracts",
"GroupMemberDetailId": "RELATIONSHIP-473180:477346:95478",
"ExpirationDate": "2023-05-31T00:00:00",
"IsActive": true
...
}
]
},
"GroupMemberId": "RELATIONSHIP-473180:477346",
...
},
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
...
},
"IsActive": true
}
```
Then the response to the POST does show the expiration date, but when I GET the same entity again, the expiration date is missing.
Can you let me know what the requirements are to add an expiration date to a relationship so it sticks? Thanks
Posted by Max over 1 year ago
Secret switch to make 1.0.1 REST API return normal JSON
I remember one of the ASI developers telling us about a header you could include when making a request of the .../IQA endpoint which would cause it to return the output in "normal" JSON format. Much like the difference in output between the .../IQA and .../Query endpoints in 20.3, discussed at <https://developer.imis.com/docs/migrating-from-iqa-to-query-service-endpoint>.
I've scoured my notes and this site, and can't find it anymore. Does anyone recall?
Desired output snippet:
```
{
"$type": "System.Dynamic.ExpandoObject, System.Core",
"Name": "Aaron Ketterling",
"PrimaryOrganizationName": "Bureau of Meteorology - South Australia",
"Title": ""
}
```
Default output snippet:
```
{
"$type": "Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts",
"EntityTypeName": "59",
"Properties": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "ResultRow",
"Value": "6"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Name",
"Value": "Aaron Ketterling"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "PrimaryOrganizationName",
"Value": "Bureau of Meteorology - South Australia"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Title",
"Value": ""
}
]
}
}
```
Posted by Bruce Wilson over 1 year ago
Transferring a Relationship
Hello everyone,
I am aware that through the GroupMember endpoint, relationships can be added and edited; however, it does not seem that a relationship can be moved from one group to another. I attempted to do this by changing the Parent Identity Element while leaving the GroupMemberDetailIds in place since this is the key-value pair that lets the system know that the POST is an update rather than a new creation; however, I was not successful. Ultimately, what I am attempting to accomplish is an update to the ID field in the Relationship table. I want to maintain all of the metadata related to the table row. I do not want to delete and add a new relationship. Looking forward to hearing if this is possible.
Thanks,
Korey
Posted by Korey Dickens over 1 year ago
Creating a Party with their own Address
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:
```json PartyAPI_Create_POST
{
"$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"
}
}
```
```json PartyAPI_Update_PUT
{
"$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"
}
}
```
```json PartyAPI_Update_RESPONSE
{
"$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
Posted by Nicholas Khirfan over 1 year ago
Updating a record in a user-defined multi-instance table via PUT request.
Hello,
While doing some testing, I noticed that I can make PUT requests with the different endpoint syntaxes, and it works fine:
1. "/api/table_name/ordinal"
2. "/api/table_name/~ordinal"
3. "/api/table_name/~id|ordinal"
My question is if these syntaxes can be used interchangeably or not.
iMIS version20.3.149.235
Thanks.
Posted by SergiiM over 1 year ago