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": "c0445cfd-50a3-45bc-b2b0-1b072d348874",
"ParentId": "ee7d44c2-bfa4-48c5-921b-ea8b53802e7a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"86a98f9d-db30-44c1-890a-d2666313a4d0",
"fa50fbfc-44cb-41c7-a0c8-980e340fbd71"
],
"Companies": [
"d91d5239-fd02-4553-b470-eb7dc59dacdd",
"6910eccf-7aa1-4add-b5bc-e2fbba33ff11"
],
"Groups": [
"0d28dfae-2213-4fe4-b7a6-438bb70412bf",
"b4324dda-b180-4689-ba5a-a581dce6d954"
],
"Opportunities": [
"a3deb9cd-c9db-405e-9b70-77ece81a302c",
"b3117006-9cfd-4b22-80dd-d46e01274795"
]
}
}
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:
"061a5e16-b2cc-4da3-bbb1-6f808b183500"