Create dynamic recipient list
POST {{baseUrl}}/api/dynamicRecipientLists
Create a new dynamic recipient list. You obtain the authorization token needed to execute the request using POST /auth/login. You pass the authorization token in the request header. You provide the information used to create a dynamic recipient list in the body parameter of the request.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | null | Comma-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", "id"=>"1F7EB3729D4BD7EB2E59F19EB3C5A032", "description"=>"Dynamic recipient list for managers", "sourceReportId"=>"{{rd_reportId}}", "physicalAddress"=>{"attributeId"=>"27614DEAFF40BECC2C60FAAFCE393AF5", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "linkedUser"=>{"attributeId"=>"4FF474CD21491328DF59EC97F5DB61CA", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "device"=>{"attributeId"=>"5ECA1D4EB446E268D00AD687785396DB", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "recipientName"=>{"attributeId"=>"3A775CF38F4E6FD5904C5A8231D591FB", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "notificationAddress"=>{"attributeId"=>"27614DEAFF40BECC2C60FAAFCE393AF5", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "notificationDevice"=>{"attributeId"=>"5ECA1D4EB446E268D00AD687785396DB", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}, "personalization"=>{"attributeId"=>"8C8EE328FB48E6811DD78BA38F8E8F42", "attributeFormId"=>"45C11FA478E745FEA08D781CEA190FE5"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MSTR-AuthToken | string | (Required) Authorization token | |
X-MSTR-ProjectID | string |