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": "b9182bb6-3e76-4ac2-804c-a7bfb0ce3bf0",
"ParentId": "1c1b7fc8-e536-4dbb-9404-2847eac41b67",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bedc8170-23f9-46b5-84e6-26f34c9a7cc6",
"8bee6b16-051b-4034-b2af-2ea26ab772f1"
],
"Companies": [
"d69d049d-1710-47af-a14d-4af0b9ea7c58",
"0e770c81-168b-47f4-81d1-5b06f321c32d"
],
"Groups": [
"4dc5bb08-4d81-42d3-8505-f205d678ba43",
"33859511-8bb0-47ba-ab8c-bd4bb2147a18"
],
"Opportunities": [
"509501fa-f5ed-4db1-8401-6b9b38aab4ce",
"f252ee6d-5299-4ecd-ba5e-2258b6a9d8fb"
]
}
}
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:
"c4379348-1a93-4615-9d46-c358111a4bbd"