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": "0cbb2367-21cc-4e1b-bb94-1842f2d5aeb3",
"ParentId": "72302507-20be-4471-88c2-17a70dc9fe3e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"38f05676-111d-4a57-b2b5-aa2c2f1690c8",
"f44d0f06-5636-4cf9-882a-54002b654418"
],
"Companies": [
"6b40e3de-8516-47b3-8995-abb65b5b2a04",
"60aa5f84-6972-4ae8-85ba-e67e8bdf0833"
],
"Groups": [
"acfe9a5e-bc34-4262-8da2-701df195a1bd",
"bd955e46-6575-45c5-acb3-8c14cae9f0af"
],
"Opportunities": [
"a0ddddf0-0b9b-4a7a-9133-caf50103196a",
"9c039fc0-52f4-4e1a-b7b4-70508b8a069c"
]
}
}
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:
"4d67481c-ac8b-466b-b04e-e3b0073e9a7a"