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": "e58e71d6-ed2d-420b-9009-e9825f365cbf",
"ParentId": "dfe1d47c-ab67-485d-b196-6968dc24f8f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7983e65d-9316-47eb-8da1-6de9a1cd8124",
"e7984f2a-1305-4a4d-a21f-7dce668c9be9"
],
"Companies": [
"de8cc01c-86c3-445b-b60c-88caf233d0aa",
"43be5bf3-27a0-4a8d-98c6-4ca9119700ca"
],
"Groups": [
"3d69efc8-df55-4877-9d17-bacdd77697a4",
"24fc3890-84bd-4d0c-b2a0-bcab7129b9c7"
],
"Opportunities": [
"39afcb0f-7535-4af7-8e16-bedd61d5e7d9",
"0fc2a0de-9e6d-44cf-8ccd-13e05e00c6e7"
]
}
}
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:
"4987bc3d-1762-46dd-8914-85fe37f2da91"