integration requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 01:35 AM - edited 12-17-2023 01:37 AM
Hi,
I have done an outbound integration.If i try to create a incident record iin one instance a record in another is supposed to create on demo table. the fields need to auto populate in demo table are short description and description as field 1 and field2. Caller id field also need to populate like if that user is present in second instance caller id need to populate asusal how we create incident other wise it suppose to create new user in second instance and need to auto populate that.
I have tried short description and description is auto populating through outbound rest api. but i am not able to create new user and auto populate existing user in second instance.
does i need to create another rest api for that? or else how i can achieve this?
Can anyone guide me in this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 03:34 PM
Hi, if your intention is to create a new sys_user record in the target platform, then you would need to make a sperate POST\insert to sys_user before you insert your task; in addition you should check first to see if the user exists before you insert. So a GET, followed by a POST if a result is not returned by the GET. Once you have a returned payload (from the GET or the POST) you would extract the sys_id of the target instance sys_user record from the payload, and then use it in your task POST as the 'caller' identifier\sys_id