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": "e2c32690-d08c-4076-a5fb-9f71baf1213d",
"ParentId": "7a405ec2-a8cb-4608-a600-0a0e0ce16fdc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"dcb941f4-ea61-4492-b7c0-8511f1d2ea40",
"4aae1e8e-d6cd-4e25-8767-d195410f6d30"
],
"Companies": [
"6841d1fd-09ad-41a7-ba04-c338bb6be35a",
"ef979171-4934-46a1-939f-f567c5dafb47"
],
"Groups": [
"52ba594d-6ef8-4da6-b56f-246e7e1f4c6c",
"ce0a505a-c934-49b3-9589-4cdb11f2dde6"
],
"Opportunities": [
"997e21ef-c0a1-47f5-9394-e5e2a3850335",
"dc54587b-9459-4e04-b6c4-996614081fd7"
]
}
}
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:
"a09d2ae6-a142-47ae-a51d-50d7ad8aa6bf"