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": "cd96d213-9fcf-4628-86ef-1847c8e1a724",
"ParentId": "0e127cad-6979-40f2-862c-b522916cb099",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"22e98dd2-5220-4573-b2ed-de25dcea3b2f",
"26fdf895-89fb-4d87-bbcc-812bfe03ada9"
],
"Companies": [
"e5d0b9c0-e4c6-40a1-8cdf-e75ed352afed",
"c73de792-ead2-4d4b-8f9c-6268c27fe19f"
],
"Groups": [
"16b00783-d12a-4634-aa47-bf9429e6d944",
"9a8cfa8a-c5cb-489f-ae76-338a0372b3f4"
],
"Opportunities": [
"a53066d8-1ef3-4ad1-ada6-f7cec7ddf069",
"2f0e9aca-688a-4590-a297-60fc496efe08"
]
}
}
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:
"99f010da-439b-4520-86b5-7e44d4031f80"