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": "3a01cf78-99ba-4533-b60a-3f8a39e2fbf0",
"ParentId": "75595d12-242a-487a-8724-8f13c51231d2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"80816ccb-3e03-4963-aa87-c547b38e07b4",
"cbdc63a6-c5b9-4e4a-90a5-36ac118c761d"
],
"Companies": [
"72fd2e6b-2848-40d7-a6fa-b23d939f7de0",
"16027baf-b9fd-4c42-af83-3e523ae2d275"
],
"Groups": [
"e7b02d4a-4a12-4561-a2ea-010a2306c906",
"e8a1cd3f-c002-44a2-adf2-dc3f5d81ef5b"
],
"Opportunities": [
"205cf2b5-42b3-421d-bcff-70294f919304",
"2895a3d3-a989-4490-a582-fe2646e146a7"
]
}
}
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:
"92cf976d-ab54-4e3b-969b-39785a8a0764"