Update a contact marketing roster

patch

/services/rest/connect/v1.4/contactMarketingRosters/{id}

Request

Path Parameters
  • The unique identifier of the contact marketing roster.
Body ()
The information about the contact lists used in audiences in Oracle B2C Service Outreach Cloud Service.
Root Schema : contactMarketingRosters
Type: object
The information about the contact lists used in audiences in Oracle B2C Service Outreach Cloud Service.
Show Source
Nested Schema : interface
Type: object
The console, windows, and pages used by staff members and customers to access the application and interact with a single knowledge base. The interface name determines the URL for the web site, the name of the system executables, and the .cfg directory name. It is the reference to a resource in 'siteInterfaces' collection. Only ID or lookupName can be provided to specify the resource.
Nested Schema : contactMarketingRosters-lastCountStatistics
Type: object
The last count-related information of the contact marketing roster.
Show Source
Back to Top

Response

Default Response

Back to Top

Examples

Use the PATCH operation with the following syntax to partially update a contact marketing roster object:

https://your_site_interface/services/rest/connect/version/contactMarketingRosters/contact_id

Include the data to be updated in the request body. Only the fields present in the request JSON data are updated. All other fields remain the same.

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/contactMarketingRosters/1

Request body example

{
"name" : "General Contacts"
}

Response body example

The status 200 OK is returned. Then getting the data for contact marketing roster 1 returns the following:

{
    "id": 1,
    "lookupName": "General Contacts",
    "createdTime": "2009-01-14T15:17:39.000Z",
    "updatedTime": "2018-04-17T10:24:40.000Z",
    "comment": null,
    "createdByAccount": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/2"
            }
     ...

Note:

The name has been updated from "Sample Contacts" to "General Contacts".
Back to Top