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": "41493c86-6509-42d4-967c-652e8bbf6efb",
"ParentId": "0fc5684d-5120-4dd0-98be-1a2b2bfdfb2b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a9fc45a4-0237-47bf-8026-a234cd86d7d9",
"55d6b733-9c68-41b9-9f79-4a3a2aadb4af"
],
"Companies": [
"e8246f12-94a8-4e6c-ba45-1359760f384c",
"6e6002ac-fecb-41ba-b133-268da6678ff8"
],
"Groups": [
"27dd7faa-00e8-413b-ab67-869173c95405",
"65406ae7-b5ae-434f-8125-4863a6b470fb"
],
"Opportunities": [
"9f57e4c2-9bc2-4dcc-ba75-408adaa1cca4",
"f5d2c9d7-7505-41cb-8bc3-e79d1ddac864"
]
}
}
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:
"00d7851a-47d3-4dfb-a87e-1828d22dc70c"