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": "9841203a-0c93-4f86-9fd9-130a99977c6f",
"ParentId": "cd7a7196-8020-4dab-8e32-c1995af657de",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2eae1758-3a54-4aae-a255-bfd638352b5e",
"dcfa041e-fe97-4342-bd4f-49674a0c2c4e"
],
"Companies": [
"6fe2514e-f389-4db7-bf2a-0320222db137",
"5e1f1447-21b3-4cc6-a35d-057eae02637f"
],
"Groups": [
"18c9f5c1-3ba6-4dc6-b91a-29d96107432c",
"c1bef80f-fdac-41bd-8519-540a12d7b206"
],
"Opportunities": [
"64ba0a17-9262-4e04-87bb-5411da5163df",
"8bee1a30-9ecb-48ef-bc54-038deb489e26"
]
}
}
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:
"ff811da6-0f48-4e26-85d5-fbd5b0f07ea9"