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": "8257c42b-0a57-4219-ba35-f52860caf129",
"ParentId": "34ca5808-0414-4908-be6b-b2dd4cda42d0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bf2f74d3-e83c-4c17-af83-4fc052722147",
"81102443-0225-466f-ada4-16d6f468e353"
],
"Companies": [
"d1121bad-f1d1-4a3a-8560-a67626cabef1",
"17d83e45-ae39-4d89-81a9-1bc164f51166"
],
"Groups": [
"d5e15ad8-defb-49fb-8ea2-44b7f8d847b9",
"9f4af90c-0288-4ada-ad64-f2d81e0bbf47"
],
"Opportunities": [
"63928d14-089b-4777-961e-f96e2c8b57c9",
"3286df35-ddee-4d2d-b1fd-03c439d7c0fa"
]
}
}
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:
"f5c42b55-f968-4208-b7c7-9423a688cca0"