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": "9d619126-b291-45a1-a9fa-de134190a49d",
"ParentId": "6bcfe4e3-e930-48ee-a9f4-1695c449c291",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"54755c1f-18ad-431d-b3f7-75ef879e90d1",
"58bcda46-03af-4342-b4e3-817657e760f3"
],
"Companies": [
"4995a400-9095-45d7-9faa-1cea5108bcce",
"982ad44c-551d-4742-af43-7655fe803f8c"
],
"Groups": [
"1656fe82-883c-48fd-aee2-81850f2fd524",
"c053c679-1596-4369-ae7c-91ce222815a0"
],
"Opportunities": [
"70f35e0b-6b96-494f-8ad8-ed0dd61d0065",
"70967e32-4ad3-431f-ab74-b1b45a99d9f3"
]
}
}
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:
"69ce4146-7cb7-4fac-b79d-3b33bb434b86"