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": "8981c4a9-ffab-4864-8310-e7f139813c39",
"ParentId": "b8fa6817-b35a-4261-8a00-7586db3a15ae",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"159224b1-65a2-45fc-9118-d93e5cdc74d3",
"2dbbd1df-0a1e-4695-a954-6adbfa6b8fbe"
],
"Companies": [
"2a89dad7-2e42-40eb-8392-a1770ae873ee",
"3ad934bc-f7e3-444c-8178-cc5d3603d192"
],
"Groups": [
"c6ae49d3-ac8e-4856-a7b8-b8c62272b1ec",
"d263e79c-f8c6-492c-a35d-e2b62755250b"
],
"Opportunities": [
"9775db36-b931-4d0c-817b-7ae769d951be",
"575478bf-e532-4a85-97e8-a28adb2a3b08"
]
}
}
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:
"c9a45645-f2cf-40ad-89a3-ead7073eeb09"