GET api/OpportunityProducts/{id}
Get Product by Id. Supported Headers: SelectField
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The Opportunity Product Id |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
OpportunityProductName | Description | Type | Additional information |
---|---|---|---|
Total | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
OpportunityID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
OpportunityProductID | globally unique identifier |
None. |
|
CreateDate | date |
None. |
|
EditDate | date |
None. |
|
Discount | decimal number |
None. |
|
Price | decimal number |
None. |
|
ItemNumber | string |
None. |
|
Name | string |
None. |
|
Cost | decimal number |
None. |
|
DiscountPrice | decimal number |
None. |
|
CustomFields | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "Total": 1.0, "Quantity": 2.0, "OpportunityID": "7a07acb6-44e6-4393-a6d0-3ec177d612fc", "ProductID": "9e864b63-5ea7-4109-bf3a-696308d9a759", "OpportunityProductID": "8b845ec4-c76b-44ec-97b5-3e9fbf99f0c6", "CreateDate": "2024-05-18T23:49:51Z", "EditDate": "2024-05-18T23:49:51Z", "Discount": 7.0, "Price": 8.0, "ItemNumber": "sample string 9", "Name": "sample string 10", "Cost": 11.0, "DiscountPrice": 12.0, "CustomFields": { "sample string 1": {}, "sample string 3": {} } }