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": "a2c03d4f-0e91-463a-9364-90fe1faabf97",
"ParentId": "5298fa47-ff3c-4b3c-a9d6-f0ef5867a913",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5eebbbd3-46e6-4cdc-bd1b-9251bdb2683a",
"e525fce0-780e-4f1e-8d7b-49b012dc468a"
],
"Companies": [
"6b7beef8-b243-49ab-be12-260b61fae7c2",
"9a889503-cf39-4a63-acd6-717e241d695e"
],
"Groups": [
"93450af8-05dd-41f2-aa6d-d3b6bc31355a",
"fd64e821-06ff-4f04-980c-41e123493d90"
],
"Opportunities": [
"e944df70-22bf-482d-a84f-e08dbbd0163d",
"6888220a-38a1-42b3-a4d8-131f4d7b37e0"
]
}
}
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:
"c70a1564-33bc-4a27-b96b-e3ec60dbb858"