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": "6bfea8ac-b0d2-4e79-818a-b30c2ae476f1",
"ParentId": "e97060a6-aff5-4025-ad05-fb877d437040",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9f7dd75d-abb2-4e15-9dc0-494aa349d7d4",
"7514d862-ec6f-40bb-9507-2e5125a21008"
],
"Companies": [
"b7eadab6-6cf1-40de-a65a-1c9f517392f9",
"a0a21799-8499-4af0-9277-53553d01beb4"
],
"Groups": [
"fb166424-bf3f-405a-92b9-f9ecde1b9b68",
"53ea671c-b709-4a3b-a554-579d0fbd4252"
],
"Opportunities": [
"4456b975-8a91-4e2e-8a4f-984cf6c198e1",
"a6c58cde-fdcc-439e-ad17-20d2671233b6"
]
}
}
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:
"7dfaafdd-3a68-478b-a2de-290467a054e0"