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": "ef9138bc-d500-4a67-820a-5cf603ad0345",
"ParentId": "fdd7c28b-09d4-4d6d-a231-7db385f3aa97",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"dc90bb39-1079-418d-98bc-e75d0bd75dea",
"a8deb05f-fae6-4a7a-b6a9-3c7d1a7291c3"
],
"Companies": [
"09591461-c7c7-4d4c-8bd4-5210e1829456",
"4b726af8-f71f-4ffd-bd4f-ffc78f6ab575"
],
"Groups": [
"33ce98a8-ecff-462d-8934-9640b8b2c653",
"59f090fe-fca0-4d9b-a440-e085910a8e67"
],
"Opportunities": [
"aa47091a-bd2b-43eb-8710-824052ebeb11",
"e78da172-8b22-4cd0-821a-792d3532f78a"
]
}
}
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:
"7d031fdc-ef4d-4e2c-8740-8c19da4939be"