Case to Contact

The CaseToContact resource is used to store information about relationship between heirs and cases. A case has multiple heirs and a contact can appear as an heir under multiple cases. Therefore a many-to-many relationship is maintained between a case and a contact through this object.

Resource Plural Label CaseToContact

Resource Name

__ORAFS__CaseToContact_c

Get all CaseToContact Records

Request: GET

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_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 CaseToContact records by ID.

Finder Variables:
  • Primary Key
    • Type: Integer
    • Description: The unique identifier of the CaseToContact record.

Request Body

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

Response Body

Returns an array of CaseToContact 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 CaseToContact records.

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

Example Response Body

{
"Id" : 300000000893192,
"RowType" : "__ORAFS__CaseToContact_c",
"RecordName" : "0000007-150601",
"CreatedBy" : "SALES.MGR_US@AP6023FEMS.US.ORACLECLOUD.COM",
"CreationDate" : "2015-06-01T18:39:44+00:00",
"LastUpdatedBy" : "SALES.MGR_US@AP6023FEMS.US.ORACLECLOUD.COM",
"LastUpdateDate" : "2015-06-01T18:39:44+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__CaseToContact_c" : 300000000894354,
"Person_Id___ORAFS__Tgt_PersonTo__ORAFS__CaseToContact_c" : 300000000839422,
"__ORAFS__Primary_c" : false,
"links" : [ {
...
}]
}

Create a CaseToContact Record

Request: POST

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_c

Request Path Parameters

There are no required path parameters for this task.

Request Body

Accepts a CaseToContact item.

Media Type

application/vnd.oracle.adf.resourceitem+json

Response Body

Returns a CaseToContact resource item.

The following table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Example

Gets all CaseToContact records.

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

Get a CaseToContact Record

Request: GET

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_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 CaseToContact record.

Request Body

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

Response Body

Returns a CaseToContact 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 CaseToContact record.

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

Update a CaseToContact Record

Request: PATCH

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_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 CaseToContact record.

Request Body

Accepts a CaseToContact resource item.

Media Type

application/vnd.oracle.adf.resourceitem+json

Response Body

Returns a CaseToContact resource item.

The following table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourceitem+json

Example

Updates an existing CaseToContact record.

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

Delete a CaseToContact Record

Request: DELETE

URI: crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_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 CaseToContact 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 CaseToContact record.

Example Command: curl --user sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/__ORAFS__CaseToContact_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__Primary_c

__ORAFS__Primary_c

Primary

Resource Attributes

This resource has the following attributes:

Attribute Name Attribute Type Description

Id

integer

The unique identifier of the CaseToContact record.

UI Label

Record ID

RowType

string

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

Properties

The maximum length is 80.

RecordName

string

An autogenerated unique identifier for the CaseToContact record.

Properties

The maximum length is 80.

UI Label

CaseToContactRecordName

CreatedBy

string

The user who created the CaseToContact record.

Properties

The maximum length is 32.

UI Label

Created By

CreationDate

string

The date and time when the CaseToContact record was created.

UI Label

Creation Date

LastUpdatedBy

string

The user who last updated the CaseToContact record.

Properties

The maximum length is 32.

UI Label

Last Updated By

LastUpdateDate

string

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

UI Label

Last Update Date

CurrencyCode

string

The currency code associated with the CaseToContact record.

Properties

The maximum length is 15.

UI Label

Currency

Cases_Id___ORAFS__Src___ORAFS__Cases_cTo__ORAFS__CaseToContact_c

integer

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

Person_Id___ORAFS__Tgt_PersonTo__ORAFS__CaseToContact_c

integer

The unique idenfitier of the heir associated with the CaseToContact record.

__ORAFS__Primary_c

boolean

Indicates if the heir is primary.

Properties

The maximum length is 10.

UI Label

Primary