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": "5c0430ad-0cb2-4ae8-b3d0-0633446c9321",
"ParentId": "ad6c54a6-619d-4445-9cdf-43bf6a7c9a24",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fa75bee3-0bf2-4367-a16f-190da636bbcf",
"4aab73fe-016f-476f-82b2-1438bea6be8d"
],
"Companies": [
"640596f1-425e-4a1e-84ab-6e228f135803",
"cc8f18f0-3ec1-410a-997b-013189c6dd0c"
],
"Groups": [
"712a1665-51d8-478b-894a-ae0f3b4b147b",
"512a47e3-6cf8-4bbf-90e0-d9d13252f45a"
],
"Opportunities": [
"d8fab0b8-03a2-4f7f-88fd-119d4e427d15",
"00d7b108-b407-4506-8119-1243e0592031"
]
}
}
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:
"9904e5a8-198d-42ac-9312-fb62f71eb83f"