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": "de0e3106-c756-4380-ae63-246dcfba7be9",
"ParentId": "377c413d-784b-4047-b6c0-3569d3160f8e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2c2f8d68-0912-413c-9d3a-0b77815ba41e",
"8e39952a-3377-43d2-9904-4b220c305740"
],
"Companies": [
"9be2c333-858b-4158-addc-13492394c5ad",
"0dba3a20-23e3-487b-b15c-51b00fb75da3"
],
"Groups": [
"01aebe39-a87b-48cc-85e4-78e24443aa5c",
"68127676-89fa-48b1-8a9d-7688556ed02a"
],
"Opportunities": [
"bc782f08-8f86-47eb-b9a4-bc4a3f84d9c3",
"1c556149-0364-4763-9cd1-09f3dd4b11e8"
]
}
}
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:
"4f71c8e6-7f97-4ad4-8e84-2669f8f6e38e"