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": "788ab512-8e9a-4e8d-88cd-df13ce85430c",
"ParentId": "7a9d3c9e-0ef6-4c86-8cfe-df9cf3a10d29",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6540ab2a-7a77-45a5-8767-20883b4ebc68",
"dd6317c7-2247-4da9-ad0e-215fc745416a"
],
"Companies": [
"7c1796f5-c9ad-4f82-aa75-4af2de62d0a0",
"19150da5-a8ac-4f0f-9476-2f3aaefeb0c8"
],
"Groups": [
"43ee19bb-9000-4c65-808e-44961496bb64",
"e2da7b2c-4f4c-4f51-ba09-648ba662e327"
],
"Opportunities": [
"9cf64d49-2771-4b71-84ae-dca9555db052",
"b621bd8e-132e-455e-852c-33faff7ef682"
]
}
}
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:
"e11a29a2-dfa6-495a-b945-3245f61987f3"