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": "ad8a95b2-2332-452a-9667-f370e16d44bd",
"ParentId": "7c176642-8c43-4e04-aca6-c32edea0b777",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6d5198dc-1491-4aec-ab58-8d05cfc818a9",
"e67bb788-9cd8-4dd7-bfc5-cc2a680d2c65"
],
"Companies": [
"36354a00-b20b-410c-8af8-a60652180e69",
"0b6e8dc5-a975-4521-aca3-beda9c04d497"
],
"Groups": [
"18117e91-495f-4417-bb2e-4c45c350e675",
"a4bbcedc-9f58-4d6b-98e6-2005834d6d82"
],
"Opportunities": [
"80b18f63-d28d-4100-8eda-e5747bf2b620",
"e4d255b6-76d1-4ed3-b6b1-374157b09d18"
]
}
}
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:
"c2fef93d-bf5a-4e6b-b470-1a972b5bbc2e"