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": "6ee66d6d-6216-4a01-bda8-7c6c6a1f3124",
"ParentId": "90e855e4-4100-4ec1-9c4a-0dc60ed85d0c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d36c6091-e0b5-4690-b942-de2eeb341d30",
"dfa92868-4d92-491d-b46f-c1e2ffb0213a"
],
"Companies": [
"329808d0-a16c-4692-92e3-d95779037855",
"3a4dcf00-642c-4d8a-b933-80aecb1fd911"
],
"Groups": [
"c4a1d61a-5e28-4975-8477-8f2019ea38af",
"dea57b6b-f8b8-4cb6-bfd1-c9bd894611a0"
],
"Opportunities": [
"396516a4-7986-488b-8e74-906d09754978",
"d2a73382-e409-4c82-bc6c-1782daa50e8c"
]
}
}
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:
"e903783d-13dd-4479-83da-37a814cfd8ee"