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": "c0fc839b-4b55-466e-98b1-fd3b8c677265",
"ParentId": "705e5c62-244d-4244-98f2-0bfa4903b714",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e12ce7fe-14db-4da7-87d4-eb30a1d1dab3",
"ffe66e2c-18aa-4fe0-a8ef-53769f4ec101"
],
"Companies": [
"9dbd045f-574c-4115-b410-062e0b50da78",
"67f03f7b-27f7-488e-911c-35805c47d463"
],
"Groups": [
"db0bb146-a62b-41b0-bf77-a42bc315d709",
"74d9d69c-4a08-4136-a854-a69033b65812"
],
"Opportunities": [
"d807e7fc-dcfd-4989-9ef9-7ac1fe58f607",
"887741eb-2944-417e-a6fe-040b4f0652aa"
]
}
}
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:
"a8b6da2c-2155-40f8-8a1c-a1ed2bb2c0a6"