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": "89daec97-ff99-4501-9dc7-c52c57ac2175",
"ParentId": "83fcb9b7-b4eb-477f-b064-c54495ccbee7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5339a315-fb4a-48ec-b5b4-d1290ab348b5",
"499d0c25-8cb2-4b61-9410-5e60316aca42"
],
"Companies": [
"5eee9abe-c17b-4362-87ce-01b55161f4f5",
"8d574283-5fb5-47a5-b102-d14bc2e1853d"
],
"Groups": [
"5dabfa65-b87f-4f2d-8438-f4dc4b27cdd9",
"14e6ca80-b817-45bd-ba6a-dd2363923572"
],
"Opportunities": [
"515a7959-8f86-40d3-97c7-bdcf0bd83ba8",
"7d3a5e0b-8c1d-4ec6-a8ec-b082cee75801"
]
}
}
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:
"adf8aa07-ee93-4353-8b05-c2b7a2d81122"