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": "43c1915b-f9da-461b-84f3-37a52b44be13",
"ParentId": "303a4d26-12d0-4aae-b6bc-10bc4d0468b8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4858bf74-5067-42d0-b1c5-2bef97fbbeb7",
"99630c0e-7978-491d-a397-25dbad573a8f"
],
"Companies": [
"4faa13f7-f9a6-4ce5-88a3-82d37154304c",
"f3d72dd1-c2fe-442c-b44b-379395c890ec"
],
"Groups": [
"531b8f59-3f86-4084-a922-e5ff00b087b7",
"0bbf0f6f-580b-4dc7-86bf-694369c210f3"
],
"Opportunities": [
"7c0518c3-44ec-41fd-9e97-87c704de15c6",
"f8552659-f2b1-45c0-ac10-ecb4e7bafaeb"
]
}
}
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:
"4df01a74-d1a3-4b16-bf14-47861284d6fb"