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": "0f96a6cc-e58b-47e6-a767-d7e70657e668",
"ParentId": "fd347a03-6385-47d1-8cfb-f03bf9adc777",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5cad6cec-66ee-4563-8920-4d8e1ddf07b2",
"2300eea7-c649-437d-b989-a5c558167abd"
],
"Companies": [
"dd71e249-7dd8-4d7a-a41a-a06ccd0a0136",
"8fd79e39-62fe-4f5d-9c45-ef6499ad1811"
],
"Groups": [
"d7f33420-d073-4a55-a07b-e4d00038ef49",
"87efc5f9-dd66-4a7c-9c6b-0498b1c366cb"
],
"Opportunities": [
"d2866524-62ee-4b62-959f-b07e986fc0d2",
"5318b714-f2ec-437c-ba3d-96defd6c383c"
]
}
}
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:
"1fd3422b-160d-4dbf-9ef7-cc0764f8dddd"