Deals: Required Attributes and Path Parameters

This section lists the required attributes and path parameters for the request payloads of the Deals resource and its child resources.

The following table shows the relation between the parent resource and its child resources.

Parent Level

Deal

Child Resources

DealProduct

DealResources

Notes

The following table lists the attributes required for the POST method for Deals child resources.

Resource Attribute Attribute Description

Deal > Deal Product

ProductGroupId

The unique identifier of the product group associated with the deal registration.

InventoryItemId

The unique identifier of the product inventory item associated with the deal registration.

InvOrgId

The unique identifier of the inventory organization.

Deal > Deal Resources

ResourceId

The unique identifier of the employee resource in Oracle Sales and Fusion Service.

Deal > Notes

NoteTxt

The column to store the note text.

NoteTypeCode

The note type code for categorization of the note.

VisibilityCode

The visibility level of the note like private, internal, or external.

Note:

You can use either ProductGroupId or InventoryItemId and InvOrgId for the Deal Product child resource.

The following table lists the path parameters required for the PATCH method for Deals resource.

Resource Path Path Parameters

Deals

/crmRestApi/resources/11.13.18.10/deals/{DealId}

DealId

The following table lists the path parameters required for the PATCH method for Deals child resources.

Resource Path Path Parameters

Deal > Deal Product

/crmRestApi/resources/11.13.18.10/ deals/{DealId}/child/DealProduct/{DealProductId}

DealId

DealProductId

Deal > Deal Resources

/crmRestApi/resources/11.13.18.10/deals/{DealId}/child/DealResources/{DealResourceId}

DealId

DealResourceId

Deal > Notes

/crmRestApi/resources/11.13.18.10/deals/{DealId}/child/Note/{NoteId}

DealId

NoteId