Changes

Jump to: navigation, search

Creating SmartConnect Functions

1,253 bytes added, 20:35, 14 May 2019
no edit summary
* <span style="color: #ff0000;">Available after May 2019 upgrade.</span>
Consumer/Provider Relationship should be [[Configuring_UTA_Provider/Receiver_(Consumer)_Relationships | configured]] before using this API function. UTA Provider/Consumer Relationships allows for the sharing of data between different [[UTA|UTAs]].
 
'''Notes'''
1. For May 2019 upgrade, add/update function will not support custom fields of the relationship.
2. Update function is only used to update role between consumer/provider. When roleid/rolename is updated, all custom fields of the relationship from the previous role will be deleted.
3. List function supports standard fields and custom fields of the relationship.
4. TO change consumerid or providerid, the record should be delete and a new consumer/provider record should be added.
====List Consumer/Provider Records====
'''Action Type '''  - List Provider / Consumer Link<br />
'''Provider/Consumer Link '''  - Meeting Manager - L1 to Submission Manager - L1<br />
'''Field List''' - <br />
<u>'''Sample 1A'''</u><br/>
'''Action Type '''  - Update Provider/ Consumer Link<br />
'''Provider/Consumer Link '''  - Meeting Manager - L1 to Submission Manager - L1<br />
'''Field List''' - <br />
'''Mandatory fields''' to add a new transaction record:<br/>
providerid -  [[Determining_the_applicationid|Application ID]] of the provider UTA<br/>consumerid -  [[Determining_the_applicationid|Application ID]] of the consumer UTA <br/>roleid/rolename -  Connection roleid/rolename between consumer/provider <br/>associationid - Unique identifier for the consumer/provider relationship table<br/> 
<u>'''Sample 2A'''</u><br/>
'''Description'''  - Create a new consumer/provider record <br />
--Begin custom parameter --<br />
jsonrset : [{"associationid": "0","roleid": "82840","consumerid":"10697883","providerid":"11191051"}]<br />--End custom parameter--<br />
[[File:ConsumerProviderCreate1.PNG|800px]]
<u>'''Sample 2B'''</u><br/>
'''Description'''  - Update an existing consumer/provider record <br />
--Begin custom parameter --<br />
jsonrset : [{"associationid":"265692","isupdate":"1","rolename":"Cycle","consumerid":"8276105","providerid":"11190976"}]<br />--End custom parameter--<br /> [[File:ConsumerProviderUpdate1.PNG|800px]]
<u>'''Sample 2C'''</u><br/>
'''Description'''  - Delete an existing consumer/provider record <br />
--Begin custom parameter --<br />
jsonrset : [{"associationid":"265694","isdelete":"1","rolename": "Meeting","consumerid":"8276202","providerid":"11190976"}]<br />--End custom parameter--<br /> [[File:ConsumerProviderDelete1.PNG|800px]]
==See Also==
Smartstaff
1,385
edits

Navigation menu