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": "9bc5ea44-e5bc-437b-a1e2-374a8630e8eb",
"ParentId": "a92f0427-5f1e-45a6-abb5-b45a908b4eb9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"86c5a273-d4e2-43cc-afc4-a48f82217ec3",
"14529166-dff2-4a89-9196-b444e3ee5d24"
],
"Companies": [
"f0d30233-4caa-44cd-8281-b75cc9458b1c",
"f114942f-fede-45ea-b5f5-286a78918e67"
],
"Groups": [
"692e3721-16c2-4a59-8e0f-c3527ccb0887",
"0fa213dd-5e2c-46f9-a024-3cd6f8dcd29d"
],
"Opportunities": [
"29724615-5c44-401d-a1a8-da40ecb11591",
"45b2207b-2bd7-4792-9865-6fbce533fb93"
]
}
}
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:
"58208b0c-5c7a-449f-84e3-6370a58afbc9"