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": "ca8cfd1c-858d-4b78-906c-f4b6d7c7803b",
"ParentId": "bfc55ed8-36a8-41a9-a2cf-ead86a5a4239",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2f3160c6-ebbd-4c77-94ab-50a126220454",
"58c47d00-ac45-4078-880e-44af00e72b89"
],
"Companies": [
"b40eb011-cdfb-4940-9485-67a58bb6b992",
"9c372113-aefc-4905-85f5-20fcba09196b"
],
"Groups": [
"a13f01bb-1cc4-4034-bbd7-561e4ed55552",
"b08b7827-dd36-40d5-8a0d-779938abfbea"
],
"Opportunities": [
"c81a9a18-aa22-4fed-a32a-f8a69afe5124",
"19efd596-0324-4604-8f77-ffe71a025f3b"
]
}
}
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:
"0171bb0c-29e9-4818-b6d4-e482d6b1f5ba"