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": "41ddce3f-0218-46a5-995a-b99928367f56",
"ParentId": "6e17b85e-f638-4352-bb3b-c6f146bc11b5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"91e92b27-a100-4e42-a000-15ac3fb73e19",
"f06a594e-7e78-41f9-b466-941f9c4aa1ab"
],
"Companies": [
"6901a8c5-d452-4329-821b-f62c4c077f54",
"24015918-37e4-454a-b66f-52645a067535"
],
"Groups": [
"af53659d-b0a1-408a-80c1-7b6ff239c7b4",
"c7327c2c-b0af-4767-8e15-64a39577e71c"
],
"Opportunities": [
"2c9d3fc0-dfe8-4fa4-bed3-6fd3bd4a2ab8",
"b2e693d7-c0bd-4c44-94ff-4336dd8b996d"
]
}
}
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:
"3b8209bb-4a91-4f63-b53f-653eb9dc6acd"