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": "246f1e07-7f37-45a4-b435-0bb18d9203bd",
"ParentId": "5c5d3892-20a7-4e0b-b46d-b826c1b1cf28",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1e4cce36-c116-49a5-aec2-222b5145a861",
"24ebbc05-97ce-4310-ad3c-e0a061d58267"
],
"Companies": [
"42da2631-de38-4e28-8287-bd36a5dc50d8",
"bc437e6d-ddc2-4c17-b14e-78b5f1c129e0"
],
"Groups": [
"17199c8a-2839-4ffd-8fe4-e018dc4bc71c",
"1e5a59b7-3721-4b05-a4db-9342cc70e111"
],
"Opportunities": [
"53ae94b9-027c-4800-9ac6-6872b12adad1",
"89101eae-1e1e-460f-ab5a-81e69432437a"
]
}
}
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:
"37eafe61-bc9f-4bc9-9d98-4110c8446249"