POST api/Opportunities
Create a new Opportunity Record.
Request Information
URI Parameters
None.
Body Parameters
The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtended| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ed8577d2-8338-415c-bea1-eb88ff2117ff",
"ParentId": "bbac2373-3791-4e21-bca8-095dca880364",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7bcfdbc8-6e35-4726-a872-191558a8c7c9",
"8788f3b4-97c3-4544-8a31-a53f52037d5e"
],
"Companies": [
"35290401-e20e-4f5e-b105-f7af62d1efc3",
"09bb19bf-d3b1-4c9f-893a-5cdabae11d21"
],
"Groups": [
"1c229076-a8fb-4cf5-8fb4-96cbaa4a9b54",
"9dcc79d8-499e-4835-8e79-9d9e8b1a41c0"
],
"Opportunities": [
"0a67a99e-fb05-4604-aa5b-4e9c9aa7fe60",
"330d2631-066a-474b-aea3-39c75b08ee72"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint returns the GUID of the Group record once it is created.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"66c251fb-db26-4cb3-ab7d-0193cd7f2aae"