Update a contact marketing roster

patch

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

Request

Path Parameters
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
  • Maximum Length: 1333
    The description associated with the contact marketing roster.
  • The account represents a staff member in Oracle B2C Service. Examples of staff members are customer sales representatives, sales agents, site administrators, and so on. It is the reference to a resource in 'accounts' collection. Only ID or lookupName can be provided to specify the resource.
  • The date and time when the contact marketing roster was created. This attribute is read-only.
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the contact marketing roster.
  • interface
    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.
  • Indicates whether the contact marketing roster is a proof list.
  • contactMarketingRosters-lastCountStatistics
    The last count-related information of the contact marketing roster.
  • Maximum Length: 255
    The name used to look up the contact marketing roster.
  • Maximum Length: 80
    Pattern: ^[^ ]*$
    The name of the contact marketing roster.
  • Indicates whether the contact marketing roster should be cleared periodically. The default value is false.
  • The account represents a staff member in Oracle B2C Service. Examples of staff members are customer sales representatives, sales agents, site administrators, and so on. It is the reference to a resource in 'accounts' collection. Only ID or lookupName can be provided to specify the resource.
  • The date and time when the contact marketing roster was last updated. This attribute is read-only.
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
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of contacts in the contact marketing roster when the count was last calculated.
  • The date and time when the contact marketing roster was last counted.
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