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": "3001ccf0-7baa-4eb8-b569-6fa44635c752",
"ParentId": "1a3ee19d-de21-4fac-8ebb-542db508ede7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"45f0906b-0c01-48a2-9845-04a81eff2f92",
"ab3028f0-939b-4bff-a55b-88dee21edadd"
],
"Companies": [
"fb087573-4383-4696-b471-df6fa0ede240",
"23ab17a2-bf8e-4661-9021-542dc076bbb5"
],
"Groups": [
"55c63830-2984-413b-abe8-125a585a33a7",
"8c17efa5-bb52-4a0e-b9d6-2f4564d5c58b"
],
"Opportunities": [
"8ce8955b-abc9-41a3-afb4-dba1e85bbd7b",
"d29dc031-3bc6-4e43-9d3d-209c9f1b7971"
]
}
}
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:
"f6bde126-5d7b-4b30-bd43-a7be598e3f60"