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": "d59c1843-a436-4cce-aaf3-81bddb7af9b2",
"ParentId": "5d07715f-6d96-4091-afe0-c546e254737a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"da0f8655-9d66-4f9a-a67e-96b029a0dca9",
"bb0368ec-6f84-41e0-9e04-fc2d932a1e2f"
],
"Companies": [
"cacebec4-c2b5-4de8-89eb-29f4be1c4e4d",
"8ea9afb8-9b20-4637-abaa-9df0335faf24"
],
"Groups": [
"4be78d64-9253-4b8d-931a-56f92ad22b35",
"cee4377c-065f-443e-8541-5afc86df858d"
],
"Opportunities": [
"201b8e8a-5b5f-4101-8975-c5222dd219f8",
"77cbc8fe-61ad-40da-bfb0-1e38de005e25"
]
}
}
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:
"2fbbfa31-1400-4717-988d-cdf0780148fd"