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": "2a63ecbd-75be-4d67-af0e-efad1f0d3af3",
"ParentId": "45230f08-02eb-4693-b203-4dd37fe2ab74",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7c9394c9-5c76-4c54-8397-ac158a3240b0",
"c0ee4243-06c1-47db-9221-328b37deae9b"
],
"Companies": [
"3e11b90d-4024-41c5-90e6-5cb7398844e4",
"c4ef5877-9c78-4ed5-9514-03cc08842028"
],
"Groups": [
"89502b97-b6e8-40aa-bc93-7b4072d12edc",
"d70a0ce5-5716-4d06-9433-257566c21cb1"
],
"Opportunities": [
"bc8a47ed-2ac1-4401-8a01-0634c6b7f8dd",
"727d3a86-0137-4ee6-bbbc-5decfa179ec3"
]
}
}
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:
"98966edf-73d2-4f56-93b0-f4d8becb1d14"