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": "be4e0b89-be22-46e3-a340-76c99288892d",
"ParentId": "56d91d87-558a-4548-8f53-de930edab2e2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0d1731fe-f1e7-41c8-aabf-233e1e5e9f47",
"dc9a7a11-5d5f-40a8-b21e-d6cca4826205"
],
"Companies": [
"7943f580-7078-4257-aafc-7ef238b6444e",
"6638693a-d68a-45cb-8a18-4087880dfc0d"
],
"Groups": [
"f16fe6d0-5a17-4ce7-9f75-2b8e60e60e3a",
"d9125e8c-0f1c-44a0-99c1-de0a5e1dfe14"
],
"Opportunities": [
"88422b48-410d-4edf-bfaa-b24fde6f7699",
"9979b213-a6cc-431f-9e80-6289a13ba822"
]
}
}
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:
"4fb86f2c-108f-4a39-9103-f0111e6fcd4d"