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": "57384cb4-f017-43f0-a9da-afd4dbd47d33",
"ParentId": "6c08e5b5-8462-4c9c-9e19-ae4fac93e968",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"50f531d9-0a20-4164-bbdb-af2eec914d8b",
"3941d4ba-fb66-4dbf-a3e5-f76ce7e32699"
],
"Companies": [
"e967feb6-327b-499c-b1cd-7fb3fa75b0e7",
"39504743-d29a-48e6-9335-e02acf943c84"
],
"Groups": [
"26ef1a3c-a846-41ad-be59-12dd1e5359df",
"26569d8a-805c-4901-81ba-edc1c9095d1a"
],
"Opportunities": [
"09b544be-3d10-4c6f-ac96-090b04f223f3",
"c87b199e-cb8a-402f-80f6-84a2266b80fa"
]
}
}
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:
"34dfb5af-144b-4e19-8859-1a0eba9271a4"