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": "841af170-a472-44f0-b5ca-059dbad5c666",
"ParentId": "69fffd33-d6f3-44e5-aada-a37ae231c1af",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ed70a729-369a-4bad-95e4-a068388b2517",
"700adb62-a8b3-439e-adc3-4efe84ad8b28"
],
"Companies": [
"11bdfc2f-2ceb-4409-aa46-e02dccba607c",
"034fcef3-19c0-459a-b11f-7fce6aaf1f2d"
],
"Groups": [
"cb55e9d6-aa41-48e5-9172-8a013f72b34c",
"19b44c41-f577-432c-9a59-86eadee301ed"
],
"Opportunities": [
"dfcd56f6-c34f-4002-b8e1-bb68c54b864e",
"b024e975-328b-4cd3-b973-3d6636f7c5ed"
]
}
}
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:
"c0862e7b-b457-4044-9cec-713031cd3989"