Important Update: Some Community URL Redirects are Under Maintenance. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Update application to set related records field using API

Archerwizz2022
Contributor III

Hi,

My objective is to set the related records field I have on the application using RESTful API call from C#.

I get the feed from XML document, which I consume, getting all the required fields.

Which API should I use? And if there is any sample code, that would be perfect.

 

I believe if I need to add a user to different groups, then I should be using this API!

/api/core/system/user

Thank you

1 ACCEPTED SOLUTION
2 REPLIES 2

Awesome.

Now, if I create/update a cross reference using the example you provided, like

Cross-Reference (Type = 9)

 

 

      "13907": {
        "Type": 9,
        "Tag": "My Contacts (Cross-Reference to Contacts)",
        "Value": [
          {
            "ContentId": 205522
          },
          {
            "ContentId": 318794
          },
          {
            "ContentId": 325672
          }
        ],
        "FieldId": 13907
      }

 

 

Which API shall I use to delete the record, if I need to do that later. I searched the REST API collection, and I only found the Delete Content Record, which uses a contentid.

Not sure if it's the right API, then how would I get the contentid.

@JeffLetterman 

Thank you