Case to Resource

The CaseToResource resource is used to view, create, or modify CaseToResource records. The CaseToResource object stores information on relationship between resource team and cases. The object maintains a many-to-many relationship between a case and a resource.

Resource Plural Label

CaseToResource

Resource Name

__ORAFS__CaseToResource_c

Get all CaseToResource Records

Request: GET

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c

Request Path Parameters

There are no required path parameters for this task.

Request Query Parameters

Use the following finder parameters to query the resource:

Finder Name Description

Id

Finds CaseToResource records by ID.

Finder Variables:
  • PrimaryKey
    • Type: Integer
    • Description: The unique identifier of the CaseToResource record.

Request Body

There are no elements in the request body for this task.

Response Body

Returns an array of CaseToResource resources.

The following table summarizes the supported response body content types:

Media Type

application/json

Media Type

application/vnd.oracle.adf.resourcecollection+json

Example

Gets all CaseToResource records.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c

Example Response Body

{
"Id" : 30000000089311.12.1.02,
"RowType" : "__ORAFS__CaseToResource_c",
"RecordName" : "0000006-150529",
"CreatedBy" : "SALES.REP1_US@AP6023FEMS.US.ORACLECLOUD.COM",
"CreationDate" : "2015-05-29T05:13:14+00:00",
"LastUpdatedBy" : "SALES.REP1_US@AP6023FEMS.US.ORACLECLOUD.COM",
"LastUpdateDate" : "2015-05-29T05:13:15+00:00",
"LastUpdateLogin" : null,
"CpdrfVerSor" : null,
"UserLastUpdateDate" : null,"CpdrfLastUpd" : null,
"CpdrfVerPillar" : null,
"JobDefinitionPackage" : null,
"RequestId" : null,
"JobDefinitionName" : null,
"CurrencyCode" : "USD",
"CurcyConvRateType" : "Corporate",
"CorpCurrencyCode" : "USD",
"IsOwner" : "false",
"Cases_Id___ORAFS__Src___ORAFS__Cases_cTo__ORAFS__CaseToResource_c" : 300000000893108,
"Resource_Id___ORAFS__Tgt_ResourceTo__ORAFS__CaseToResource_c" : 100000000187762,
"__ORAFS__Function_c" : null,
"__ORAFS__Owner_c" : true,
"links" : [ {
...
}]
}

Create a CaseToResource Record

Request: POST

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c

Request Path Parameters

There are no required path parameters for this task.

Request Body

Media Type

application/vnd.oracle.adf.resourceitem+json

Response Body

Returns a CaseToResource resource item.

The following table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Example

Creates a new CaseToResource record.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c

Get a CaseToResource Record

Request: GET

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/< Replace with system generated unique ID>

Request Path Parameters

The following are the required path parameters for this task:

Name Type Description

Id

Integer

The unique identifier of the CaseToResource record.

Request Body

There are no elements in the request body for this task.

Response Body

Returns a CaseToResource resource item.

The following table summarizes the supported response body content types:

Media Type

application/json

Media Type

application/vnd.oracle.adf.resourceitem+json

Example

Gets a CaseToResource record.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/30000000089311.12.1.02

Update a CaseToResource Record

Request: PATCH

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/< Replace with system generated unique ID>

Request Path Parameters

The following are the required path parameters for this task:

Name Type Description

Id

Integer

The unique identifier of the CaseToResource record.

Request Body

Accepts a CaseToResource resource item.

The following table summarizes the supported request body content types:

Media Type

application/vnd.oracle.adf.resourceitem+json

Response Body

Returns a CaseToResource resource item.

The following table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourceitem+json

Example

Updates an existing CaseToResource record.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/30000000089311.12.1.02

Delete a CaseToResource Record

Request: DELETE

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/< Replace with system generated unique ID>

Request Path Parameters

The following are the required path parameters for this task:

Name Type Description

Id

Integer

The unique identifier of the CaseToResource record.

Request Body

There are no elements in the request body for this task.

Response Body

There are no elements in the response body for this task.

Example

Deletes an existing CaseToResource record.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToResource_c/30000000089311.12.1.02

List of Values

This resource defines the following list of values (LOV):

LOV Name Source Attribute in LOV Target Attribute in Resource

ViewAccessor_CurrencyCode

CurrencyCode

Currency

LOVVA_For___ORAFS__Function_c

__ORAFS__Function_c

Function

LOVVA_For___ORAFS__Owner_c

__ORAFS__Owner_c

Owner

Resource Attributes

This resource has the following attributes:

Attribute Name Attribute Type Description

Id

integer

The unique identifier of the CaseToResource record.

UI Label

Record ID

RowType

string

The name of the CaseToResource object. In this case __ORAFS__CaseToContact_c.

Properties

The maximum length is 80.

RecordName

string

An autogenerated unique identifier for the CaseToResource record.

Properties

The maximum length is 80.

UI Label

CaseToResourceRecordName

CreatedBy

string

The user who created the CaseToResource record.

Properties

The maximum length is 32.

UI Label

Created By

CreationDate

string

The date and time when the CaseToResource record was created.

UI Label

Creation Date

LastUpdatedBy

string

The user who last updated the CaseToResource record.

Properties

The maximum length is 32.

UI Label

Last Updated By

LastUpdateDate

string

The date and time when the CaseToResource record was last updated.

UI Label

Last Update Date

CurrencyCode

string

The currency code associated with the CaseToResource record.

Properties

The maximum length is 15.

UI Label

Currency

Cases_Id___ORAFS__Src___ORAFS_

_Cases_cTo__ORAFS__CaseToResource_c

integer

The unique identifier of the case associated with the CaseToResource record.

Resource_Id___ORAFS__Tgt_ResourceTo_

_ORAFS__CaseToResource_c

integer

The unique identifier of the team member associated with the CaseToResource record.

__ORAFS__Function_c

String

Indicates if the heir is primary.

Properties

The maximum length is 1500.

UI Label

Function