Update dynamic recipient list

PUT {{baseUrl}}/api/dynamicRecipientLists/:id

Update a specific dynamic recipient list by its ID. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the dynamic recipient list by specifying the dynamic recipient list ID in the path of the request; you obtain the dynamic recipient list ID using GET /dynamicRecipientLists. You provide the information used to update the dynamic recipient list in the body parameter of the request.

Request Params

KeyDatatypeRequiredDescription
fieldsnullComma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.

Request Body

{"name"=>"Dynamic address list 1-updated", "id"=>"19B51ADBC34353624E94F787D70795EC", "description"=>"Dynamic recipient list for managers-updated", "sourceReportId"=>"{{rd_reportId}}", "physicalAddress"=>{"attributeId"=>"27614DEAFF40BECC2C60FAAFCE393AF5", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "linkedUser"=>{"attributeId"=>"4FF474CD21491328DF59EC97F5DB61CA", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "device"=>{"attributeId"=>"5ECA1D4EB446E268D00AD687785396DB", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "recipientName"=>{"attributeId"=>"3A775CF38F4E6FD5904C5A8231D591FB", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
X-MSTR-ProjectIDstring