AppXtenderReST query help

itcc_akt
itcc_akt Member
edited December 12 in Documentum #1

We use ApplicationXtender and I'm trying to use the Rest service with python to get a list of documents in app. I can run get requests and get responses. What I'm having trouble with is the format of the data object for the post request. Does anyone have any examples on what that should look like?

Comments

  • Here is sample request body from REST Services guide

    Request Body

    {

    "TargetDoc": { "ID": 0, }, "NewIndex": { "indexid": 0, "values": [ { "FieldID": "field1", "FieldValue": "21212" }, { }, { } ] }, "FieldID": "field2", "FieldValue": "Song" "FieldID": "field3", "FieldValue": "Bruce" "FromBatch": { "ID": 7, }, "BatchPageNum": 0, "IngoreDuplicateIndex": false, "IgnoreDlsViolation": false

    }

    Hope this helps. The AX REST Services guide contains examples.

    Sorry the formatting is not easy in here