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": "9a192002-f1a5-4022-9a16-dc72dda8bbdf",
"ParentId": "081c6bca-340e-4db1-877a-74a9627b1d6f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bacdbcfa-409c-4222-9854-9bf352f0cba3",
"f5dbd8c7-702c-4980-a0c8-1098b34df81f"
],
"Companies": [
"4bf5c068-f9d2-4ed5-b721-1a7e87449b00",
"ade9fd84-8ef9-4d9f-8f11-7ecc74c273ac"
],
"Groups": [
"da7b0755-d565-4397-8738-9f760cae3301",
"13125fd9-ab57-4b82-8171-1f71fd6f2798"
],
"Opportunities": [
"1c5e138e-6921-46be-a982-cb9d454d3e0a",
"9b85b6cc-3be0-4a2e-bd9d-e60b033529fd"
]
}
}
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:
"f2c98b25-d93b-4518-91a1-4b6dbde59fd5"