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": "00248c89-90a5-4480-a738-5d1a801ed910",
"ParentId": "d785dd3a-9df1-4904-b1fd-716989f2b75e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b1b96db0-bf1a-4a52-aef6-f6e65be72add",
"bf14f748-2ea1-41c5-abf8-d195baa0791f"
],
"Companies": [
"8a056ae5-cc37-493c-9c9b-70459e1936a6",
"2bc3a2ca-1a9c-4ade-b3c5-d726a841513d"
],
"Groups": [
"7215380f-2b97-4dbf-a877-9482d492cd3f",
"2d50ee49-eb72-4d70-89fe-00b3f652e457"
],
"Opportunities": [
"605652ee-117b-4c5d-b201-902d5090e1e7",
"c8afd58b-9fb5-4acc-9e3e-53bdcc2f12ca"
]
}
}
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:
"44040a65-ae6d-4e3a-8936-d3e0f038c505"