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": "52f8c539-1110-4a6b-bb8a-ca974ca66be0",
"ParentId": "de74d172-a24b-4165-bbbd-8f3889c6682e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ded55821-f921-4a20-bcb7-c107633da1c9",
"2465a2c3-347e-47ff-b7e4-8e1e62521a93"
],
"Companies": [
"1c6afff7-a7dd-4b83-b9b2-56c7c4a974b4",
"8ad1f219-a3e9-453f-8d82-de6fdf1fd931"
],
"Groups": [
"ce3593be-b249-4697-93a0-87e1b3c5d79f",
"3b28913f-2af8-450b-9e36-8dbcc4eef63f"
],
"Opportunities": [
"9ce1aa3b-5630-4f13-9cc7-f3638f0acdd3",
"155220c8-e29d-48ee-bd10-f308efba3552"
]
}
}
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:
"535f1291-9bfc-4d4e-b4bc-ead6a5faa899"