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": "bc035364-fe3f-4621-9621-c56a2b9e61e4",
"ParentId": "42e0162c-6512-4464-8904-128c869ec8c2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"444c339a-785b-4879-9b1e-09070a7f035a",
"31170b6f-8ad6-4c32-aa4c-b057cfbf6943"
],
"Companies": [
"d4571781-8b70-499b-b8bf-54e3565dc876",
"053b6978-9d1e-4f3a-965a-43025430dfbe"
],
"Groups": [
"e548256e-79a9-403b-a746-51b3b04d0cc6",
"7e350aee-3cd2-4e86-ae6b-2fee84833ab1"
],
"Opportunities": [
"9a72054d-a216-4d68-9067-beabd076dce1",
"bb207c04-912e-44a8-8f03-3c8fa3ce82f0"
]
}
}
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:
"3af931b1-34f9-4550-aa20-08baa11f4b36"