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": "db86ec06-3677-4590-9a61-d7a4efa6b730",
"ParentId": "7ffa73f0-fc60-411b-9517-1ec259343784",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7d19c651-58f7-43a5-a649-9a261cdf1c20",
"51e44163-e346-4ef8-86a8-61eabb30abf8"
],
"Companies": [
"121417e5-6bf6-463a-86a6-a600cb62244d",
"a003f3aa-b0c0-4c91-bdd7-7b6909f42fff"
],
"Groups": [
"10810f24-2d0c-4fb1-b7a3-2a5493a4aa1f",
"50dcf34f-f5eb-4080-bbc4-e056df45136c"
],
"Opportunities": [
"bc97e531-6f22-4f0b-840a-e0d5f088d227",
"b4c247c8-ef34-4310-9f3b-8ad6f54bd4b7"
]
}
}
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:
"bdf75a24-10a8-46cb-a9ec-42b51e1d0430"