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": "e909adb0-a68c-4b03-b5c4-22423e616867",
"ParentId": "f5578e72-3f5c-4bbe-95b3-8fffe381f913",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1ded7e74-32c4-46be-9aa0-7aa88c05d702",
"ed75d089-5ebd-456f-a454-879ff9857178"
],
"Companies": [
"9e9968d2-a5e6-4e0d-a139-1390c1ce93a7",
"cfe5b88e-cd7e-4d63-896e-0ded8d4e37d6"
],
"Groups": [
"cdd41893-f8e5-462b-ab1c-a3d390a25ecb",
"055ff684-cf5f-44f8-bb8a-d29e83160388"
],
"Opportunities": [
"9455fda2-e6ae-401d-a5bd-66cefa739765",
"a2c5ebad-0c4f-4624-ad23-1736331f8293"
]
}
}
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:
"e82a6efd-2907-4af6-bcb8-86ae1b5082ce"