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": "78d77147-b647-46e2-b6ee-aab48ef25f83",
"ParentId": "a4e2c68e-dd09-448f-8f25-35e303fff400",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"799c77e2-cf64-48dc-bcc1-4fd4a92a078e",
"f9977b5a-6254-47e7-816b-722cc328fa40"
],
"Companies": [
"f3df87a5-cf4b-4748-b4b1-b09080d36626",
"cff201b5-14db-49f9-a7dd-7e2099624360"
],
"Groups": [
"b5912452-02f7-4eb4-af74-dd2b4d030f59",
"0f0320bf-b2b5-4989-9c39-a40fbf0c39d3"
],
"Opportunities": [
"ee6eb1be-b69d-43eb-a447-c569edcc02b8",
"9b9006d3-d4df-454a-9f54-9303b0d35d9e"
]
}
}
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:
"114c32a0-b3d0-4e42-9fda-4829d9a9fec8"