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": "52c2d04b-b5a1-493c-969e-3a971cacd465",
"ParentId": "cc193e14-4431-45ec-8b2a-31603cd06353",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8fc09a4a-da2c-4053-8074-630adaf35be7",
"4b864fcc-25fa-45b7-81f4-0f9a2afd3e3b"
],
"Companies": [
"8f15352e-6326-44cd-bc22-47b4add9f6ca",
"02a07281-4369-4c15-9a38-68ce610785cf"
],
"Groups": [
"abcea997-f858-406a-aa91-f5cc1a153415",
"0de1830b-a94f-40db-af35-282ccae6642c"
],
"Opportunities": [
"3801dbf0-5ee9-4d7f-bfaa-3fffb47ae48e",
"5afd5c18-9921-41e6-94b0-719b1653fce1"
]
}
}
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:
"777286e5-fb51-43a7-862e-b1c46b265993"