Newer Version Available

This content describes an older version of this product. View Latest

Service Catalog (POST)

Create an extended case object that includes custom data about a customer request such as a fee reversal or address update.
Resource
1/connect/service-excellence/service-catalog-request
Resource Example
1https://yourInstance.salesforce.com/services/data/v57.0/connect/service-excellence/service-catalog-request/${svcCatalogRequestId}
Available version
57.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
1{
2  "svcCatalogItemDefApiName": "AddressUpdate",
3  "attributes": {
4    "data": {
5      "AttrName1": {
6        "value": "some text"
7      },
8      "AttrName2": {
9        "value": {
10          "Value1": 123,
11          "Value2": 456
12        }
13      }
14    }
15  },
16  "caseInfo": {
17    "data": {
18      "Origin": {
19        "value": "Web"
20      },
21      "Subject": {
22        "value": "what the Case is about"
23      }
24    }
25  },
26  "documentInfo": {
27    "data": [
28      {
29        "id": "content document id",
30        "typeId": "document type id",
31        "name": "document name"
32      }
33    ]
34  }
35}
36
Properties
Name Type Description Required or Optional Available Version
attributes Map<String, GenericObject> Values for the attributes defined in the service process definition. Required 57.0
caseInfo Map<String, GenericObject> Field values for the case object. Required 57.0
documentInfo

Document Info Attributes

[]
The ID, name, and type of one or more documents associated with the case. Optional 57.0
svcCatalogItemDefApiName String The service process definition in the setup that specifies the attributes. Required 57.0
Response body for POST
Service Process Output