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": "b6d658a8-6895-4dd6-96c0-e5cc1e852529",
"ParentId": "a59cfd07-7958-4c0a-aca2-02dd8951e533",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"340bd078-2fc1-4da5-ba3c-49f449c61813",
"19c3a3cb-8604-4de9-bb8a-0e43a48e03f5"
],
"Companies": [
"6e14ff2a-8d6c-4c6e-b640-1e0aa60d01db",
"14d765d1-73f9-4663-b12c-2d1bdd7b5244"
],
"Groups": [
"46631b2e-fbbd-488f-9d9e-6752754e2cad",
"d55403f4-a215-4532-b067-03c18aaaa611"
],
"Opportunities": [
"9688fcc1-0e93-4368-9585-5749738ced1c",
"0c8b3d1d-6f64-403c-9f14-604ea7bfc5ae"
]
}
}
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:
"07244bab-7358-4815-ba8a-87f65344550d"