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": "f94a8c98-84ef-4bf7-addc-ec8e10b285ca",
"ParentId": "7b126c5f-872e-427b-bcf8-e4842f19b06a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a92fd42c-ae78-49a6-979f-94c63f8b6866",
"c0d2ecf2-dcda-41ef-bbb3-4885c39dfa49"
],
"Companies": [
"1e1f7638-2f2f-4045-9e0d-33107573be5c",
"b14815f8-68f2-4cd8-b5ae-81214964da45"
],
"Groups": [
"4d65eec7-cd5a-48de-8cdd-5226c6cd5325",
"395f5c8f-185d-4837-bb80-b2284d0f3560"
],
"Opportunities": [
"a486ad74-f435-41d4-84db-1c0baaa00547",
"503f7bf5-2417-4dc8-a68a-a44c67822d4e"
]
}
}
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:
"d7c7ec86-f1a7-448b-96f5-3c6a17ae293b"