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": "6d817784-f1b6-404d-994a-0a6f4762400a",
"ParentId": "97cdbbd8-dea1-4547-84d4-b1e4bdfe7730",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4fd5212-43df-44ff-978a-b9b2723f151b",
"09bdd59e-f47c-42ff-9c0f-f6b073b9bd22"
],
"Companies": [
"7b6b1c24-7e83-4700-b234-06223a2f36d2",
"7fd4b60d-8f6b-42ed-95e7-1c6d18db6c6a"
],
"Groups": [
"2312b4b1-d389-4093-8109-da64f980bff7",
"0ebac17f-7920-4dd2-ab33-6192a9496f28"
],
"Opportunities": [
"aa86b56c-2ab5-460f-838d-5e41683ad1af",
"5e475a58-f776-4427-85c6-92822a2c94d0"
]
}
}
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:
"7aa07155-a654-4909-8909-795b9c0c45d2"