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": "10a6cc3b-2e02-4fc9-af28-1ca5bfe0440a",
"ParentId": "b2f925fd-1758-4699-b6b4-6161077369c7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"db249059-97a7-44c8-8d1e-67d104169934",
"1fc463ff-3c3c-49fa-91cb-3a670d85bf72"
],
"Companies": [
"5245cf35-f788-4279-be72-5dcb70cf6597",
"499baea2-83ab-4d91-b3cc-04e1e5bb5c95"
],
"Groups": [
"72362319-64ee-4add-a6d8-1bd9607e20e9",
"fb1bc1d2-ed09-444e-86a4-f81ae1617fcb"
],
"Opportunities": [
"6b8d9db4-6d1a-45c6-aeb4-3dd718214bde",
"8437df01-aec7-4a27-b2e2-8748749856e4"
]
}
}
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:
"6e2078c9-281d-40c5-92cf-309111fdf9b4"