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": "c9d46ee8-44b7-467d-9dbe-66d3be286274",
"ParentId": "5609986b-7328-4618-b4f1-7674da457616",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"88c7a4f2-7de3-437b-bc5d-4dfa79aaaaed",
"cbb433d6-1492-4660-8934-d387c010f543"
],
"Companies": [
"83bb165c-078f-40a2-b277-d8a47a72dd9c",
"967fc4ed-f0ab-4958-b042-942a30464c40"
],
"Groups": [
"bc596536-e19b-4821-8344-2fb6bcf9c8a9",
"25851443-b9c0-4885-9e0c-b956c85ea704"
],
"Opportunities": [
"cae115e9-9103-4442-ad4a-80fbe3544711",
"c9e0262d-195c-4e95-bb44-acece634d945"
]
}
}
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:
"5935a25e-44ee-4294-a8b7-4023f05ea457"