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": "83433f0a-0163-4e6e-80ea-87dea0b4c5a1",
"ParentId": "57f922fe-00d7-4578-93b6-0ef9680d711e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"71ad9c84-25a5-4b70-a5b3-f37c5d21d823",
"26ca4ce4-47e6-48e6-8fad-fbb5cd150a59"
],
"Companies": [
"c30f4bc0-4612-42e0-9be2-d86aac0079c6",
"e8ebac3a-c76a-419f-bd7a-a6ab5cfcbd69"
],
"Groups": [
"1c3671e9-45d7-48ff-af49-787ef041e551",
"6c99ab58-c1e7-437b-9e76-5861af01fbf6"
],
"Opportunities": [
"6e2b4d94-62e3-406b-a77f-e582c4501ca3",
"10703966-0cdf-49d6-bf05-38586542018d"
]
}
}
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:
"28ae110c-2f4e-416a-b8eb-38b99f52f0eb"